Add context option to disable payment from amount to pay

issue8068
review287171003
This commit is contained in:
Cédric Krier committed 2019-04-04 19:07:34 +02:00
1 parent ce8de4ef57
commit d7f066bc71
1 file changed
+1
+1
View File
@@ -677,6 +677,7 @@ class Line(
('state', '!=', '')),
],
states=_states,
context={'with_payment': False},
depends=['party', 'account'] + _depends)
origin = fields.Many2One('account.statement.origin', 'Origin',
readonly=True,