diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-09-24 15:07:59 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-09-24 15:07:59 +0000 |
| commit | cd0592f7b7248d25d1b7de728af87117ae0b5876 (patch) | |
| tree | 64b510395d924939bee7b6f5ac0c6d4df4b4c362 /indoteknik_custom/views | |
| parent | 9fa63c564fd46db5c3d412626bcf6e6e3f3032ca (diff) | |
| parent | 2bfd932b541351452dda67039740ac1e72ca2326 (diff) | |
Merged in refund_system (pull request #432)
<hafid> refund
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/account_move_line.xml | 3 | ||||
| -rw-r--r-- | indoteknik_custom/views/refund_sale_order.xml | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move_line.xml b/indoteknik_custom/views/account_move_line.xml index 02b936f1..017a9eda 100644 --- a/indoteknik_custom/views/account_move_line.xml +++ b/indoteknik_custom/views/account_move_line.xml @@ -6,6 +6,9 @@ <field name="model">account.move</field> <field name="inherit_id" ref="account.view_move_form"/> <field name="arch" type="xml"> + <xpath expr="//page[@id='aml_tab']/field[@name='line_ids']" position="attributes"> + <attribute name="attrs">{'readonly': [('refund_id','!=',False)]}</attribute> + </xpath> <xpath expr="//page[@id='aml_tab']/field[@name='line_ids']/tree/field[@name='currency_id']" position="before"> <field name="is_required" invisible="1"/> </xpath> diff --git a/indoteknik_custom/views/refund_sale_order.xml b/indoteknik_custom/views/refund_sale_order.xml index 51f3deab..afa7c1cb 100644 --- a/indoteknik_custom/views/refund_sale_order.xml +++ b/indoteknik_custom/views/refund_sale_order.xml @@ -217,6 +217,7 @@ <field name="finance_note"/> </group> <group> + <field name="biaya_admin"/> <field name="bukti_refund_type" reqiured="1"/> <field name="bukti_transfer_refund_pdf" widget="pdf_viewer" attrs="{'invisible': [('bukti_refund_type', '=', 'image')]}"/> <field name="bukti_transfer_refund_image" widget="image" attrs="{'invisible': [('bukti_refund_type', '=', 'pdf')]}"/> |
