diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2024-10-25 14:00:02 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2024-10-25 14:00:02 +0700 |
| commit | bf6db57611262036be96e2f7cc93e315b208f174 (patch) | |
| tree | 6bd3c63d692dfbd9b9426a5a230d40b4c6117034 /indoteknik_custom/views | |
| parent | 039bbc5e941b06199b6c44bb8898a4121e312355 (diff) | |
bills pelunasan
Diffstat (limited to 'indoteknik_custom/views')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml index 3e609f15..06c76a82 100755 --- a/indoteknik_custom/views/purchase_order.xml +++ b/indoteknik_custom/views/purchase_order.xml @@ -27,7 +27,11 @@ <button name="delete_line" type="object" string="Delete " states="draft"/> </button> <button name="button_unlock" position="after"> - <button name="create_bill_dp" string="Create Bill DP" type="object" class="oe_highlight" attrs="{'invisible': [('state', 'not in', ('purchase', 'done'))]}"/> + <button name="create_bill_dp" string="Create Bill DP" type="object" class="oe_highlight" attrs="{'invisible': [('state', 'not in', ('purchase', 'done')), ('bills_pelunasan_id', '!=', False)]}"/> + </button> + <button name="button_unlock" position="after"> + <button name="create_bill_pelunasan" string="Create Bill Pelunasan" type="object" class="oe_highlight" attrs="{'invisible': [('state', 'not in', ('purchase', 'done')), ('bills_pelunasan_id', '!=', False)]}"/> + </button> <field name="date_order" position="before"> <field name="sale_order_id" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/> @@ -100,6 +104,7 @@ <field name="approval_edit_line"/> <field name="logbook_bill_id"/> <field name="bills_dp_id" readonly="1"/> + <field name="bills_pelunasan_id" readonly="1"/> </field> <field name="order_line" position="attributes"> |
