Search 1.9 billion lines of Odoo code on GitHub

purchase_product_usage

Author: Eficent, Odoo Community Association (OCA)
License: AGPL-3
Branch: 13.0-add_purchase_order_secondary_unit_setup_tbi
Repository: acsone/purchase-workflow
Dependencies: purchase
Languages: HTML (358, 43.9%), PO File (61, 7.5%), Python (213, 26.1%), XML (107, 13.1%), and reStructuredText (77, 9.4%)
Other branches: 11.0, 12.0, 12.0-asw_master, 12.0-mig-purchase_packaging-dro, 13.0, 13.0-add-purchase_sale_amendment-dro, 13.0-add_account_fiscal_position_allowed_journal_purchase_tbi, 13.0-eri_master, 13.0-gha-sbi, 13.0-imp_purchase_request_copy_name_sequence_tbi, 13.0-imp_purchase_request_indexes_tbi, 13.0-imp_purchase_request_manage_deactivated_product_tbi, 13.0-mig-purchase_fop_shpping-bwi, 13.0-mig-purchase_triple_discount-bwi, 13.0-purchase_discount-cpi, 13.0-purchase_packaging-sbj, 13.0-purchase_product_multi_add-qgr, 13.0-ref_purchase_request_deactivate_product_qty_overwrite_tbi, 13.0-ref_purchase_request_stock_move_activity_creation_tbi, 13.0-rlf_master, 13.0-slg_master, 13.0-tnc_master, 13.0-wpu_master, 14-purchase_fop_shipping-xbo, 14.0, 14.0-abi_master, 14.0-add-purchase_invoice_group-dro, 14.0-fix-supplier-dro, 14.0-lbr_master, 14.0-mig-purchase-substate-dro, 14.0-mig-purchase_fop_shpping-sbj, 14.0-mig-purchase_supplierinfo_update_price-dro, 14.0-purchase_order_line_invoicing-sbj, 14.0-purchase_packaging-sbj, 14.0-switch-oca-copier-dro, fix-purchase-state-dro, and oca-port-pr-854-from-10.0-to-14.0
Other repositories: 554513154/purchase-workflow, AITIC/purchase-workflow, ALCONSOFT/purchase-workflow, Alfa-90/purchase-workflow, Alfian878787/purchase-workflow, Andy-blanchard/purchase-workflow, CGenie/purchase-workflow, Change2improve/purchase-workflow, ComitorDevTeam/purchase-workflow, Comunitea/purchase-workflow, Daniel-CA/purchase-workflow, Darknroses/purchase-workflow, Digital5-Odoo/purchase-workflow, Dobtor-OCA/purchase-workflow, ERPLibre/purchase-workflow, ForgeFlow/purchase-workflow, FrosinaKimoski/purchase-workflow, Gabinete-Digital/purchase-workflow, ITPerfectionists/purchase-workflow, Ingeos/purchase-workflow, Jarsa-dev/purchase-workflow, Jarsa/purchase-workflow, JoseAnrango/purchase-workflow, JuaniFreedoo/purchase-workflow, JuanjoA/purchase-workflow, KARIZMA-CONSEIL/purchase-workflow, KonaERP/purchase-workflow, LevelPrime/purchase-workflow, MarkingSC/purchase-workflow, MathBenTech/purchase-workflow, Mattvracoop/purchase-workflow, Mefistous/purchase-workflow, NeatNerdPrime/purchase-workflow, Nikul-Chaudhary/purchase-workflow, OCA-MUK/purchase-workflow, OCA/purchase-workflow, OpenCode/purchase-workflow, Palpid/purchase-workflow, PlanetaTIC/purchase-workflow, RVAngel/purchase-workflow, Rad0van/purchase-workflow, SDIsl/purchase-workflow, SanteLibre/purchase-workflow, SequarSrl/purchase-workflow, SeuMarco/purchase-workflow, Siraparn/purchase-workflow, SportPursuit/purchase-workflow, Studio73/purchase-workflow, TRESCLOUD/purchase-workflow, Tecnativa/purchase-workflow, Tonow-c2c/purchase-workflow, Vauxoo/purchase-workflow, aaltinisik/purchase-workflow, adhoc-dev/purchase-workflow, aitlamsali/purchase-workflow, akretion/purchase-workflow, altoch/purchase-workflow, amh-mw/purchase-workflow, anasallaham/purchase-workflow, anhvu-sg/purchase-workflow, aurestic/purchase-workflow, avanzosc/purchase-workflow, billrich126/purchase-workflow, binovo/purchase-workflow, bmya/purchase-workflow, brain-tec/purchase-workflow, camptocamp/purchase-workflow, conandark/purchase-workflow, contacto-tecnoservices/purchase-workflow, coopiteasy/purchase-workflow, ctmil/purchase-workflow, dani-xtendoo/purchase-workflow, ddico/purchase-workflow, dekdeegoodboys/purchase-workflow, diagramsoftware/purchase-workflow, dong-z/purchase-workflow, druidoo-dev/purchase-workflow, dsidorenkovas-rgbconsulting/purchase-workflow, eLBati/purchase-workflow, ecosoft-odoo/product-attribute, ecosoft-odoo/purchase-workflow, enmasys/purchase-workflow, ermannognan/purchase-workflow, ernesto-medina/purchase-workflow, etobella/purchase-workflow, exosoftware/oca-purchase-workflow, factorlibre/purchase-workflow, fallewi/purchase-workflow, freelancerapps/purchase-workflow, gab-net/purchase-workflow, gurneyalex/purchase-workflow, gustavovalverde/purchase-workflow, harsh-erpharbor/purchase-workflow, hbrunn/purchase-workflow, hibou-io/oca-purchase-workflow, i-vyshnevska/purchase-workflow, ingitex-odoo/purchase-workflow, insscn/purchase-workflow, jackjack82/purchase-workflow, jason156/purchase-workflow, josuf567/purchase-workflow, jromeroarg/purchase-workflow, juanfcoespin/purchase-workflow, julenalgios/purchase-workflow, kayue/purchase-workflow, khaledhathout/purchase-workflow, kitaka/purchase-workflow, kittiu/purchase-workflow, kmee/purchase-workflow, kongrattapong/purchase-workflow, kos94ok-3D/purchase-workflow, legalsylvain/purchase-workflow, lfreeke/purchase-workflow, lideritjnma/purchase-workflow, maxellini/purchase-workflow, metalsartigan/purchase-workflow, mmequignon/purchase-workflow, mohdshoaib04/purchase-workflow, mulaudzicalvin/purchase-workflow, myonnet/oca-purchase-workflow, navikalingoth/purchase-workflow, niaisoh/purchase-workflow, niulinlnc/purchase-workflow, nucleoosystem/purchase-workflow, nuobit/purchase-workflow, pegonzalezspesol/purchase-workflow, petypi/purchase-workflow, phuctranerp/purchase-workflow, quentinDupont/purchase-workflow, rcerrillo2/purchase-workflow, redblow/purchase-workflow, rohitramnani1994/purchase-workflow, royalline1/purchase-workflow, sa3m/purchase-workflow, sacodoo/purchase-workflow, sanube/purchase-workflow, sematicshood/flectra, sendalpegat/purchase-workflow, sergiocorato/purchase-workflow, sewisoft/purchase-workflow, skukered/purchase-workflow, smile-888/purchase-workflow, solvosci/purchase-workflow, sswapnesh/purchase-workflow, sudhir-erpharbor/purchase-workflow, sunshineLhj/purchase-workflow, sygel-technology/purchase-workflow, tafaRU/purchase-workflow, takinobori/oca-purchase-workflow, tegin/purchase-workflow, thoongnv/purchase-workflow, tirma-sa/purchase-workflow, tonygalmiche/purchase-workflow, unitek-solusi/OCA-purchase-workflow, ursais/purchase-workflow, versada/purchase-workflow, x0rzkov/odoo-purchase-workflow, and yostashiro/purchase-workflow

<h1 class="title">Purchase Product Usage</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.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/purchase-workflow/tree/13.0/purchase_product_usage"><img alt="OCA/purchase-workflow" src="https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/purchase-workflow-13-0/purchase-workflow-13-0-purchase_product_usage"><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/142/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>When purchasing, users can indicate a usage from a list, for every item in the purchase order.</p> <p>Usages can be associated with specific accounts. When the supplier invoice is created from that purchase order line, the account defined for that usage will be proposed, instead of the product's default expense account. This proposal will only be effective if the product is a consumable or a service.</p> <p>Usages can be very diverse, like internal use, marketing use, testing use. So a product &quot;Paper&quot; could potentially translate to marketing expense, or an office expense, irrespective of what is the expense account defined in the product &quot;Paper&quot;.</p> <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="#usage" id="id2">Usage</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>In order to be able to define usages, assign users to the group &quot;Define Purchase Product Usages&quot;. The group is proposed by default to users in the group &quot;Purchase Manager&quot;</p> <p>Go to <em>Purchase / Configuration / Purchase Product Usages</em> and define the usages, indicating the description and optionally the code, default product and account to use.</p> <a name="usage"></a> <h2><a class="toc-backref" href="#id2">Usage</a></h2> <p>In the PO line set the usage of the purchased product. If the usage has a default product it will be set in the PO line. If the product is a consumable or a service then the invoice will take the account from the usage. In any other case the normal behavior is expected.</p> <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/purchase-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/purchase-workflow/issues/new?body=module:%20purchase_product_usage%0Aversion:%2013.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>Eficent</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id6">Contributors</a></h3> <ul class="simple"> <li>Jordi Ballester Alomar &lt;<a class="reference external" href="mailto:jordi.ballester&#64;eficent.com">jordi.ballester&#64;eficent.com</a>&gt;</li> <li>Aaron Henriquez &lt;<a class="reference external" href="mailto:ahenriquez&#64;eficent.com">ahenriquez&#64;eficent.com</a>&gt;</li> <li>Rattapong Chokmasermkul &lt;<a class="reference external" href="mailto:rattapongc&#64;ecosoft.co.th">rattapongc&#64;ecosoft.co.th</a>&gt;</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>This module is part of the <a class="reference external" href="https://github.com/OCA/purchase-workflow/tree/13.0/purchase_product_usage">OCA/purchase-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>