-
-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][ADD] new module pos_check_accounting_settings to avoid launching new PoS session with incorrect configuration. #1209
base: 16.0
Are you sure you want to change the base?
Conversation
53073b9
to
8dee546
Compare
/ocabot rebase |
@legalsylvain The rebase process failed, because command
|
5590eae
to
6b112e4
Compare
@legalsylvain could you rebase please? |
6b112e4
to
314719c
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
any chance to rebase @legalsylvain ? |
… PoS session with incorrect configuration.
…ble with pos_check_accounting_settings_company module
314719c
to
9224c3e
Compare
@miquelalzanillas, @flotho : done ! |
This module extends the functionnality of Odoo PoS adding extra checks, when opening session, to ensure that accounting configation is correct.
Use case 1
When we create a payment method and if :
if we use the payment method in the Point of sale, it is not possible to close the session after.
As it not possible to change a payment method when a session is not closed, this bad configuration has to be fixed by SQL.
This module adds a check when opening session, to avoid such situation.