d24758db56ea49e13248ccf9284ebda544461390
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>
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%