diff options
Diffstat (limited to 'indoteknik_custom/views/account_move.xml')
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml index 7995b83b..97ac5460 100644 --- a/indoteknik_custom/views/account_move.xml +++ b/indoteknik_custom/views/account_move.xml @@ -15,6 +15,7 @@ </field> <field name="payment_reference" position="after"> <field name="date_completed" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/> + <field name="reklas_id" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/> </field> <field name="efaktur_document" position="before"> <field name="no_faktur_pajak" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/> @@ -108,5 +109,13 @@ <field name="state">code</field> <field name="code">action = records.open_form_multi_update()</field> </record> + + <record id="account_move_multi_create_reklas_ir_actions_server" model="ir.actions.server"> + <field name="name">Create Reklas Penjualan</field> + <field name="model_id" ref="account.model_account_move"/> + <field name="binding_model_id" ref="account.model_account_move"/> + <field name="state">code</field> + <field name="code">action = records.open_form_multi_create_reklas_penjualan()</field> + </record> </data> </odoo>
\ No newline at end of file |
