diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2025-06-11 03:33:29 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2025-06-11 03:33:29 +0000 |
| commit | b8fbe54d6a6eb6d0a56afb2a45235e1bd6adca90 (patch) | |
| tree | 2adfd5dbe460bdd6a2d1265617a0cfb5a8108e49 /indoteknik_custom/views/account_move.xml | |
| parent | 05dafe1ab837cac8992d1dc6c012a26bce88c15c (diff) | |
| parent | d89f6b21f0174d52b1efb7d54ec3443bbbe3fbcb (diff) | |
Merged in cab-po-finance (pull request #326)
Cab po finance
Diffstat (limited to 'indoteknik_custom/views/account_move.xml')
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 46737a40..0c2f9a68 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -6,6 +6,12 @@ <field name="model">account.move</field> <field name="inherit_id" ref="account.view_move_form"/> <field name="arch" type="xml"> + <xpath expr="//div[@name='journal_div']" position="after"> + <field name="reklas_misc_id" + string="Journal Entries Reklas" + attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}" + readonly="1"/> + </xpath> <button name="action_register_payment" position="after"> <button name="indoteknik_custom.action_view_invoice_reklas" string="Reklas" type="action" class="btn-primary" attrs="{'invisible': [('state', '!=', 'posted')]}"/> @@ -31,6 +37,8 @@ </field> <field name="ref" position="after"> <field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/> + <!-- <field name="purchase_order_id" context="{'form_view_ref': 'purchase.purchase_order_form'}" options="{'no_create': True}"/> --> + <field name="bill_id" readonly="1" attrs="{'invisible': ['|', ('move_type', '!=', 'entry'), ('purchase_order_id', '!=', False)]}"/> </field> <field name="partner_shipping_id" position="before"> <field name="real_invoice_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/> |
