diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2024-05-29 15:20:48 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2024-05-29 15:20:48 +0700 |
| commit | 4414569b59fc91b7f4286748852b77e986697326 (patch) | |
| tree | 1ab0b99bdc0d1e53f434f43d9999f3256d2f2421 /fixco_custom/models/sale.py | |
| parent | f6bb7e8c0236c4a3b3c89101d13ca593d7170283 (diff) | |
add field shipping method
Diffstat (limited to 'fixco_custom/models/sale.py')
| -rw-r--r-- | fixco_custom/models/sale.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fixco_custom/models/sale.py b/fixco_custom/models/sale.py new file mode 100644 index 0000000..6c49ac8 --- /dev/null +++ b/fixco_custom/models/sale.py @@ -0,0 +1,7 @@ +from odoo import models, fields, api + + +class SaleOrder(models.Model): + _inherit = "sale.order" + + carrier_id = fields.Many2one('delivery.carrier', string='Shipping Method') |
