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:
Mohamed Eltayar 2025-11-20 23:19:05 +03:00 committed by GitHub
commit 0127457055
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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"/>

View File

@ -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}"