Add context option to disable payment from amount to pay
issue8068 review287171003
This commit is contained in:
1 parent
ce8de4ef57
commit
d7f066bc71
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user