mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
Fixes #42 A stupid coma can lead to very bad surprises
This commit is contained in:
@@ -38,7 +38,7 @@ class sale_order(orm.Model):
|
||||
partner = self.pool['res.partner'].browse(
|
||||
cr, uid, part, context=context)
|
||||
res['value']['payment_mode_id'] = \
|
||||
partner.customer_payment_mode.id or False,
|
||||
partner.customer_payment_mode.id or False
|
||||
else:
|
||||
res['value']['payment_mode_id'] = False
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user