Open
Conversation
c7a16d2 to
2f0b0bd
Compare
2f0b0bd to
efa4484
Compare
[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/
…e context timezone
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/
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/
efa4484 to
b9b5945
Compare
ivantodorovich
approved these changes
Apr 9, 2026
Contributor
ivantodorovich
left a comment
There was a problem hiding this comment.
technical review only
/ocabot migration pos_cash_move_reason
Author
|
I'm not sure what to do : I develop this module to work on POS UI. Should I wait this PR to be merged in order to be a PR juste for Migration then create a new PR for this major change ? |
MDgrap
approved these changes
Apr 16, 2026
|
Tested on runboat, both adding and removing money, works fine |
Contributor
|
This PR has the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaced #1068
Classic migration of module
pos_cash_move_reasonDescription (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.)