Search 1.9 billion lines of Odoo code on GitHub

pos_price_to_weight

Author: La Louve, GRAP, Odoo Community Association (OCA)
License: AGPL-3
Branch: 10_pos_without_pos_order
Repository: akretion/pos
Dependencies: point_of_sale
Languages: JavaScript (37, 15.9%), PO File (80, 34.3%), Python (28, 12.0%), XML (30, 12.9%), and reStructuredText (58, 24.9%)
Other branches: 10-fix_pos_payment_terminal_assets, 10-mig-pos_order_to_sale_order, 10-pos_payment-terminal-error-handling, 10.0-add-pos_pay_sale_order, 10.0-fix_partner_id_bug, 10.0-imp_pos_product_template, 10.0-mig-pos_order_to_sale_order_2, 10_pos_pay_order_using_session, 12-telium-fix-script, 12.0-mig-pos_backend_communication, 12.0-mig-pos_backend_partner, 12.0-mig-pos_remove_pos_category, 12.0-pos_customer_display_only, 14.0-mig-pos_backend_communication, 14.0-mig-pos_backend_partner, 14.0-mig-pos_repove_pos_category, and 9-remove-hw-modules
Other repositories: 2FM/pos, AK017/pos, AMEERAAA/pos, Aboulwafi/pos, AcruxLab/pos, AntonioOERP/pos, AwesomeFoodCoops/odoo-production, CB-Gran-Canaria/pos, CGenie/pos, Callino/pos, Change2improve/pos, ClearCorp/oca-pos, Comunitea/pos, ControlWebManager/pos, Cywaithaka/pos, DITIntl/odoo-production, DatabasesWorks/pos-1, Dobtor-OCA/pos, Domatix/pos, ERPLibre/pos, EddieIndboo/pos, Ellyan/pos, EstebanMonge/pos, Firasbessaad/pos, Fkawala/pos, ForgeFlow/pos, GSLabIt/Obeesdoo, GabbasovDinar/pos, Gabinete-Digital/pos, Gofekra/pos, Groupe-Informatique-LaCoopSurMer/odoo-production, GrupoAlvamex/pos, GuavanaUX/pos, Guobower/pos, HarshalBhoir/Obeesdoo, Hectorline/pos, HirenDangar/pos, Ingeos/pos, JayVora-SerpentCS/pos-1, Jeisonpernia/pos, JohnTheBeloved/pos, Jzano/pos, KasunDA/pos, Khanstore/pos, KolushovAlexandr/pos, LevelPrime/pos, Mahmoud-Alaa-Eldeen/pos, Martronic-SA/pos, MathBenTech/pos, Mckamba12/pos, Mefistous/pos, MindAndGo/pos, Murtaza-Mithaiwala/pos, NachoAlesLopez/pos, NathanQj/pos, NeatNerdPrime/pos, OCA-MUK/pos, OCA/pos, ORETEK/pos, Odilio/pos, Ommo73/pos, OpusVL/pos, Otsokop/odoo-production, PierrickBrun/pos, PlanetaTIC/pos, PrasongDev/pos-1, QANSEE/pos, QubiQ/pos, RaulCarbonell/pos, SanteLibre/pos, SerpentConsultingServices/pos, SetRac/pos, SimoRubi/pos, Studio73/pos, TRESCLOUD/pos, Tecnativa/pos, Theseverinn/pos, Tonow-c2c/pos, Turiinjargal/pos, VisiionSolucionesTecnologicas/pos, abassvoice/pos, abdulhamidalsalman/pos, abiezersifontes/pos, acsone/pos, acsonefho/pos, adeel982010/pos, adolfoeliazat/pos, ahilali/pos, ahmed22s885111qq/pos, ajinvn2019/pos, albertkouemou/pos, amendoncabh/pos-extras, ammarofficewla/pos, amygeis/pos, anhvu-sg/pos, ansinaesmejor/pos, apetbiz/pos, apwellington/pos-1, aroodooteam/pos, atilamedia/pos, aurestic/pos, azmeuk/odoo-production, azmeuk/pos, bacgroup/pos, bankmahal/pos, beescoop/Obeesdoo, bimajatiwijaya/pos, binhexsystems/pos, bishalgit/pos, camptocamp/pos, carrm29/pos, ccarly/pos, chetanrdhaduk/odoo-production, chetanrdhaduk/pos, cmayo/pos, coopiteasy/Obeesdoo, coopiteasy/pos, corsisa/pos, cristinamartinrod/pos, darmaa/pos, demain-supermarche/odoo-production, detian08/pos, diegogd/pos, digitalsatori/Obeesdoo, druidoo-dev/pos, druidoo/FoodCoops, dzungtran89/odoo-production, e-COSI/pos, eLBati/pos, edkroked/pos, elhamdaoui/pos, elouan-lb/Obeesdoo, elvirekemajou/pos, enmasys/pos, eribowo/pos, estevebadia/odoo-production, etobella/pos, evansochuka/pos, exosoftware/oca-pos, fanguloa/pos, fauzi-tsani/pos, fayezt/pos, fedibits/pos, fjouatte/odoo-production, flotho/pos, fmdl/pos, fraxnet/pos, gaelTorrecillas/pos, globalic/pos, grap/pos, grethellgarcia/pos, guadaltech/pos, haroldtamo/pos, haryoran04/pos, heymanh/pos, hibou-io/oca-pos, hilarak/odoo-production, hoangpq/pos, hpatelserpentcs/pos, iRichGit/pos, invitu/pos, isos/pos, isoscl/pos, jajunero/pos, javaaid/pos, jvpacoin/pos, kach200/pos, karouani/pos, keadanis/pos, kemekongfrancois/pos, kh-hathout/pos, kmee/pos, krunal267/odoo-production, lachouettecoop/odoo-production, lambda-is/pos, lauracvilla-zz/pos, leelapriskila/pos, legalsylvain/odoo-production, legalsylvain/pos, leonidasthe300/pos, lideritjnma/pos, lollia6/pos-1, lukehuang/pos, lutonda/pos, makeplerc/pos, manuelcalerosolis/pos, marionumza/Obeesdoo, marionumza/pos, mathieuvatel/odoo-production, mettadipa/pos, mnajjari49/pos, mnoukrati/pos, mondoraemon/pos, mszinte/odoo-production, mulaudzicalvin/odoo-production, nabima/pos, neohckim/pos, nilshamerlinck/pos, nthnnl/Obeesdoo, nthnnl/odoo-production, odoo-modules/odoo-production, odoosoft/pos, oswaldasmith/pos, othmancs/pos, ovnicraft/pos, petrus-v/odoo-foodcoops, petypi/pos, phuctranerp/odoo-production, phuctranerp/pos, popcomputadores-desenv/pos, primes2h/pos, pscloud/pos, pythoner-3k/pos, quentinDupont/pos, r-sierra/pos, regaby/pos, resources-hub/pos, retail-ecommerce/pos, reynaldiyosfino/pos, rihene-abdelwahed/odoo-production, rm-jamotion/pos, robertsvx27/pos, robinkeunen/Obeesdoo, royalline1/pos, rudisulistyo/pos-1, rupa-acespritech/pos, sanube/pos, saonam/pos, sc4you/odoo-production, sc4you/pos, sebastiken/pos, sendalpegat/pos, siddharth7815/odoo-production, simonjejcic/pos, simplifysolutions/pos, soadrca/pos, socomp/pos, solbutec/pos, solvosci/pos, spacemonkeythe/pos, sprevot44/odoo-production, ssaid/pos, stesi/pos, straziboy/pos, subteno-it/pos, sunflowerit/pos, suningwz/Obeesdoo, suningwz/odoo-production, supercoopbdx/odoo-production, syci/pos, takobi-online/pos, tanceee/pos, tegin/pos, thmaph/pos, timbze/pos, tonihr/pos, tools-env/pos, trinanda/pos, trobz/odoo-production, ttpphuctran/odoo-production, uktc87504/pos, unitek-solusi/OCA-pos, valenciaricardos/pos, valentinMERCIER/Obeesdoo, valmarnet/pos, vidtsin/odoo-production, vincgonzo/Obeesdoo, wahello/oca-pos, wajidksa/pos-1, weddingjuma/pos, weisk/pos, y2gsmith/pos, yasmanycastillo/pos, ythak-ylog/pos, yuntux/odoo-production, yusniermatos/pos, and zarumaru/pos

<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="point-of-sale-price-to-weight"></a> <h2>Point of Sale - Price to Weight</h2> <p>This module extends Odoo Point Of Sale features, to allow to scan barcode with price and to compute according quantity.</p> <p>In Odoo by default, there are three types of barcode rules for products.</p> <ul class="simple"> <li>'Unit Product' (type='product'). Scanning a product will add a unit of this product to the current order.</li> <li>'Priced product' (type='price'). A price is extracted from the barcode, and a new line with the given price and a quantity = 1 is added to the current order.</li> <li>'Weighted product' (type='weight). A weight is extracted from the barcode, and a new line with the given weight, and a computed price (quantity * Unit price) is added to the current order.</li> </ul> <p>This module add a new option:</p> <ul class="simple"> <li>'Priced Product (Computed Weight)' (type='price_to_weight'). A price is extracted from the barcode, and a new line with the given price, and a computed quantity (Price / Unit Price) is added to the current order.</li> </ul> <img alt="/pos_price_to_weight/static/description/barcode_rule.png" src="/pos_price_to_weight/static/description/barcode_rule.png" style="width: 800px;" /> <p>This module is usefull in shops with products scaled, to manage correctly stock quantities.</p> <p>Samples</p> <ul class="simple"> <li>Given a product with a unit price of 1,50€ / kg</li> <li><dl class="first docutils"> <dt>The barcode is 0212345{NNNDD}x where:</dt> <dd><ul class="first last"> <li>02 is the prefix of the barcode rule</li> <li>12345 is the product number</li> <li>{NNNDD} is the price of the scaled product</li> <li>x is the control digit</li> </ul> </dd> </dl> </li> </ul> <p>if {NNNDD} is 00265, the price is so 2,65€ and the according quantity is 2,65€ / 1,5 €/kg = 1,767 kg</p> <img alt="/pos_price_to_weight/static/description/pos_test_1.png" src="/pos_price_to_weight/static/description/pos_test_1.png" style="width: 800px;" /> <p>if {NNNDD} is 00810, the price is so 8,10€ and the according quantity is 8,10€ / 1,5 €/kg = 5,400 kg</p> <img alt="/pos_price_to_weight/static/description/pos_test_2.png" src="/pos_price_to_weight/static/description/pos_test_2.png" style="width: 800px;" /> <a name="configuration"></a> <h3>Configuration</h3> <ul class="simple"> <li>Go to 'Point of Sale' / 'Configuration' / 'Barcode Nomenclatures'</li> <li>Edit your barcode rules, according to your barcodes settings</li> </ul> <a name="usage"></a> <h3>Usage</h3> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/184/9.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/pos/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 smash it by providing detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <p>Icon parts come from <a class="reference external" href="http://icons8.com">http://icons8.com</a></p> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Sylvain LE GAL &lt;<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <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>This module is maintained by the OCA.</p> <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>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>