diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-06 10:44:49 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-10-06 10:44:49 +0700 |
| commit | 12b015dc599f3a3876b10171bcec95e8aba7683c (patch) | |
| tree | c4f6b9b3510dca21a72d9454f7fcd4335347d5f9 /indoteknik_custom/views | |
| parent | 7f9971a4c838b84fb1223845ccdb8256eb08b72d (diff) | |
| parent | c6c1e26d35327b61a88b247ef94cfff9257b492a (diff) | |
Merge branch 'production' into change/feature/pricelist
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 6 | ||||
| -rwxr-xr-x | indoteknik_custom/views/sale_order.xml | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 11558bf4..c45dab25 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -13,6 +13,12 @@ <field name="invoice_date" position="after"> <field name="payment_schedule" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/> </field> + <field name="efaktur_document" position="before"> + <field name="no_faktur_pajak" readonly="1"/> + </field> + <field name="efaktur_document" position="attributes"> + <attribute name="widget">pdf_viewer</attribute> + </field> <field name="invoice_user_id" position="after"> <field name="date_kirim_tukar_faktur"/> <field name="shipper_faktur_id"/> diff --git a/indoteknik_custom/views/sale_order.xml b/indoteknik_custom/views/sale_order.xml index 0d972ec1..e0e9ac54 100755 --- a/indoteknik_custom/views/sale_order.xml +++ b/indoteknik_custom/views/sale_order.xml @@ -48,7 +48,7 @@ <field name="customer_type" attrs="{'required': ['|', ('create_date', '>', '2023-06-28'), ('create_date', '=', False)]}"/> <field name="npwp" placeholder='99.999.999.9-999.999' attrs="{'required': ['|', ('create_date', '>', '2023-06-28'), ('create_date', '=', False)]}"/> <field name="sppkp" attrs="{'invisible': [('customer_type','!=','pkp')], 'required': [('customer_type', '=', 'pkp')]}"/> - <field name="email" attrs="{'required': [('create_date', '>', '2023-09-28')]}"/> + <field name="email" required="1"/> <field name="due_id" readonly="1"/> <field name="source_id" domain="[('id', 'in', [32, 59, 60, 61])]" attrs="{'required':[('create_date', '>', '2023-09-10')]}"/> </field> |
