Merge pull request #5473 from expsa/feature/fix-warehouse-group-xpath-20251120-231824
Fix xpath selector for Warehouse Management group inheritance
This commit is contained in:
commit
0127457055
|
|
@ -54,7 +54,7 @@
|
|||
<xpath expr="//field[@name='use_analytic']" position="attributes">
|
||||
<attribute name="attrs">{'readonly':[('state','!=','draft')]}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//group[@string='Other Details']" position="after">
|
||||
<xpath expr="//group[@name='other_details_group']" position="after">
|
||||
<group string="Warehouse Management" name="warehouse_management_group">
|
||||
<field name="view_location_id" invisible="1"/>
|
||||
<field name="edit_locations" invisible="1"/>
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@
|
|||
attrs="{'readonly':['|',('edit_partner_id' , '=' , False),('state' , '!=' , 'waiting')]}"
|
||||
help="Suggested vendor for this purchase request"/>
|
||||
</group>
|
||||
<group string="Other Details">
|
||||
<group string="Other Details" name="other_details_group">
|
||||
<field name="use_analytic"/>
|
||||
<field name="account_analytic_id"
|
||||
options="{'no_create' : True , 'no_edit' : True ,'no_open' : True}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue