mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[FIX] Fix compability with account_constraints
This commit is contained in:
@@ -66,6 +66,7 @@ class account_bank_statement(orm.Model):
|
|||||||
st_line_number, context=None):
|
st_line_number, context=None):
|
||||||
if context is None:
|
if context is None:
|
||||||
context = {}
|
context = {}
|
||||||
|
context['from_parent_object'] = True #For compability with module account_constraints
|
||||||
account_move_obj = self.pool.get('account.move')
|
account_move_obj = self.pool.get('account.move')
|
||||||
account_bank_statement_line_obj = self.pool.get('account.bank.statement.line')
|
account_bank_statement_line_obj = self.pool.get('account.bank.statement.line')
|
||||||
st_line = account_bank_statement_line_obj.browse(cr, uid, st_line_id,
|
st_line = account_bank_statement_line_obj.browse(cr, uid, st_line_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user