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:
Mohamed Eltayar 2025-11-13 16:35:26 +03:00
parent 50f9025fc9
commit 94c794b431
1 changed files with 0 additions and 3 deletions

View File

@ -98,9 +98,6 @@
<xpath expr="//field[@name='partner_id']" position="after">
<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}"/>
</xpath>