fix: correct XPath for branch_id field in purchase order tree view
- Removed invalid XPath targeting non-existent department_id field - Added branch_id field after partner_id which exists in the base tree view - Fixes XML validation error during module upgrade Files modified: - odex25_purchase/purchase_requisition_custom/views/purchase_requisition_custom.xml Error fixed: XPath expr='//field[@name='department_id']' not found in base view
This commit is contained in:
parent
50f9025fc9
commit
94c794b431
|
|
@ -98,9 +98,6 @@
|
||||||
|
|
||||||
<xpath expr="//field[@name='partner_id']" position="after">
|
<xpath expr="//field[@name='partner_id']" position="after">
|
||||||
<field name="recommendation_order" string="Recommend Order"/>
|
<field name="recommendation_order" string="Recommend Order"/>
|
||||||
</xpath>
|
|
||||||
|
|
||||||
<xpath expr="//field[@name='department_id']" position="after">
|
|
||||||
<field name="branch_id" context="{'from_branch_field': True}"/>
|
<field name="branch_id" context="{'from_branch_field': True}"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue