diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-10-25 14:13:57 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-10-25 14:13:57 +0700 |
| commit | 38a6db24102a2ed5b8f81e307e9fc832d2adb334 (patch) | |
| tree | d8f35e66c9fea3cc24ab0e37e73a7e73230098fd /indoteknik_custom/models | |
| parent | e80ad39476fcd60583e166032fe526b77a73323a (diff) | |
add pic name and pic phone in shipping method
Diffstat (limited to 'indoteknik_custom/models')
| -rwxr-xr-x | indoteknik_custom/models/__init__.py | 1 | ||||
| -rw-r--r-- | indoteknik_custom/models/delivery_carrier.py | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py index 138321c6..37a8d31f 100755 --- a/indoteknik_custom/models/__init__.py +++ b/indoteknik_custom/models/__init__.py @@ -27,3 +27,4 @@ from . import delivery_order from . import product_pricelist from . import users from . import ir_attachment +from . import delivery_carrier diff --git a/indoteknik_custom/models/delivery_carrier.py b/indoteknik_custom/models/delivery_carrier.py new file mode 100644 index 00000000..b3ae44e9 --- /dev/null +++ b/indoteknik_custom/models/delivery_carrier.py @@ -0,0 +1,8 @@ +from odoo import fields, models, api, _ + + +class DeliveryCarrier(models.Model): + _inherit = 'delivery.carrier' + + pic_name = fields.Char(string='PIC Name') + pic_phone = fields.Char(string='PIC Phone') |
