[FIX] sale_project: widget call from missing dependency
Steps to reproduce: - install only sale_project - go to Project > Configuration > Projects -> Warning in the JS console Cause: sale_order_many2one widget is added by sale_expense which is not a dependency of sale_project, so we should not use the widget in sale_project. OPW-2717655 closes odoo/odoo#83593 X-original-commit: d5f62067685503b6698d6b876a842512834027bf Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by: yosa-odoo <yosa@odoo.com>
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<field name="inherit_id" ref="project.view_project"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='partner_id']" position="after">
|
||||
<field name="sale_line_id" optional="hide" widget="sale_order_many2one" readonly="1"/>
|
||||
<field name="sale_line_id" optional="hide" readonly="1"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user