summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js
diff options
context:
space:
mode:
authorVishnu Thuletiya <vtu@odoo.com>2020-03-31 13:24:50 +0000
committerBarad Mahendra <mba@openerp.com>2020-05-15 08:46:04 +0000
commitd24758db56ea49e13248ccf9284ebda544461390 (patch)
tree3b207c9465a6f1ebe6a085653e96cc2e0d88878d /addons/web/static/src/js
parent4ca452aacfbb4e29f900566780e141dd71206aff (diff)
[IMP] sale: Change the label in SO mail while transaction is pending
Currently, when the payment is done by the wire transfer or by sepa then the transaction is going to be in the 'pending' state and due to that confirmation mail will display the button as 'Sign and Pay Quotation' but is should be the 'view quotation'. So in this commit we check for the last transaction and if transaction status is 'pending' then display the 'View Quatation' instead of 'Sign and Pay Quatation'. We have not modified method has_to_be_paid because it's used to display the button on portal so still it will display the 'Sign and Pay' on portal. closes odoo/odoo#49389 Taskid: 2210990 Closes: #49389 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/web/static/src/js')
0 files changed, 0 insertions, 0 deletions