diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-08-09 11:15:44 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-08-09 11:15:44 +0700 |
| commit | 2926fbf40b0aefc5507d35276711227f23f7367e (patch) | |
| tree | 63f854064a7e99f24087136c5f4c7e52c88e4d0b /indoteknik_custom/views | |
| parent | b4b544fa8bfd92f73c49daed520fa34660630379 (diff) | |
Membuat view dan field di model purchase.order Odoo
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/purchase_order.xml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml new file mode 100644 index 00000000..8c2a3ae3 --- /dev/null +++ b/indoteknik_custom/views/purchase_order.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <data> + <record id="purchase_order_form_view_inherit" model="ir.ui.view"> + <field name="name">Purchase Order</field> + <field name="model">purchase.order</field> + <field name="inherit_id" ref="purchase.purchase_order_form"/> + <field name="arch" type="xml"> + <div class="oe_title" position="after"> + <button name="sale_order_sync" + string="Synchronize Sale Order" + type="object" + class="oe_highlight" + attrs="{'invisible': [('sale_order_id', '=', False)]}" + /> + </div> + <field name="date_order" position="before"> + <field name="sale_order_id"/> + </field> + </field> + </record> + </data> +</odoo>
\ No newline at end of file |
