summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/account_move.xml
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-01-09 06:34:24 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-01-09 06:34:24 +0000
commit6f62411bf3965fc27e24d8c997cc2bca771a0b8e (patch)
tree3c0dc3837885ddf0e644558b46b598909b06d504 /indoteknik_custom/views/account_move.xml
parent5b607722945ac1b64eb3e6f2393a441064783342 (diff)
parent7622354cbe00ca428d94469c6bd5ae3de5e73a76 (diff)
Merged in multiple-reklas (pull request #134)
Multiple reklas
Diffstat (limited to 'indoteknik_custom/views/account_move.xml')
-rw-r--r--indoteknik_custom/views/account_move.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
index 7995b83b..ddd266bb 100644
--- a/indoteknik_custom/views/account_move.xml
+++ b/indoteknik_custom/views/account_move.xml
@@ -15,6 +15,13 @@
</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="invoice_date" position="after">
+ <field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'out_invoice')]}"/>
+ </field>
+ <field name="ref" position="after">
+ <field name="sale_id" readonly="1" attrs="{'invisible': [('move_type', '!=', 'entry')]}"/>
</field>
<field name="efaktur_document" position="before">
<field name="no_faktur_pajak" attrs="{'invisible': [('move_type', '!=', 'in_invoice')]}"/>
@@ -23,6 +30,7 @@
<attribute name="widget">pdf_viewer</attribute>
</field>
<field name="invoice_user_id" position="after">
+ <field name="invoice_origin"/>
<field name="date_kirim_tukar_faktur"/>
<field name="shipper_faktur_id"/>
<field name="resi_tukar_faktur"/>
@@ -108,5 +116,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