2b3bf4a4f6be086da893ac45d6f196a86a83dd64
**Current behavior:** Trying to print or send a sale order quotation that contains non-saleable lines (notes or sections) will result in a ValueError. --- **Expected behavior:** The quotation should print/download or be prepared for sending. --- **Steps to reproduce:** 1. Create a new quotation with at least one note or section line 2. Click the action gear, select Print -> PDF Quote --- **Cause of the issue:** A method involved in the control flow for building a PDF from a quotation, _get_sol_form_fields_mapping(), attempts to format the sale price of all order lines involved in an order without first ensuring one exists. --- **Fix:** The fix prevents _get_sol_form_fields_mapping() from being invoked if the SOL does not have a linked doc (i.e., if the line has no associated product and thus no price). opw-3664710 closes odoo/odoo#148291 Signed-off-by: Morgane Demesmaeker <edm@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%