diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-10-04 13:42:30 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-10-04 13:42:30 +0700 |
| commit | c4f30a0164ada85a9a4a25cdd03ee7c4e42774a0 (patch) | |
| tree | 30d246e2cdf3cb1925d88a039926fcd06f2ee82c /indoteknik_custom/views/purchase_order.xml | |
| parent | d1bc570eae2818bc4b535840f2eb3061b99ca98b (diff) | |
| parent | 1d6351cbab4df3a5f5ceff92c53560437d7b40a4 (diff) | |
Merge commit '1d6351cbab4df3a5f5ceff92c53560437d7b40a4'
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index f209d18a..a8b71d5a 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -14,8 +14,45 @@ attrs="{'invisible': ['|', ('sale_order_id', '=', False), ('state', 'not in', ['draft'])]}" /> </div> + <button id="draft_confirm" position="after"> + <button name="po_approve" + string="Ask Approval" + type="object" + /> + </button> <field name="date_order" position="before"> <field name="sale_order_id" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/> + <field name="approval_status"/> + </field> + <field name="amount_total" position="after"> + <field name="total_margin"/> + <field name="total_so_margin"/> + <field name="total_percent_margin"/> + <field name="total_so_percent_margin"/> + </field> + </field> + </record> + </data> + <data> + <record id="rfq_order_tree_view_inherit" model="ir.ui.view"> + <field name="name">Purchase</field> + <field name="model">purchase.order</field> + <field name="inherit_id" ref="purchase.purchase_order_kpis_tree"/> + <field name="arch" type="xml"> + <field name="create_date" position="after"> + <field name="approval_status" /> + </field> + </field> + </record> + </data> + <data> + <record id="purchase_order_tree_view_inherit" model="ir.ui.view"> + <field name="name">Purchase</field> + <field name="model">purchase.order</field> + <field name="inherit_id" ref="purchase.purchase_order_view_tree"/> + <field name="arch" type="xml"> + <field name="invoice_status" position="after"> + <field name="procurement_status" /> </field> </field> </record> |
