diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2022-08-23 09:26:35 +0700 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2022-08-23 09:26:35 +0700 |
| commit | 055e68b5c1c20795c569d67d6bf7363c90182470 (patch) | |
| tree | 0a987a0815a2e82109aab68ee5592ae62a417f4b | |
| parent | 9907f33408582ea68e11bd0b1b2bc8608c6c1c1e (diff) | |
Create inherit field in account.move model (Tax Invoice Flag)
| -rwxr-xr-x | indoteknik_custom/models/__init__.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/models/account_move.py | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py index 8da36ce1..f4b2f27d 100755 --- a/indoteknik_custom/models/__init__.py +++ b/indoteknik_custom/models/__init__.py @@ -17,3 +17,4 @@ from . import purchase_order_line from . import sale_order from . import sale_monitoring_detail from . import sale_monitoring +from . import account_move diff --git a/indoteknik_custom/models/account_move.py b/indoteknik_custom/models/account_move.py new file mode 100644 index 00000000..224e22ec --- /dev/null +++ b/indoteknik_custom/models/account_move.py @@ -0,0 +1,7 @@ +from odoo import models, api, fields + + +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") |
