[FIX] stock_landed_costs: account move view
The landed cost model is limited to the warehouse manager, so displaying the view changes on account move did not make sense for all users plus it broke the creation of invoices for account users. closes odoo/odoo#36914 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<field name="name">account.view.move.form.inherited</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_move_form"/>
|
||||
<field name="groups_id" eval="[(4,ref('stock.group_stock_manager'))]"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<field name="landed_costs_ids" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user