Search 1.9 billion lines of Odoo code on GitHub

sale_product_max_discount

Author: AvanzOSC
License: AGPL-3
Branch: 8.0
Repository: adrianrevilla009/sale-addons
Dependencies: product, product_cost_utilities, and sale
Languages: PO File (21, 7.8%), Python (139, 51.5%), XML (89, 33.0%), and reStructuredText (21, 7.8%)
Other repositories: Daniel-CA/sale-addons, OihanaLarranaga/sale-addons, RL-OtherApps/sale-addons, agaldona/sale-addons, avanzosc/sale-addons, eideravanzosc/sale-addons, mikelarre/sale-addons, oihane/sale-addons, royalline1/sale-addons, and suningwz/sale-addons

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="sale-product-maximum-discount"></a> <h2>Sale Product Maximum Discount</h2> <ul class="simple"> <li>New minimun margin field in products.</li> <li>New computed field in products named 'maximum discount', its formula is the below one: ((List Price - Standard Price) - (Minimun margin * List Price)) / List Price</li> <li>New state in sales workflow. When any of sale lines have exceeded the maximun discount defined in the products form, when confirming the order, it will pass to validation state, and only the sales manager will be able to confirm the order in that state. However, when there is no sale line which exceedes the maximun discount defined in the product form, the order will pass to confirmed state directly when confirming it.</li> <li>You can cancel an order in &quot;validation&quot; state.</li> <li>New filter in orders to filter that ones in &quot;validation&quot; state.</li> </ul> <a name="credits"></a> <h3 class="with-subtitle">Credits</h3> <h3 class="section-subtitle" id="contributors"><span class="section-subtitle">Contributors</span></h3> <ul class="simple"> <li>Ainara Galdona &lt;<a class="reference external" href="mailto:ainaragaldona&#64;avanzosc.es">ainaragaldona&#64;avanzosc.es</a>&gt;</li> <li>Ana Juaristi &lt;<a class="reference external" href="mailto:anajuaristi&#64;avanzosc.es">anajuaristi&#64;avanzosc.es</a>&gt;</li> </ul>