diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-06 08:49:56 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-08-06 08:49:56 +0700 |
| commit | 9f9081714356e87500ab05bc5a294e9ca9e526fe (patch) | |
| tree | 7ccec526e02e4fa78bddf88909cb3531e1b6c938 /indoteknik_custom/views | |
| parent | d115f21b64e72af553d7c8965b9426b2802a0e3c (diff) | |
<miqdad> inv and bil return option
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/tukar_guling.xml | 3 | ||||
| -rw-r--r-- | indoteknik_custom/views/tukar_guling_po.xml | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml index c23995d3..88e5b883 100644 --- a/indoteknik_custom/views/tukar_guling.xml +++ b/indoteknik_custom/views/tukar_guling.xml @@ -84,8 +84,11 @@ <field name="operations" attrs="{'readonly': [('state', 'not in', 'draft')]}"/> <field name="origin" readonly="1"/> + <field name="is_has_invoice" readonly="1"/> + <field name="invoice_id" readonly="1"/> </group> <group> + <field name="val_inv_opt" attrs="{'invisible': [('is_has_invoice', '=', False)]}"/> <field name="ba_num" string="Nomor BA"/> <field name="notes"/> <field name="date_sales" readonly="1"/> diff --git a/indoteknik_custom/views/tukar_guling_po.xml b/indoteknik_custom/views/tukar_guling_po.xml index accf7dbc..d3c41405 100644 --- a/indoteknik_custom/views/tukar_guling_po.xml +++ b/indoteknik_custom/views/tukar_guling_po.xml @@ -90,9 +90,12 @@ 'required': [('return_type', 'in', ['revisi_po', 'tukar_guling'])] }"/> <field name="origin" readonly="1"/> + <field name="is_has_bill" readonly="1"/> + <field name="bill_id" readonly="1"/> <!-- <field name="origin_so" readonly="1"/>--> </group> <group> + <field name="val_bil_opt" attrs="{'invisible': [('is_has_bill', '=', False)]}"/> <field name="ba_num" string="Nomor BA"/> <field name="notes"/> <field name="date_purchase" readonly="1"/> |
