Browse Source

[FIX] b_base,b_worker_status: is_worker field not found

pull/133/head
Rémy Taymans 5 years ago
parent
commit
04cb6ce644
  1. 1
      beesdoo_base/views/partner.xml
  2. 1
      beesdoo_worker_status/__manifest__.py
  3. 15
      beesdoo_worker_status/views/res_partner.xml

1
beesdoo_base/views/partner.xml

@ -20,7 +20,6 @@
<field name="inherit_id" ref="point_of_sale.view_partner_property_form" />
<field name="arch" type="xml">
<field name="type" position="before">
<field name="is_worker"/>
<field name="cooperator_type"/>
</field>
<field name="website" position="after">

1
beesdoo_worker_status/__manifest__.py

@ -20,6 +20,7 @@
],
'data': [
"views/res_partner.xml",
],
'demo': [
]

15
beesdoo_worker_status/views/res_partner.xml

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.ui.view" id="beesdoo_partner_form_view">
<field name="name">beesdoo.partner.form.view</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="beesdoo_base.beesdoo_partner_form_view" />
<field name="arch" type="xml">
<field name="cooperator_type" position="before">
<field name="is_worker"/>
</field>
</field>
</record>
</odoo>
Loading…
Cancel
Save