summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xindoteknik_custom/__manifest__.py1
-rw-r--r--indoteknik_custom/models/account_move.py4
-rw-r--r--indoteknik_custom/views/account_move.xml17
3 files changed, 22 insertions, 0 deletions
diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py
index 96988258..ad3f8af8 100755
--- a/indoteknik_custom/__manifest__.py
+++ b/indoteknik_custom/__manifest__.py
@@ -42,6 +42,7 @@
'views/stock_picking_type.xml',
'views/users.xml',
'views/delivery_carrier.xml',
+ 'views/account_move.xml',
'report/report.xml',
'report/report_banner_banner.xml',
'report/report_banner_banner2.xml',
diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py
index 224e22ec..59b9ef2c 100644
--- a/indoteknik_custom/models/account_move.py
+++ b/indoteknik_custom/models/account_move.py
@@ -5,3 +5,7 @@ class AccountMove(models.Model):
_inherit = 'account.move'
date_send_fp = fields.Datetime(string="Tanggal Kirim Faktur Pajak")
last_log_fp = fields.Char(string="Log Terakhir Faktur Pajak")
+ # use for industry business
+ date_kirim_tukar_faktur = fields.Date(string='Tanggal Kirim Tukar Faktur')
+ resi_tukar_faktur = fields.Char(string='Resi Tukar Faktur')
+ date_terima_tukar_faktur = fields.Date(string='Tanggal Terima Tukar Faktur')
diff --git a/indoteknik_custom/views/account_move.xml b/indoteknik_custom/views/account_move.xml
new file mode 100644
index 00000000..01c4e8b3
--- /dev/null
+++ b/indoteknik_custom/views/account_move.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<odoo>
+ <data>
+ <record id="account_move_form_inherit" model="ir.ui.view">
+ <field name="name">Account Move</field>
+ <field name="model">account.move</field>
+ <field name="inherit_id" ref="account.view_move_form"/>
+ <field name="arch" type="xml">
+ <field name="invoice_user_id" position="after">
+ <field name="date_kirim_tukar_faktur"/>
+ <field name="resi_tukar_faktur"/>
+ <field name="date_terima_tukar_faktur"/>
+ </field>
+ </field>
+ </record>
+ </data>
+</odoo> \ No newline at end of file