Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 31 additions & 6 deletions pos_cash_move_reason/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ POS cash in-out reason
|badge1| |badge2| |badge3| |badge4| |badge5|

This module allow to define some reasons for the functionality of
"Put Money In" and "Take Money Out" available in point of sale session.
"Cash In / Out" available in point of sale session.

So, with this module it is possible to impact directly an expense or income
account which is defined on the related reasons and create according
Expand Down Expand Up @@ -69,14 +69,12 @@ Configuration
.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_cash_move_reason/static/description/pos_cash_move_form.png
:alt: PoS Move Reason

**Note**

You should have checked first 'Used in Point of Sale' for the Journals you want
to enable the feature.

Usage
=====

**In backoffice**

* Go to your current session

* Click on the button "Put Money In" or "Take Money Out"
Expand All @@ -88,12 +86,35 @@ Usage

.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_cash_move_reason/static/description/wizard_pos_move_reason_form.png

* When closing the session, an account move will be created, with two lines,
* An account move will be created, with two lines,
one with the default journal account, and one with the expense / income
reason account.

.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_cash_move_reason/static/description/account_move_form.png

**In POS UI**

* Click on Cash In / Out

* Choose Cash In or Cash Out then write the amount

* Choose a Reason

* If it has a Journal, choose Journal

* Confirm and continue sale OR confirm and go to Close PopUp

.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_cash_move_reason/static/description/pos_cash_move_ui.png

**In POS UI, from Close PopUp**

* New button "Cash In / Out" can trigger same workflow

* You now can see Positive and Negative Move for every Payment method


.. figure:: https://raw.githubusercontent.com/OCA/pos/16.0/pos_cash_move_reason/static/description/pos_close_popup.png

Known issues / Roadmap
======================

Expand All @@ -105,6 +126,10 @@ hide native obsolete actions available on the model ``pos.session``
Changelog
=========

16.0.2.0.0 (2026-05-02)
~~~~~~~~~~~~~~~~~~~~~~~
* [IMP] This module works directly on POS UI

16.0.1.0.0 (2025-07-27)
~~~~~~~~~~~~~~~~~~~~~~~
* [MIG] Port module to version 16.0.
Expand Down
10 changes: 8 additions & 2 deletions pos_cash_move_reason/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
"author": "ACSONE SA/NV," "GRAP," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/pos",
"category": "Point Of sale",
"version": "16.0.1.0.0",
"version": "16.0.2.0.0",
"license": "AGPL-3",
"depends": ["point_of_sale"],
"data": [
"security/ir_rule.xml",
"security/res_groups.xml",
"security/ir.model.access.csv",
"views/view_pos_move_reason.xml",
"views/view_pos_session.xml",
Expand All @@ -22,4 +21,11 @@
"demo/account_journal.xml",
"demo/pos_move_reason.xml",
],
"assets": {
"point_of_sale.assets": [
"pos_cash_move_reason/static/src/css/*.scss",
"pos_cash_move_reason/static/src/xml/**.xml",
"pos_cash_move_reason/static/src/js/**.js",
],
},
}
93 changes: 77 additions & 16 deletions pos_cash_move_reason/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-08-23 15:07+0000\n"
"PO-Revision-Date: 2019-08-23 17:14+0200\n"
"Last-Translator: <>\n"
"POT-Creation-Date: 2026-04-16 08:10+0000\n"
"PO-Revision-Date: 2026-04-16 08:10+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
"X-Generator: Poedit 2.0.6\n"

#. module: pos_cash_move_reason
#: model_terms:ir.ui.view,arch_db:pos_cash_move_reason.view_pos_session_form
Expand All @@ -35,6 +33,13 @@ msgstr ""
"<span class=\"o_stat_text\">Retirer</span>\n"
" <span class=\"o_stat_text\">de l'argent</span>"

#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/xml/PosCashMoveReason.xml:0
#, python-format
msgid "Account journal"
msgstr "Journal"

#. module: pos_cash_move_reason
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_pos_move_reason__journal_ids
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_wizard_pos_move_reason__journal_ids
Expand All @@ -56,16 +61,32 @@ msgstr "Montant"
msgid "Apply"
msgstr "Appliquer"

#. module: pos_cash_move_reason
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_wizard_pos_move_reason__statement_id
msgid "Bank Statement"
msgstr "Relevé bancaire"

#. module: pos_cash_move_reason
#: model_terms:ir.ui.view,arch_db:pos_cash_move_reason.view_wizard_pos_move_reason_form
msgid "Cancel"
msgstr "Annuler"

#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/js/CashMoveButtonPatch.esm.js:0
#, python-format
msgid "Cash in/out of %s is ignored."
msgstr ""

#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/xml/PosCashMoveReason.xml:0
#, python-format
msgid "Choose the journal"
msgstr "Choisir le journal"

#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/xml/PosCashMoveReason.xml:0
#, python-format
msgid "Choose the reason"
msgstr "Choisir le motif"

#. module: pos_cash_move_reason
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_pos_move_reason__company_id
msgid "Company"
Expand Down Expand Up @@ -124,14 +145,15 @@ msgstr "Remplir ce formulaire si vous mettez de l'argent dans la caisse"
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_pos_move_reason__id
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_wizard_pos_move_reason__id
msgid "ID"
msgstr "ID"
msgstr ""

#. module: pos_cash_move_reason
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_pos_move_reason__income_account_id
msgid "Income Account"
msgstr "Compte de revenus"

#. module: pos_cash_move_reason
#. odoo-python
#: code:addons/pos_cash_move_reason/wizard/wizard_pos_move_reason.py:0
#, python-format
msgid "Invalid Amount"
Expand All @@ -150,7 +172,7 @@ msgstr "Est un motif d'entrée"
#. module: pos_cash_move_reason
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_wizard_pos_move_reason__journal_id
msgid "Journal"
msgstr "Journal"
msgstr ""

#. module: pos_cash_move_reason
#: model:ir.model.fields,field_description:pos_cash_move_reason.field_pos_move_reason____last_update
Expand Down Expand Up @@ -218,16 +240,55 @@ msgstr "Mettre de l'argent"
msgid "Reason"
msgstr "Motif"

#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/js/CashMovePopupPatch.js:0
#, python-format
msgid "Select one Journal before confirming."
msgstr "Choisir un journal pour pouvoir confirmer."

#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/js/CashMovePopupPatch.js:0
#, python-format
msgid "Select one Reason before confirming."
msgstr "Choisir un motif pour pouvoir confirmer."

#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/js/CashMoveButtonPatch.esm.js:0
#, python-format
msgid "Successfully made a cash %s of %s."
msgstr "Mouvement de %s pour %s réalisé avec succès "

#. module: pos_cash_move_reason
#: model:ir.model.fields.selection,name:pos_cash_move_reason.selection__wizard_pos_move_reason__move_type__expense
msgid "Take Money Out"
msgstr "Retirer de l'argent"

#. module: pos_cash_move_reason
#. odoo-python
#: code:addons/pos_cash_move_reason/models/pos_session.py:0
#, python-format
msgid "There is no cash payment method for this PoS Session"
msgstr "Il n'y a pas de méthode de paiement de cash pour cette session."

#. module: pos_cash_move_reason
#: model:res.groups,name:pos_cash_move_reason.group_pos_old_actions
msgid "Use Old PoS 'Put or Take Money' Actions"
msgstr ""
"Utiliser la fonctionnalité obsolète du PdV Mettre ou Prendre de l'argent"

#~ msgid "Move type"
#~ msgstr "Type de mouvement"
#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/js/CashMoveButtonPatch.esm.js:0
#, python-format
msgid "in"
msgstr "entrée"

#. module: pos_cash_move_reason
#. odoo-javascript
#: code:addons/pos_cash_move_reason/static/src/js/CashMoveButtonPatch.esm.js:0
#, python-format
msgid "out"
msgstr "sortie"
Loading
Loading