-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[WIP][17.0][IMP] sale_restricted_qty: UX #2997
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
base: 17.0
Are you sure you want to change the base?
[WIP][17.0][IMP] sale_restricted_qty: UX #2997
Conversation
… and manual_force_sale_max_qty (imp user UI)
… other module & pep8
Currently translated at 7.4% (4 of 54 strings) Translation: sale-workflow-12.0/sale-workflow-12.0-sale_restricted_qty Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings) Translation: sale-workflow-12.0/sale-workflow-12.0-sale_restricted_qty Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-12-0/sale-workflow-12-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
Currently translated at 100.0% (54 of 54 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_restricted_qty Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_restricted_qty/it/
|
@rousseldenis @rafaelbn prior to diving too deep, there are two ways I can tackle this: A. Migrate to v17 and then refractor the hell out if this module. Either way, I want to get some feedback on the UX refactor itself first :) |
aca29aa to
961917d
Compare
961917d to
281db23
Compare
|
Hello @alexey-pelykh , I've never used this module 😢 Maybe the opinion of original author from Akretion are more valuable @Amourad-ehm @victoralmau @sbiosca-s73 @SirAionTech @rvalyi Best regards! 😄 ❤️ |
|
Just unlocked 🔓 a feature: No you will get an error message, unable to save the product. |
|
Yep, by design - you can have either a warning or an error |
Video_2025-10-21_18-02-04.mp4
aah. so this is intended behaviour? My use case, client has a messy system. (rescue project) |
|
@Bost you have Restrict selected as "yes" - this means it won't allow to save if validation fails, regardless if there was mistake before or no. |
|
No, I don't. But @bosd has 😜 |
|
Ahah, sorry, was typing from the phone :) |
It is possible, but you won't be able to save-after-edit those historical orders that violate the rule. That's the "enforcement" part. Historical orders mean "no change" |
|
Restrict = No means that you'll get only the yellow warning highlight of the bad line |
aah. are we talking about the same item? Having an historical order, which violate the rule now block saving of the product template. The error message shown is not very clear about that. And as end user it is quite confusing. A strong use case of this module, would be as described, MOQ went wrong in the past. They install, this module to prevent it from happening in the future.
Aaha, clear... That would be a valuable addition to the docs.. |


Depends on #2996