Update purchase_requisition_custom.xml

This commit is contained in:
zainab2097 2024-09-29 09:45:10 +03:00 committed by GitHub
parent dc754f3f42
commit c3ec7ad668
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 0 deletions

View File

@ -94,6 +94,18 @@
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field eval="100" name="priority"/>
<field name="arch" type="xml">
<xpath expr="//div[@name='button_box']" position="inside">
<button name="get_attachments" type="object"
class="oe_stat_button"
icon="fa-file-text-o">
<field name="attach_no" widget="statinfo" string="Documents"/>
</button>
</xpath>
<xpath expr="//field[@name='payment_term_id']" position="after">
<field invisible="0" readonly="1" name='res_model'/>
<field invisible="0" readonly="1" name='res_id'/>
</xpath>
<xpath expr="//div[hasclass('oe_button_box')]" position="inside">
<button class="oe_stat_button" name="open_confirmation" type="object" string="Budget Confirmation"
icon="fa-list-ol" groups="purchase.group_purchase_manager"/>