Browse Source

[IMP] Menu order and v10 deprecations

pull/654/head
David Vidal 8 years ago
committed by Pedro M. Baeza
parent
commit
b4856f36d8
  1. 4
      partner_multi_relation/data/demo.xml
  2. 9
      partner_multi_relation/views/menu.xml
  3. 6
      partner_multi_relation/views/res_partner.xml
  4. 6
      partner_multi_relation/views/res_partner_relation_all.xml
  5. 9
      partner_multi_relation/views/res_partner_relation_type.xml

4
partner_multi_relation/data/demo.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<odoo>
<data>
<!-- Added partner categories and partners to this file, because it
turned out to be a bad idea to rely on demo data in base module,
@ -115,4 +115,4 @@
<field name="type_id" ref="rel_type_competitor" />
</record>
</data>
</openerp>
</odoo>

9
partner_multi_relation/views/menu.xml

@ -1,9 +1,9 @@
<openerp>
<data>
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<menuitem
id="menu_res_partner_relation_sales"
sequence="2"
sequence="3"
parent="sales_team.menu_sales"
action="action_res_partner_relation_all"
/>
@ -21,5 +21,4 @@
action="action_res_partner_relation_type"
/>
</data>
</openerp>
</odoo>

6
partner_multi_relation/views/res_partner.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<odoo>
<record id="view_res_partner_filter" model="ir.ui.view">
<field name="name">partner_multi_relation.view_partner_filter</field>
@ -55,5 +54,4 @@
domain="[('this_partner_id', 'in', active_ids)]"
key2="client_action_multi" />
</data>
</openerp>
</odoo>

6
partner_multi_relation/views/res_partner_relation_all.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<odoo>
<record id="tree_res_partner_relation_all" model="ir.ui.view">
<field name="model">res.partner.relation.all</field>
@ -92,5 +91,4 @@
</field>
</record>
</data>
</openerp>
</odoo>

9
partner_multi_relation/views/res_partner_relation_type.xml

@ -1,5 +1,6 @@
<openerp>
<data>
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="tree_res_partner_relation_type" model="ir.ui.view">
<field name="model">res.partner.relation.type</field>
<field type="xml" name="arch">
@ -47,5 +48,5 @@
</form>
</field>
</record>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save