Reviewers: ,
Please review this at http://codereview.tryton.org/164007/ Affected files: M sale.py M stock.py Index: sale.py =================================================================== --- a/sale.py +++ b/sale.py @@ -3,7 +3,7 @@ import copy from trytond.model import Model, fields from trytond.transaction import Transaction -from trytond.pyson import Not, Equal, Eval, Bool, Get +from trytond.pyson import Eval, Bool from trytond.pool import Pool Index: stock.py =================================================================== --- a/stock.py +++ b/stock.py @@ -1,6 +1,5 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. -from decimal import Decimal import copy from trytond.model import ModelWorkflow, ModelView, ModelSQL, fields from trytond.pyson import Eval, Bool @@ -112,6 +111,7 @@ pool = Pool() product_obj = pool.get('product.product') tax_rule_obj = pool.get('account.tax.rule') + currency_obj = pool.get('currency.currency') if not shipment.cost: return {} -- [email protected] mailing list
