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

TakePos Once payment is complet, a click on a product should start a new sale #32691

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dbeniamine
Copy link
Contributor

New Start a new sale on click product on TakePOS

We upgraded a customer from Dolibarr 17.x to 20.x and they add an issue : on Dolibarr 17.x on TakePOS when we click on a product after a sale is complete it tries to update the sell instead of creating a new one.

This patchs allows to start a new sell by clicking a product

@eldy
Copy link
Member

eldy commented Jan 19, 2025

What if payment is partial ?
For example invoice is 100, payment recorded is 80, then we add a product to complete the invoice.
Is a new invoice created or product added on existing invoice ?

@eldy eldy added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Jan 19, 2025
@dbeniamine
Copy link
Contributor Author

What if payment is partial ? For example invoice is 100, payment recorded is 80, then we add a product to complete the invoice. Is a new invoice created or product added on existing invoice ?

As expected, in this use cas you get a warning that the operation is not possible (adding a product to a partially payed bill) :

image
image

Et then I still can finish the payment and the next click on product will trigger a new sale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Some questions or discussions are opened and wait answers of author or other people to be processed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants