diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-20 11:11:33 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-20 11:11:33 +0700 |
| commit | 03ccb219d927400af96c4b39add257e78864b7f2 (patch) | |
| tree | a38a8acc9d71314dad6b8566797310f341700fcc | |
| parent | 6481b0748f6872a37961252a213e55cec8227ed5 (diff) | |
duplicate payment_term_id to header po
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index e1b361dd..7b604a66 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -27,7 +27,7 @@ attrs="{'invisible': [('approval_status', '=', 'approved')]}" /> <button name="indoteknik_custom.action_view_uangmuka_pembelian" string="UangMuka" - type="action" attrs="{'invisible': [('approval_status', '!=', 'approved')]}"/> + type="action" attrs="{'invisible': ['|', ('approval_status', '!=', 'approved'), ('state', '=', 'done')]}"/> </button> <field name="date_order" position="before"> <field name="sale_order_id" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/> @@ -37,6 +37,7 @@ <field name="currency_id" position="after"> <field name="summary_qty_po"/> <field name="count_line_product"/> + <field name="payment_term_id"/> </field> <field name="amount_total" position="after"> <field name="total_margin"/> |
