changeset 12:cd8113caa846

Replace sum_domain by amount_domain on super method call issue7609 review45701002
author Sergi Almacellas Abellana <sergi@koolpi.com>
date Mon, 27 Aug 2018 10:23:40 +0200
parents d10523df4979
children cbd67333516b
files account.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/account.py	Mon Aug 06 19:05:43 2018 +0200
+++ b/account.py	Mon Aug 27 10:23:40 2018 +0200
@@ -110,7 +110,7 @@
     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),

Repository Layout

/ Tryton top level repositories
modules Modules
public Public repositories
tpf Tryton Foundation repositories
sandbox Sandbox