Search 1.9 billion lines of Odoo code on GitHub

pos_cash_move_reason

Author: ACSONE SA/NV,GRAP,Odoo Community Association (OCA)
License: AGPL-3
Branch: 15.0
Repository: aurestic/pos
Dependencies: point_of_sale
Languages: HTML (432, 6.0%), PO File (6159, 85.4%), Python (265, 3.7%), XML (222, 3.1%), and reStructuredText (130, 1.8%)
Other branches: 12.0, 14.0, 8.0, 8.0-fix_osv_deprecated, 8.0-imp-lazy_price_with_taxes, and 8.0_FIX_pos_order_to_sale_order_tax
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, Ellyan/pos, ElvenStudio/pos, EstebanMonge/pos, Firasbessaad/pos, Fkawala/pos, ForgeFlow/pos, GabbasovDinar/pos, Gabinete-Digital/pos, Gofekra/pos, GrupoAlvamex/pos, GuavanaUX/pos, Guobower/pos, Hectorline/pos, HirenDangar/pos, Ingeos/pos, JayVora-SerpentCS/pos-1, Jeisonpernia/pos, JohnTheBeloved/pos, Jzano/pos, KasunDA/pos, Khanstore/pos, KolushovAlexandr/pos, LasLabs/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, PierrickBrun/pos, PlanetaTIC/pos, PrasongDev/pos-1, QANSEE/pos, QubiQ/pos, RaulCarbonell/pos, SanteLibre/pos, SerpentConsultingServices/pos, SetRac/pos, SimoRubi/pos, StefanRijnhart/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, akretion/pos, albertkouemou/pos, amendoncabh/pos-extras, ammarofficewla/pos, amygeis/pos, anhvu-sg/pos, ansinaesmejor/pos, apetbiz/pos, apwellington/pos-1, aroodooteam/pos, atilamedia/pos, azmeuk/pos, bacgroup/pos, bankmahal/pos, bimajatiwijaya/pos, binhexsystems/pos, bishalgit/pos, camptocamp/pos, carrm29/pos, ccarly/pos, chetanrdhaduk/pos, cmayo/pos, coopiteasy/pos, corsisa/pos, cristinamartinrod/pos, darmaa/pos, detian08/pos, diagramsoftware/pos, diegogd/pos, druidoo-dev/pos, e-COSI/pos, eLBati/pos, edkroked/pos, elhamdaoui/pos, elvirekemajou/pos, enmasys/pos, eribowo/pos, etobella/pos, evansochuka/pos, exosoftware/oca-pos, factorlibre/pos, fanguloa/pos, fauzi-tsani/pos, fayezt/pos, fedibits/pos, 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, hoangpq/pos, hpatelserpentcs/pos, iRichGit/pos, initOS/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, lambda-is/pos, lauracvilla-zz/pos, leelapriskila/pos, legalsylvain/pos, leonidasthe300/pos, lideritjnma/pos, linuxnow/pos, lollia6/pos-1, lukehuang/pos, lutonda/pos, makeplerc/pos, manuelcalerosolis/pos, marionumza/pos, mettadipa/pos, mnajjari49/pos, mnoukrati/pos, mondoraemon/pos, nabima/pos, neohckim/pos, odoosoft/pos, open-synergy/pos, oswaldasmith/pos, othmancs/pos, ovnicraft/pos, petypi/pos, 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, rm-jamotion/pos, robertsvx27/pos, rossasa/pos, royalline1/pos, rudisulistyo/pos-1, rupa-acespritech/pos, sanube/pos, saonam/pos, sc4you/pos, sebastiken/pos, sendalpegat/pos, simonjejcic/pos, simplifysolutions/pos, soadrca/pos, socomp/pos, solbutec/pos, solvosci/pos, spacemonkeythe/pos, ssaid/pos, stesi/pos, straziboy/pos, subteno-it/pos, sunflowerit/pos, syci/pos, takobi-online/pos, tanceee/pos, tegin/pos, thmaph/pos, timbze/pos, tonihr/pos, tools-env/pos, trinanda/pos, uktc87504/pos, unitek-solusi/OCA-pos, valenciaricardos/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 cash in-out reason</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/pos/tree/15.0/pos_cash_move_reason"><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-15-0/pos-15-0-pos_cash_move_reason"><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/15.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>This module allow to define some reasons for the functionality of &quot;Put Money In&quot; and &quot;Take Money Out&quot; available in point of sale session.</p> <p>So, with this module it's possible to impact directly an expense or income account which is defined on the related reasons and create according accounting entries.</p> <p><strong>Typical Use Case (not exhaustive)</strong></p> <ul class="simple"> <li>You want to track <strong>Bank deposit</strong> moves, using an intermediate bank account named 'Cash Awaiting Bank Deposit'. (In France, for instance, &quot;581 - Espèce en attente d'encaissement&quot;)</li> <li>You want to allow payments from Cash Journal to pay recurring little expenses. (Gasoline, parking meter, etc.)</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="id4">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id5">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id6">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#changelog" id="id7">Changelog</a><ul> <li><a class="reference internal" href="#id1" id="id8">12.0.3.0.0 (2019-08-13)</a></li> <li><a class="reference internal" href="#id2" id="id9">8.0.2.0.0 (2018-06-25)</a></li> <li><a class="reference internal" href="#id3" id="id10">8.0.1.0.0 (2017-06-08)</a></li> </ul> </li> <li><a class="reference internal" href="#bug-tracker" id="id11">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id12">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id13">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id14">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id15">Maintainers</a></li> </ul> </li> </ul> </div> <a name="configuration"></a> <h2><a class="toc-backref" href="#id4">Configuration</a></h2> <ul class="simple"> <li>Go to 'Point of Sale' / 'Configuration' / 'Move Reason'</li> </ul> <div class="figure"> <img alt="PoS Move Reasons List" src="https://raw.githubusercontent.com/OCA/pos/15.0/pos_cash_move_reason/static/description/pos_cash_move_tree.png" /> </div> <ul class="simple"> <li>Create or update your PoS move Reasons.</li> <li>for each reason, you can mention the concerned journal(s), (Generally the Cash Journal), and if it is a reason to 'put in' and / or to 'take out' Money.</li> </ul> <div class="figure"> <img alt="PoS Move Reason" src="https://raw.githubusercontent.com/OCA/pos/15.0/pos_cash_move_reason/static/description/pos_cash_move_form.png" /> </div> <p><strong>Note</strong></p> <p>You should have checked first 'Used in Point of Sale' for the Journals you want to enable the feature.</p> <a name="usage"></a> <h2><a class="toc-backref" href="#id5">Usage</a></h2> <ul class="simple"> <li>Go to your current session</li> <li>Click on the button &quot;Put Money In&quot; or &quot;Take Money Out&quot;</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/pos/15.0/pos_cash_move_reason/static/description/pos_session_form.png" src="https://raw.githubusercontent.com/OCA/pos/15.0/pos_cash_move_reason/static/description/pos_session_form.png" /> </div> <ul class="simple"> <li>Select the reason, the journal, the amount, and optionaly an extra description</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/pos/15.0/pos_cash_move_reason/static/description/wizard_pos_move_reason_form.png" src="https://raw.githubusercontent.com/OCA/pos/15.0/pos_cash_move_reason/static/description/wizard_pos_move_reason_form.png" /> </div> <ul class="simple"> <li>When closing the session, an account move will be created, with two lines, one with the default journal account, and one with the expense / income reason account.</li> </ul> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/pos/15.0/pos_cash_move_reason/static/description/account_move_form.png" src="https://raw.githubusercontent.com/OCA/pos/15.0/pos_cash_move_reason/static/description/account_move_form.png" /> </div> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id6">Known issues / Roadmap</a></h2> <p>As it is not possible to disable actions on Odoo, a new technical group is added by this module, named 'Use Old PoS 'Put or Take Money' Actions', to hide native obsolete actions available on the model <code>pos.session</code> (the two buttons &quot;Take Money Out&quot; and &quot;Put Money In&quot;)</p> <a name="changelog"></a> <h2><a class="toc-backref" href="#id7">Changelog</a></h2> <a name="id1"></a> <h3><a class="toc-backref" href="#id8">12.0.3.0.0 (2019-08-13)</a></h3> <ul class="simple"> <li>[MIG] Port module to version 12.0.</li> <li>[REF] Don't use <code>product.product</code> model for Reasons, because Odoo remove the fields <code>expense_pdt</code> <code>and income_pdt</code> from the model. Use instead a new model <code>pos.move.reason</code> for this purpose.</li> <li>[REF] Doesn't inherit from <code>cash.box.in</code> and <code>cash.box.out</code> model, as there are bad designed and doesn't allow clean inheritance. Instead, use new transient model <code>wizard.pos.move.reason</code>.</li> </ul> <a name="id2"></a> <h3><a class="toc-backref" href="#id9">8.0.2.0.0 (2018-06-25)</a></h3> <ul class="simple"> <li>[REF] Minor code refactoring.</li> </ul> <a name="id3"></a> <h3><a class="toc-backref" href="#id10">8.0.1.0.0 (2017-06-08)</a></h3> <ul class="simple"> <li>First Version of the module.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id11">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_cash_move_reason%0Aversion:%2015.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="#id12">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id13">Authors</a></h3> <ul class="simple"> <li>ACSONE SA/NV</li> <li>GRAP</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id14">Contributors</a></h3> <ul class="simple"> <li>Sylvain LE GAL &lt;<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>&gt;</li> <li>Dhara Solanki &lt;<a class="reference external" href="mailto:dhara.solanki&#64;initos.com">dhara.solanki&#64;initos.com</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id15">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/pos/tree/15.0/pos_cash_move_reason">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>