Skip to content

Conversation

@quentinDupont
Copy link

@quentinDupont quentinDupont commented Jul 24, 2025

Replaced #1068

Classic migration of module pos_cash_move_reason

Description (part of README)

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

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.

Typical Use Case (not exhaustive)

  • You want to track Bank deposit moves, using an intermediate bank account named 'Cash Awaiting Bank Deposit'. (In France, for instance, "581 - Espèce en attente d'encaissement")

  • You want to allow payments from Cash Journal to pay recurring little expenses. (Gasoline, parking meter, etc.)

pos_session_form

@quentinDupont quentinDupont force-pushed the 16.0-mig-pos_cash_move_reason branch 4 times, most recently from c7a16d2 to 2f0b0bd Compare July 29, 2025 20:53
@quentinDupont quentinDupont marked this pull request as ready for review July 29, 2025 20:59
Adrien Peiffer (ACSONE) and others added 25 commits November 17, 2025 11:16
[REF] factor code
[UPD] fr translation and pot file
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
[REF] Don't use ``product.product`` model for Reasons, because Odoo remove
the fields ``expense_pdt`` ``and income_pdt`` from the model.
Use instead a new model ``pos.move.reason`` for this purpose.
[REF] Doesn't inherit from ``cash.box.in`` and ``cash.box.out`` model,
as there are bad designed and doesn't allow clean inheritance.
Instead, use new transient model ``wizard.pos.move.reason``.
[REF] Oca convention. add readme folder.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_cash_move_reason/
Currently translated at 100.0% (38 of 38 strings)

Translation: pos-12.0/pos-12.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_cash_move_reason/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-12.0/pos-12.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_cash_move_reason/
Currently translated at 100.0% (38 of 38 strings)

Translation: pos-12.0/pos-12.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_cash_move_reason/fr_CH/
Currently translated at 7.9% (3 of 38 strings)

Translation: pos-12.0/pos-12.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_cash_move_reason/de/
dsolanki-initos and others added 24 commits November 17, 2025 11:17
- Changed the field where the reason for the withdrawal or receipt of money is indicated, if left in the field name, it changes the name of the accounting entry and gives an error.
Currently translated at 100.0% (38 of 38 strings)

Translation: pos-14.0/pos-14.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_cash_move_reason/ca/
Currently translated at 100.0% (38 of 38 strings)

Translation: pos-14.0/pos-14.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-14-0/pos-14-0-pos_cash_move_reason/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: pos-15.0/pos-15.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_cash_move_reason/
Currently translated at 100.0% (38 of 38 strings)

Translation: pos-15.0/pos-15.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_cash_move_reason/it/
Currently translated at 100.0% (38 of 38 strings)

Translation: pos-15.0/pos-15.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_cash_move_reason/it/
Currently translated at 100.0% (38 of 38 strings)

Translation: pos-15.0/pos-15.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_cash_move_reason/it/
Currently translated at 97.3% (37 of 38 strings)

Translation: pos-15.0/pos-15.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_cash_move_reason/ca/
Currently translated at 100.0% (38 of 38 strings)

Translation: pos-15.0/pos-15.0-pos_cash_move_reason
Translate-URL: https://translation.odoo-community.org/projects/pos-15-0/pos-15-0-pos_cash_move_reason/es/
@legalsylvain legalsylvain force-pushed the 16.0-mig-pos_cash_move_reason branch from 2f0b0bd to efa4484 Compare November 17, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.