diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-31 11:23:49 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-07-31 11:23:49 +0700 |
| commit | 2c4c5ef80fe7093c2d017802dd0713d460a5b1f7 (patch) | |
| tree | 31ff3456491f0321b50215daea84f5a1315cf450 /indoteknik_custom/models | |
| parent | 771b68d8ece431c00e3d4b2c81be317b19ea3cba (diff) | |
fix source
Diffstat (limited to 'indoteknik_custom/models')
| -rwxr-xr-x | indoteknik_custom/models/sale_order.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/sale_order.py b/indoteknik_custom/models/sale_order.py index 12043996..3f25b100 100755 --- a/indoteknik_custom/models/sale_order.py +++ b/indoteknik_custom/models/sale_order.py @@ -89,6 +89,7 @@ class SaleOrder(models.Model): purchase_total = fields.Monetary(string='Purchase Total', compute='_compute_purchase_total') voucher_id = fields.Many2one(comodel_name='voucher', string='Voucher') amount_voucher_disc = fields.Float(string='Voucher Discount') + source_id = fields.Many2one('utm.source', 'Source') def _compute_purchase_total(self): for order in self: |
