diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-12 15:00:12 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-09-12 15:00:12 +0700 |
| commit | bb49da69c2af4d32c6bbc99cbc74e86e1f695424 (patch) | |
| tree | def59116d071d38a712b925480ee1ab94d7e21c5 /fixco_custom/views/account_move.xml | |
| parent | f1b119641b64b77427caa5199d9ce04e5c965c52 (diff) | |
schema sisa uang muka
Diffstat (limited to 'fixco_custom/views/account_move.xml')
| -rw-r--r-- | fixco_custom/views/account_move.xml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/fixco_custom/views/account_move.xml b/fixco_custom/views/account_move.xml index 0e0b381..88d3b46 100644 --- a/fixco_custom/views/account_move.xml +++ b/fixco_custom/views/account_move.xml @@ -9,7 +9,7 @@ <button name="action_post" position="after"> <button name="fixco_custom.action_view_invoice_reklas" string="Reklas" - type="action" class="btn-primary" attrs="{'invisible': ['|', ('state', '!=', 'posted'), ('move_type', 'not in', ['out_invoice', 'in_invoice'])]}"/> + type="action" class="btn-primary" attrs="{'invisible': [('state', '!=', 'posted')]}"/> </button> <button name="open_reconcile_view" position="after"> @@ -40,7 +40,13 @@ <field name="partner_id" position="after"> <field name="address" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/> </field> - + + <field name="reversed_entry_id" position="before"> + <field name="uangmuka" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/> + <field name="reklas" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/> + <field name="reklas_used" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/> + <field name="reklas_used_by" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/> + </field> <field name="invoice_date" position="after"> <field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('out_invoice','entry'))]}"/> <field name="purchase_order_id" readonly="1" attrs="{'invisible': [('move_type', 'not in', ('in_invoice','entry'))]}"/> @@ -95,5 +101,19 @@ </field> </field> </record> + + <record id="account_move_tree_inherit" model="ir.ui.view"> + <field name="name">Account Move</field> + <field name="model">account.move</field> + <field name="inherit_id" ref="account.view_invoice_tree"/> + <field name="arch" type="xml"> + <field name="state" position="after"> + <field name="uangmuka" optional="hide"/> + <field name="reklas" optional="hide"/> + <field name="reklas_used" optional="hide"/> + <field name="reklas_used_by" optional="hide"/> + </field> + </field> + </record> </data> </odoo>
\ No newline at end of file |
