diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-26 10:09:31 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-26 10:09:31 +0700 |
| commit | 832fa66dd923d06b054efc33bce05ceb3ad52a74 (patch) | |
| tree | eacdf82cdef9830f7cf75cc5b97407804603a18c | |
| parent | ccd1d7bca71aadc54f9327d39e59180ee4c3a6c2 (diff) | |
Update __manifest__.py, account_move.py, and account_move.xml
| -rwxr-xr-x | indoteknik_custom/__manifest__.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/models/account_move.py | 4 | ||||
| -rw-r--r-- | indoteknik_custom/views/account_move.xml | 17 |
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 |
