summaryrefslogtreecommitdiff
path: root/odoo/tools/sql.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2019-11-26 07:57:01 +0000
committerXavier Morel <xmo@odoo.com>2019-12-03 13:59:25 +0000
commitee15b8461d5b98d8711012d0d58fe8dbee2c733e (patch)
treecb530e41254dd92468ad8eb3cbd6d5346cac8777 /odoo/tools/sql.py
parent4e4813aee68ad0a867951822f9b5f7eaf3ce7e60 (diff)
[REM] payment: dynamic domains
Make the domain stricter as well: * no reason to have / match a token if the payment method is not electronic * don't lose the capture mode * don't remove the company filter though it's probably not useful (as the journal and payment should already be in the same company so the check on the token's acquirer's journal should be enough) The domain used to select the default payment should not matter too much. Task 2147923 closes odoo/odoo#40959 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'odoo/tools/sql.py')
0 files changed, 0 insertions, 0 deletions