[FIX] website_sale: fixed post_msg, display only when having it (may have False, None, ..)
bzr revid: tde@openerp.com-20140404104918-cyszi1l333173d1t
This commit is contained in:
parent
a06d9099ea
commit
045a12c5c2
|
@ -709,7 +709,8 @@ class Ecommerce(http.Controller):
|
|||
message = '<p>The payment seems to have been canceled.</p>'
|
||||
elif state == 'pending' and tx.acquirer_id.validation == 'manual':
|
||||
message = '<p>Your transaction is waiting confirmation.</p>'
|
||||
message += tx.acquirer_id.post_msg
|
||||
if tx.acquirer_id.post_msg:
|
||||
message += tx.acquirer_id.post_msg
|
||||
else:
|
||||
message = '<p>Your transaction is waiting confirmation.</p>'
|
||||
validation = tx.acquirer_id.validation
|
||||
|
|
Loading…
Reference in New Issue