diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-07-15 11:01:42 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2019-07-17 13:17:59 +0000 |
| commit | 50043cc3ad50b508582d2117d2b37dbf66e948e5 (patch) | |
| tree | 02aa98beeceae789898fd5b18a60780bc2bfad93 /addons/lunch/views | |
| parent | 556f8389b1505ef4c5e937922b5f319b927b6cb6 (diff) | |
[IMP] lunch: Add multi-company ir.rule
- Add a related on the lunch.supplier to the company id of the linked res.partner
- Add related on the product: to the company id of the linked lunch.supplier
- add multi company Record rules
closes odoo/odoo#34859
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/lunch/views')
| -rw-r--r-- | addons/lunch/views/lunch_supplier_views.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/lunch/views/lunch_supplier_views.xml b/addons/lunch/views/lunch_supplier_views.xml index af5620035a8..84370caa55e 100644 --- a/addons/lunch/views/lunch_supplier_views.xml +++ b/addons/lunch/views/lunch_supplier_views.xml @@ -40,6 +40,7 @@ <field name="active" invisible="1"/> <field name="email" attrs="{'required': [('send_by', '=', 'mail')]}"/> <field name="phone" attrs="{'required': [('send_by', '=', 'phone')]}"/> + <field name="company_id" groups="base.group_multi_company"/> <field name="responsible_id" attrs="{'required': [('send_by', '=', 'mail')]}" groups="base.group_no_one"/> </group> </group> |
