From db74a28a35af2b14725436c6fa9ca2b3652711f9 Mon Sep 17 00:00:00 2001 From: Marcel Savegnago Date: Thu, 24 Jun 2021 20:26:33 -0300 Subject: [PATCH] [IMP] add pricelist_id and currency_id on contract values --- product_contract/models/sale_order.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product_contract/models/sale_order.py b/product_contract/models/sale_order.py index d87e8aab4..caf860c5a 100644 --- a/product_contract/models/sale_order.py +++ b/product_contract/models/sale_order.py @@ -66,6 +66,8 @@ class SaleOrder(models.Model): 'payment_term_id': self.payment_term_id.id, 'fiscal_position_id': self.fiscal_position_id.id, 'invoice_partner_id': self.partner_invoice_id.id, + 'pricelist_id': self.pricelist_id.id, + 'currency_id': self.currency_id.id, } @api.multi