Update purchase_requisition_custom.xml

This commit is contained in:
zainab2097 2024-10-13 14:25:28 +03:00 committed by GitHub
parent a4ebe7ca9d
commit 7a2f7cf7e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

View File

@ -300,6 +300,17 @@
<xpath expr="//form" position="attributes"> <xpath expr="//form" position="attributes">
<attribute name="delete">0</attribute> <attribute name="delete">0</attribute>
</xpath> </xpath>
<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='name']" position="after">
<field invisible="1" readonly="1" name='res_model'/>
<field invisible="1" readonly="1" name='res_id'/>
</xpath>
<!-- header modificaton --> <!-- header modificaton -->
<xpath expr="/form/header/button[@name='action_open']" position="after"> <xpath expr="/form/header/button[@name='action_open']" position="after">
<button type="object" groups="purchase_requisition_custom.group_accept_purchase_requisition" <button type="object" groups="purchase_requisition_custom.group_accept_purchase_requisition"