-
-
Notifications
You must be signed in to change notification settings - Fork 618
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][IMP] pos_default_partner: set default partner also in pos ui #1276
base: 16.0
Are you sure you want to change the base?
Conversation
@OCA/pos-maintainers could someone please review or merge this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successful functional test
- default partner auto selected in POS at opening and after each sale
- partner can be changed or manually unselected
- when no default partner is set in the config, no error and no partner is auto selected
Hello @huguesdk, Thanks for your contribution! In my opinion, there are processes in PoS interface that need a specific partner, and they would use by default the one in this module. For example, if cashier clicks on invoice button, an invoice for default partner would be generated, with no warning or redirection to partner selection screen. That's because there would be no distinction between a real customer and default partner (as in invoice example). In addition, default customer data would be shown on ticket. Could you please take this in consideration and rebase to rebuild runboat and confirm those behaviours? Thanks in advance Regards. |
89be3c2
to
a018ab4
Compare
@danielduqma thanks for your message! indeed, with a default partner configured, there would be no warning if an invoice is created and no partner has been selected, but there is a clear visual hint that a partner is already set (name and teal background). after all, isn’t this the expected behavior of this module? should the default partner be removed in case an invoice is generated, or the warning still present if the default partner is selected? a runboat build has been triggered. |
Thanks @huguesdk! As we see this point (Spain) it would not be right to create a complete invoice assigned to this generic partner. In fact, there are many processes apart from invoicing that require a real customer to be selected, like Regards. |
@danielduqma i understand. what would you suggest as behavior, then? the roadmap contained “set the default customer also on the pos ui.”, which is what is done here. |
Yes, this is in the roadmap but it hasn't been done I guess because it's not as simple as assigning default partner at the beginning of the process. Besides, this assignment would include its data in ticket, so a real customer would be able to see it. I don't really know what was pretended to be done, according to roadmap, but the other option I'd prefer is to change placeholder of set customer button (here and here), showing cashier that default partner will be assigned if no customer is selected but without actual modifications in order until it is saved at server side. Regards. |
No description provided.