mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] copy the context before update it
This commit is contained in:
@@ -36,12 +36,13 @@ class payment_order_create(orm.TransientModel):
|
||||
"""
|
||||
if context is None:
|
||||
context = {}
|
||||
context.update({'is_multi_currency': True})
|
||||
ctx = context.copy()
|
||||
ctx.update({'is_multi_currency': True})
|
||||
return super(payment_order_create, self).create_payment(
|
||||
cr,
|
||||
uid,
|
||||
ids,
|
||||
context=context)
|
||||
context=ctx)
|
||||
|
||||
|
||||
class payment_line(orm.Model):
|
||||
|
||||
Reference in New Issue
Block a user