Search 1.9 billion lines of Odoo code on GitHub

pos_order_to_sale_order

Author: GRAP,Akretion,Odoo Community Association (OCA)
License: AGPL-3
Branch: 10_pos_without_pos_order
Repository: akretion/pos
Dependencies: account, onchange_helper, point_of_sale, and sale
Languages: CSS (3, 0.3%), JavaScript (350, 32.1%), PO File (78, 7.1%), Python (477, 43.7%), and XML (183, 16.8%)
Other branches: 10-mig-pos_order_to_sale_order, 10.0-mig-pos_order_to_sale_order_2, 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, 16.0-mig-pos_payment_change, and 8.0
Other repositories: 2FM/pos, AK017/pos, AMEERAAA/pos, Aboulwafi/pos, AcruxLab/pos, AntonioOERP/pos, CB-Gran-Canaria/pos, CGenie/pos, Callino/pos, Change2improve/pos, Comunitea/pos, ControlWebManager/pos, Cywaithaka/pos, DatabasesWorks/pos-1, Dobtor-OCA/pos, Domatix/pos, ERPLibre/pos, EddieIndboo/pos, ElvenStudio/pos, EstebanMonge/pos, Firasbessaad/pos, Fkawala/pos, ForgeFlow/pos, Gabinete-Digital/pos, GrupoAlvamex/pos, GuavanaUX/pos, Guobower/pos, HirenDangar/pos, Ingeos/pos, JayVora-SerpentCS/pos-1, Jeisonpernia/pos, JohnTheBeloved/pos, Jzano/pos, KasunDA/pos, KolushovAlexandr/pos, LasLabs/pos, LevelPrime/pos, Mahmoud-Alaa-Eldeen/pos, Martronic-SA/pos, MathBenTech/pos, Mckamba12/pos, Mefistous/pos, Murtaza-Mithaiwala/pos, NachoAlesLopez/pos, NathanQj/pos, NeatNerdPrime/pos, OCA-MUK/pos, OCA/pos, Odilio/pos, Ommo73/pos, OpusVL/pos, 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, abiezersifontes/pos, acsone/pos, adeel982010/pos, ahmed22s885111qq/pos, ajinvn2019/pos, albertkouemou/pos, ammarofficewla/pos, amygeis/pos, anhvu-sg/pos, ansinaesmejor/pos, apetbiz/pos, apwellington/pos-1, aroodooteam/pos, atilamedia/pos, aurestic/pos, azmeuk/pos, bankmahal/pos, binhexsystems/pos, bishalgit/pos, camptocamp/pos, ccarly/pos, chetanrdhaduk/pos, coopiteasy/pos, corsisa/pos, darmaa/pos, detian08/pos, diagramsoftware/pos, diegogd/pos, druidoo-dev/pos, e-COSI/pos, eLBati/pos, edkroked/pos, elhamdaoui/pos, enmasys/pos, eribowo/pos, evansochuka/pos, exosoftware/oca-pos, factorlibre/pos, fanguloa/pos, fauzi-tsani/pos, fayezt/pos, fedibits/pos, flotho/pos, fmdl/pos, fraxnet/pos, globalic/pos, grap/pos, guadaltech/pos, heymanh/pos, hibou-io/oca-pos, hoangpq/pos, hpatelserpentcs/pos, initOS/pos, invitu/pos, isoscl/pos, jajunero/pos, javaaid/pos, jvpacoin/pos, kach200/pos, karouani/pos, keadanis/pos, kemekongfrancois/pos, kh-hathout/pos, kmee/pos, lambda-is/pos, lauracvilla-zz/pos, leelapriskila/pos, legalsylvain/pos, leonidasthe300/pos, lideritjnma/pos, linuxnow/pos, lukehuang/pos, lutonda/pos, makeplerc/pos, manuelcalerosolis/pos, marionumza/pos, mettadipa/pos, mnajjari49/pos, mnoukrati/pos, mondoraemon/pos, nabima/pos, neohckim/pos, oswaldasmith/pos, othmancs/pos, petypi/pos, popcomputadores-desenv/pos, primes2h/pos, pscloud/pos, pythoner-3k/pos, quentinDupont/pos, r-sierra/pos, regaby/pos, resources-hub/pos, retail-ecommerce/pos, rm-jamotion/pos, robertsvx27/pos, royalline1/pos, rudisulistyo/pos-1, rupa-acespritech/pos, sanube/pos, saonam/pos, sc4you/pos, sebastiken/pos, simonjejcic/pos, soadrca/pos, socomp/pos, solbutec/pos, solvosci/pos, ssaid/pos, stesi/pos, subteno-it/pos, sunflowerit/pos, syci/pos, takobi-online/pos, tanceee/pos, tegin/pos, thmaph/pos, timbze/pos, tonihr/pos, tools-env/pos, treytux/trey-addons, trinanda/pos, uktc87504/pos, unitek-solusi/OCA-pos, valmarnet/pos, wahello/oca-pos, wajidksa/pos-1, weddingjuma/pos, weisk/pos, y2gsmith/pos, yasmanycastillo/pos, ythak-ylog/pos, 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="pos-order-to-sale-order"></a> <h2>POS Order To Sale Order</h2> <p>This module extends the functionality of point of sale to allow sale orders creation from the Point of Sale.</p> <p>In the POS UI, buttons has been added to create a sale order and discard the current POS order.</p> <p>This module is useful in many cases, for example :</p> <ul class="simple"> <li>take quotations with a very simple interface</li> <li>take orders with a very simple interface</li> <li>allow clients to pay later</li> <li>if you have some customers that come every day in your shop, but want to have a unique invoice at the end of the month. With this module, you can create a sale order and deliver products every time he comes to keep your stock value correct and to create a unique invoice periodically.</li> </ul> <p>Four options are available:</p> <ol class="arabic"> <li><p class="first">'<strong>Allow PoS order</strong>'</p> <p>A PoS Order is the default type of order (opposed to sale orders). If you want to use only sales order, uncheck this option.</p> </li> <li><p class="first">'<strong>Allow Quotations</strong>'</p> <p>A quotation is a draft sale order. It can be changed and confirmed later from the backend. No payment can be taken with draft orders.</p> </li> <li><p class="first">'<strong>Allow Sale Orders</strong>'</p> <p>A confirmed sale order without picking. Useful if you don't manage stock or sell services otherwise use 'delivered picking'.</p> </li> <li><p class="first">'<strong>Allow Delivered Sale Orders</strong>'</p> <p>A sale order will be created and confirmed. The associated picking will be marked as delivered. Use this option if you delivery your customer frequently and bill him periodically</p> </li> </ol> <p>If multiple options are activated, buttons will appear on the payment screen.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>To configure this module, you need to:</p> <ol class="arabic simple"> <li>Go to Point Of Sale / Configuration / Point of Sale</li> <li>Select the desired behavior by setting some of the checkboxes:</li> </ol> <blockquote> <ul class="simple"> <li>Allow PoS order,</li> <li>Allow Quotations,</li> <li>Allow Sale Orders,</li> <li>Allow Delivered Sale Orders</li> </ul> </blockquote> <a name="usage"></a> <h3>Usage</h3> <dl class="docutils"> <dt>In the PoS, on the payment screen, new buttons will appear according</dt> <dd>to options set in the configuration.</dd> </dl> <div class="figure"> <img alt="static/description/pos_order_to_sale_order.png" src="static/description/pos_order_to_sale_order.png" style="width: 800px;" /> </div> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/184/8.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="technical-notes"></a> <h3>Technical Notes</h3> <ul class="simple"> <li>Some hooks are defined in the JS file, to define custom behavior after having created the sale order (and the stock picking).</li> <li>Some prepare functions are available in the sale.order model, to overload the creation of the sale order.</li> <li>An additional, not displayed option, is to allow payment for sale orders. It requires an additinnal module (not yet written) to handle it correctly.</li> </ul> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>Demo not ported yet. It was non functionnal before migration.</li> <li>Because of the poor design of the Odoo Point of Sale, some basic features are not available by default, like pricelist, fiscal position, etc ... For that reason, unit price will be recomputed by default, when creating the sale order, and the unit price of the current bill will not be used. We could imagine to create an option 'Use Pos Order Unit Price' in a setting.</li> </ul> <p>For more information about that point, you could check pos_pricelist OCA module. (same repository).</p> <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="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Sylvain Le Gal (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</li> <li>Raphaël Reverdy (<a class="reference external" href="https://github.com/hparfr">https://github.com/hparfr</a>)</li> </ul> <a name="funders"></a> <h4>Funders</h4> <p>The development of this module has been financially supported by:</p> <ul class="simple"> <li>GRAP, Groupement Régional Alimentaire de Proximité (<a class="reference external" href="http://www.grap.coop">http://www.grap.coop</a>)</li> <li>Akretion</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>