Browse Source

Remove explicit dependencies on web

pull/103/head
Sandy Carter 10 years ago
parent
commit
8ecfd7ea8b
  1. 2
      partner_relations/__openerp__.py
  2. 6
      partner_relations/view/res_partner.xml

2
partner_relations/__openerp__.py

@ -69,8 +69,6 @@ date.""",
"category": "Customer Relationship Management",
"depends": [
'base',
'web_m2x_options',
'web_tree_many2one_clickable',
],
"demo": [
"data/demo.xml",

6
partner_relations/view/res_partner.xml

@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<record id="view_res_partner_filter" model="ir.ui.view">
<field name="name">partner_relations.view_partner_filter</field>
<field name="inherit_id" ref="base.view_res_partner_filter" />
@ -15,6 +17,7 @@
</data>
</field>
</record>
<record id="view_partner_form" model="ir.ui.view">
<field name="name">partner_relations.view_partner_form</field>
<field name="inherit_id" ref="base.view_partner_form" />
@ -60,7 +63,6 @@
'readonly': [('type_selection_id','=',False)],
}"
options="{'create': false, 'create_edit': false}"
widget="many2one_clickable"
/>
<field name="date_start" />
<field name="date_end" />
@ -101,7 +103,6 @@
'readonly': [('type_selection_id','=',False)],
}"
options="{'create': false, 'create_edit': false}"
widget="many2one_clickable"
/>
<field name="date_start" />
<field name="date_end" />
@ -128,5 +129,6 @@
res_model="res.partner.relation.all"
domain="[('this_partner_id', 'in', active_ids)]"
key2="client_action_multi" />
</data>
</openerp>
Loading…
Cancel
Save