Compare commits

...

2 Commits

Author SHA1 Message Date
Alexis de Lattre
e191202610 Add module partner_tree_default 2018-11-29 17:22:00 -02:00
David Beal
5ba4eadc15 V11 branch 2018-10-16 11:31:50 +02:00
4 changed files with 59 additions and 0 deletions

8
README.rst Normal file
View File

@@ -0,0 +1,8 @@
Odoo Usability : 11.0 Branch
============================
Branch unmaintained by Akretion.
Please check these forks:
- https://github.com/camptocamp/odoo-usability

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
# © 2016 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Partner Tree Default',
'version': '10.0.1.0.0',
'category': 'Partner',
'license': 'AGPL-3',
'summary': 'Tree view by default instead of kanban for partners',
'description': """
Partner Tree Default
====================
With this module, when you select a *Customer* or *Supplier* menu entry, you will see the list view by default instead of the kanban view.
This module has been written by Alexis de Lattre <alexis.delattre@akretion.com> from Akretion.
""",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': ['base'],
'data': ['partner_view.xml'],
'installable': True,
}

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
© 2016 Akretion (http://www.akretion.com/)
@author: Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="base.action_partner_form" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field>
</record>
<record id="base.action_partner_customer_form" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field>
</record>
<record id="base.action_partner_supplier_form" model="ir.actions.act_window">
<field name="view_mode">tree,form,kanban</field>
</record>
<record id="base.action_partner_form_view1" model="ir.actions.act_window.view">
<field eval="3" name="sequence"/>
</record>
</odoo>