Search 1.9 billion lines of Odoo code on GitHub

pos_order_to_sale_order

Author: GRAP,Odoo Community Association (OCA)
License: AGPL-3
Branch: 8.0
Repository: akretion/pos
Dependencies: point_of_sale
Languages: CSS (4, 0.4%), HTML (406, 42.9%), JavaScript (161, 17.0%), PO File (121, 12.8%), Python (101, 10.7%), XML (41, 4.3%), and reStructuredText (113, 11.9%)
Other branches: 10-mig-pos_order_to_sale_order, 10.0-mig-pos_order_to_sale_order_2, 10_pos_without_pos_order, 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 16.0-mig-pos_payment_change
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

<h1 class="title">PoS Order To Sale Order</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.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/pos/tree/8.0/pos_order_to_sale_order"><img alt="OCA/pos" src="https://img.shields.io/badge/github-OCA%2Fpos-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/pos-8-0/pos-8-0-pos_order_to_sale_order"><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/184/8.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <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 usefull in many cases, for exemple :</p> <ul class="simple"> <li>take orders with a very simple interface</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 that module, you can create a sale order and deliver products every time to keep your stock value correct, and to create a unique invoice, when you want.</li> </ul> <p>Three options are available:</p> <ul class="simple"> <li><strong>Create a draft Order</strong> A new sale order in a draft mode will be created that can be changed later.</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_create_picking_option_1.png" src="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_create_picking_option_1.png" style="width: 800px;" /> </div> <ul class="simple"> <li><strong>Create a Confirmed Order</strong> A new sale order will be created and confirmed.</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_create_picking_option_2.png" src="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_create_picking_option_2.png" style="width: 800px;" /> </div> <ul class="simple"> <li><strong>Create Delivered Picking</strong> (by default) A new sale order will be created and confirmed. the associated picking will be marked as delivered.</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_create_picking_option_3.png" src="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_create_picking_option_3.png" style="width: 800px;" /> </div> <p><strong>Technical Notes</strong></p> <ul class="simple"> <li>Some hooks are defined in the JS file, to define custom behaviour 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>You could be interested by another module, pos_sale_order, that completely alter Point of Sale module, avoiding creating Pos Orders, and creating allways Sale Orders. This module is a WIP state, and is available here: <a class="reference external" href="https://github.com/OCA/pos/pull/35">https://github.com/OCA/pos/pull/35</a></li> </ul> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#configuration" id="id1">Configuration</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id2">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id3">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id4">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id5">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id6">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id7">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id1">Configuration</a></h2> <p>To configure this module, you need to:</p> <ul class="simple"> <li>Go to Point Of Sale / Configuration / Point of Sale</li> <li>Check the box 'Create Sale Orders'</li> <li>Select the desired default behaviour</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_config_form.png" src="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_config_form.png" style="width: 800px;" /> </div> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id2">Known issues / Roadmap</a></h2> <ul class="simple"> <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.</li> </ul> <p>Note that this problem is fixed if <code>pos_pricelist</code> is installed. (same repository) In that cases, the pricelist, the unit prices and the taxes will be the same in the order, as in the displayed bill.</p> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_create_picking_confirm.png" src="https://raw.githubusercontent.com/OCA/pos/8.0/pos_order_to_sale_order/static/description/pos_create_picking_confirm.png" style="width: 800px;" /> </div> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id3">Bug Tracker</a></h2> <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 smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/pos/issues/new?body=module:%20pos_order_to_sale_order%0Aversion:%208.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="#id4">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id5">Authors</a></h3> <ul class="simple"> <li>GRAP</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <ul class="simple"> <li>Sylvain LE GAL (<a class="reference external" href="https://www.twitter.com/legalsylvain">https://www.twitter.com/legalsylvain</a>)</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id7">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>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p> <p><a class="reference external" href="https://github.com/legalsylvain"><img alt="legalsylvain" src="https://github.com/legalsylvain.png?size=40px" /></a></p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/pos/tree/8.0/pos_order_to_sale_order">OCA/pos</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>