Search 1.9 billion lines of Odoo code on GitHub

pricelist_by_category_qty

Author: Julius Network Solutions, Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: aaltinisik/sale-workflow
Dependencies: sale
Languages: HTML (348, 65.7%), PO File (19, 3.6%), Python (97, 18.3%), XML (19, 3.6%), and reStructuredText (47, 8.9%)
Other repositories: AizenL/julius-openobject-addons, Change2improve/sale-workflow, Comunitea/sale-workflow, Darknroses/sale-workflow, Digital5-Odoo/sale-workflow, ERPLibre/sale-workflow, GSLabIt/sale-workflow, Ingeos/sale-workflow, JonathanStein/julius-openobject-addons, JuaniFreedoo/sale-workflow, LevelPrime/sale-workflow, MindAndGo/julius-openobject-addons, MindAndGo/sale-workflow, NeatNerdPrime/sale-workflow, OCA/sale-workflow, OdooBulgaria/julius-openobject-addons, OmniaSolutions/julius-openobject-addons, OpusVL/julius-openobject-addons, PESOL/sale-workflow, QN-Cove/julius-openobject-addons, SimoRubi/sale-workflow, Studio73/sale-workflow, Tecnativa/sale-workflow, TheCloneMaster/sale-workflow, VanMoof/sale-workflow, VbossEkat/sms-julius-openobject-addons, acsone/sale-workflow, akretion/sale-workflow, anodino-dev/sale-workflow, arasty/julius-openobject-addons, aurestic/sale-workflow, boutitinizar/julius-openobject-addons, brain-tec/sale-workflow, bringsvor/julius-openobject-addons, byod0/julius-openobject-addons, cameroun/julius-openobject-addons, camptocamp/sale-workflow, cdelean/julius-openobject-addons, coopiteasy/sale-workflow, cvinh/julius-openobject-addons, damdam-s/sale-workflow, diggy128/julius-openobject-addons, diggy128/sale-workflow, eLBati/sale-workflow, elego/sale-workflow, fdesmottes/julius-openobject-addons, hurrinico/sale-workflow, iceship/julius-openobject-addons, igallart/sale-workflow, ilexius/julius-openobject-addons, jado95/sale-workflow, jellyhappy/julius-openobject-addons, jromeroarg/sale-workflow, julius-network-solutions/julius-openobject-addons, kmee/sale-workflow, kossovo/julius-openobject-addons, lammh/julius-openobject-addons, leemannd/sale-workflow, legalsylvain/sale-workflow, maljac/julius-openobject-addons, marcelomora/sale-workflow, max3903/julius-openobject-addons, mayjo79/julius-openobject-addons, mayjo79/sale-workflow, mbenyoub/server, mgielissen/julius-openobject-addons, mmotahar/julius-openobject-addons, mohamedhabibchallouf/julius-openobject-addons, muguli22/julius-openobject-addons, n1b0r/julius-openobject-addons, nuxly/julius-openobject-addons, odoobgorg/julius-openobject-addons, qman1989/julius-openobject-addons, rawi47/julius-openobject-addons, samirGuesmi/julius-openobject-addons, scigghia/sale-workflow, sergiocorato/sale-workflow, slevenhagen/julius-openobject-addons, smangukiya/julius-openobject-addons, sunflowerit/sale-workflow, sygel-technology/sale-workflow, tafaRU/sale-workflow, tirma-sa/sale-workflow, ursais/sale-workflow, vialaurea/OCA-sale-workflow, and xpansa/julius-openobject-addons

<h1 class="title">Discount by quantities of product category</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Alpha" src="https://img.shields.io/badge/maturity-Alpha-red.png" /></a> <a class="reference external" 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.png" /></a> <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/12.0/pricelist_by_category_qty"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-pricelist_by_category_qty"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/167/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module will add a button inside the sale order and will compute the discount not by line but by quantities of the same product category, in the same sale order. e.g.: You've defined 10% discount for Category A for 100 PCE min in the List price.</p> <p>You try to sell 50 Pieces of Product A and 50 Pieces of Product B (defined on Category A). The OnChange in the line will compute the price of the product as usual. Then you click on the new button. The unit price will be updated as you've sold 50+50 = 100 pieces of the same category! =&gt; you will have 10% discount on both lines !</p> <p>This module was originally developed in v7.0 by the company Julius : <a class="reference external" href="https://github.com/julius-network-solutions/julius-openobject-addons/tree/master/pricelist_by_category_qty">https://github.com/julius-network-solutions/julius-openobject-addons/tree/master/pricelist_by_category_qty</a></p> <div class="admonition important"> <p class="first admonition-title">Important</p> <p class="last">This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. <a class="reference external" href="https://odoo-community.org/page/development-status">More details on development status</a></p> </div> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#known-issues-roadmap" id="id1">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id4">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li> </ul> </li> </ul> </div> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id1">Known issues / Roadmap</a></h2> <p>That module work as it but should be benefit of refactoring to work with good performance in '_get_quantity_to_compute()' with a real multi implementation</p> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20pricelist_by_category_qty%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id3">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id4">Authors</a></h3> <ul class="simple"> <li>Julius Network Solutions</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li><a class="reference external" href="https://agipme.fr">AgiPME</a>:<ul> <li>Philippe Mayjonade</li> </ul> </li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id6">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/12.0/pricelist_by_category_qty">OCA/sale-workflow</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>