Merge pull request #5129 from expsa/khazraji_account

v4-po
This commit is contained in:
mohammed-alkhazrji 2025-10-30 03:06:33 -08:00 committed by GitHub
commit 91b61a3e86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 31 additions and 30 deletions

View File

@ -336,20 +336,21 @@
<!-- Inherit the Purchase Order form -->
<record id="purchase_order_custom_form_view_Inherit" model="ir.ui.view">
<record id="purchase_order_custom_form_view" model="ir.ui.view">
<field name="name">purchase.order.form.custom</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase_requisition_custom.purchase_order_custom_form_view"/>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="priority" eval="100"/>
<field name="arch" type="xml">
<xpath expr="/form/header" position="inside">
<xpath expr="//form/header" position="inside">
<field name="requisition_id" invisible="1"/>
<field name="annual_request_id" invisible="1"/>
<field name="is_signed" invisible="1"/>
</xpath>
<xpath expr="/form/header/button[@name='action_sign']" position="replace">
<xpath expr="/form/header/button[@name='print_quotation']" position="after">
<button type="object"
name="action_sign"
class="oe_highlight"
@ -366,9 +367,9 @@
</xpath>
</field>
</record>
</odoo>