Replace sum_domain by amount_domain on super method call

issue7609
review45701002
This commit is contained in:
Sergi Almacellas Abellana
2018-08-27 10:23:40 +02:00
parent 8a6befc472
commit c35f343f7d
+1 -1
View File
@@ -110,7 +110,7 @@ class Tax(metaclass=PoolMeta):
def _amount_domain(cls):
context = Transaction().context
periods = context.get('periods', [])
domain = super(Tax, cls)._sum_domain()
domain = super(Tax, cls)._amount_domain()
return ['OR',
[domain,
('on_cash_basis', '=', False),