Issue 10948

Add default sale_point on user preferences
Nosy list
Davidoff, ced, pokoli, reviewbot
Assigned to
easy, review

Created on 2021-11-11.09:24:27 by pokoli, last changed 2 months ago by ced.


Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-09-10.09:55:57

Indeed I think it will be even better that the wizard detect automatically the POS from the IP of the user.
On the POS definition we could set two IPs (usually one IPv4 and one IPv6 which should be unique) and so the wizard does not ask for the POS but set it automatically depending of the request IP.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-01-21.17:16:34

Instead of using a wizard, I'm wondering if it will not be better to have a simple list of all point (accessible to the user) and have a tree_open action to open the sales window from that point.
But we will still need a menu entry for all the POS Sales for the sale administrator to check that all sales are done at the end of the day.

The same applies to cash sessions which should be opened from a sale point.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-11-11.10:35:01

I'm not sure it should be managed the same way because user may change frequently of sale point but the preferences are not designed for frequent change.
Instead I'm wondering if it will not be better to ask for the sale point when opening the "POS Sales" menu entry and then if a point is selected, restrict the field value with a domain constraint (and no constraint if not point is selected).

Author: [hidden] (pokoli) Tryton committer Tryton translator
Date: 2021-11-11.09:24:25

In order to ease the introduction of sale points it will be great if the user can set on it's preferences the current point which is working on.

This is similar to issue8396 but for sale_point module.

Date User Action Args
2022-09-10 09:55:57cedsetmessages: + msg77967
2022-03-30 13:33:39reviewbotsetmessages: + msg74852
2022-03-30 13:02:55reviewbotsetmessages: + msg74851
2022-02-14 13:20:39reviewbotsetmessages: + msg74103
2022-01-21 17:16:34cedsetmessages: + msg73384
2022-01-07 12:46:27reviewbotsetmessages: + msg73174
2022-01-04 13:22:59reviewbotsetmessages: + msg73087
nosy: + reviewbot
2022-01-04 13:18:25Davidoffsetassignedto: Davidoff
keyword: + review
nosy: + Davidoff
reviews: 380021002
status: chatting -> testing
2021-11-11 10:35:01cedsetmessages: + msg71603
nosy: + ced
status: unread -> chatting
2021-11-11 09:24:31pokolisetpriority: bug -> feature

Showing 10 items. Show all history (warning: this could be VERY long)