Skip to content
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

[13,14] CE and EE - POS Bill Splitting - Anti fraud module wrong behavior - #72211

Open
Antoine-apydev opened this issue Jun 16, 2021 · 2 comments

Comments

@Antoine-apydev
Copy link

Antoine-apydev commented Jun 16, 2021

Impacted versions:
Odoo community and Entreprise
Tested on 13/14 on runbot and local

Impact
The module l10n_fr_cert_pos is mandatory in France
but with this activated, Bill splitting is impossible.

Steps to reproduce:
Create a company with fiscal chart "France
image

Switch to newly created company
image

Go to invoicing > settings
Install more packages
image

Then install -> France - Accounting
image

Go to POS
create a new pos for the french company
Bar et activate bill splitting
image

Current behavior:
First bug :
When Split bill
if there is more than 1 product, modal "decrease the quantity by" pops up
image
If cancel is selected, 1 product is added, but total is wrong (here cost of 2 products)
image

Then you clic again, it adds another product (whitch is expected behaviour)
image

Than validate the payment,
image

get back to the first bill
The two units are still there
image

Second bug :
Click on Split
then select One of the two products and set in the modal decrease by 1
then ok
image
The total amout is wrong,than validate the payment

get back to the order
=> The wrong product is decreased.
image

Expected behavior:
Go to apps
uninstall module
France - VAT Anti-Fraud Certification for Point of Sale (CGI 286 I-3 bis)
image

go back to point of sale, back to the order and split bill again
click on one the two products, and boom expected behavior !
( when you select on product (modal never shows) the right amount is set, then go to payment, get back to the order, on product left)

:)

I've done some debugging in console, no XHR are done during the process as written above, so
My guess is that there are some buggy JS in
l10n_fr_pos_cert/static/src/js/pos.js

Can anyone confirm please ?

@Antoine-apydev Antoine-apydev changed the title [l10n_fr_cert_pos] - POS Bill Splitting - Anti fraud module wrong behavior on POS UI [13,14] - POS Bill Splitting - Anti fraud module wrong behavior on POS UI Jun 16, 2021
@Antoine-apydev Antoine-apydev changed the title [13,14] - POS Bill Splitting - Anti fraud module wrong behavior on POS UI [13,14] CE and EE - POS Bill Splitting - Anti fraud module wrong behavior - Jun 17, 2021
@Antoine-apydev
Copy link
Author

@pimodoo hi :) just a ping

@Rakoun
Copy link

Rakoun commented Jul 22, 2021

Bonjour,

There are another bug on this module.
Yon can't remove a product line. I mention it on Odoo support but no answer from several days. It is very embarrassing for my customers.

Regards

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

No branches or pull requests

2 participants