commit
91b61a3e86
|
|
@ -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>
|
||||
Loading…
Reference in New Issue