-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[MIG] sale_exception: Migration to 16.0 #2344
Commits on Nov 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 54ae331 - Browse repository at this point
Copy the full SHA 54ae331View commit details -
Configuration menu - View commit details
-
Copy full SHA for dffe199 - Browse repository at this point
Copy the full SHA dffe199View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9161a02 - Browse repository at this point
Copy the full SHA 9161a02View commit details -
Configuration menu - View commit details
-
Copy full SHA for faf2bf4 - Browse repository at this point
Copy the full SHA faf2bf4View commit details -
[FIX] sale_exception: count stock from selected warehouse
Rule should only count available stock from selected warehouse from sale order. Without warehouse in context, it currently sums all stock available in all warehouses.
Configuration menu - View commit details
-
Copy full SHA for 92b2e3d - Browse repository at this point
Copy the full SHA 92b2e3dView commit details -
The previous parent menu has an action attached, and with these modules, it can't be clicked.
Configuration menu - View commit details
-
Copy full SHA for 050aff9 - Browse repository at this point
Copy the full SHA 050aff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d11acd - Browse repository at this point
Copy the full SHA 3d11acdView commit details -
* [FIX] sale_exception confirm wizard * [FIX] add test of test_all_draft_orders & flake8 & readme.rst * [FIX] improve codecov test * [FIX] delete odl translation * [FIX] add Camptocamp to author * [FIX] readme.rst
Configuration menu - View commit details
-
Copy full SHA for ca2476c - Browse repository at this point
Copy the full SHA ca2476cView commit details -
[FIX] sale_exception constraint
Raise SingletonError when you have a recordset with multiple sale order. This restore the capability to write on multiple sale.order
Configuration menu - View commit details
-
Copy full SHA for 4b1c56d - Browse repository at this point
Copy the full SHA 4b1c56dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0de66e - Browse repository at this point
Copy the full SHA c0de66eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d83b65 - Browse repository at this point
Copy the full SHA 6d83b65View commit details -
[FIX] sale_exception: Menu location (OCA#719)
Currently, it's located at the root menu because. It's a migration bug because the old menu was removed from 11.0.
Configuration menu - View commit details
-
Copy full SHA for 784721a - Browse repository at this point
Copy the full SHA 784721aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f63edd - Browse repository at this point
Copy the full SHA 3f63eddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87607dd - Browse repository at this point
Copy the full SHA 87607ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6698b - Browse repository at this point
Copy the full SHA 7f6698bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c5420a - Browse repository at this point
Copy the full SHA 9c5420aView commit details -
Add test and fix apple and orange mixing error between sale order and…
… sale order line
Configuration menu - View commit details
-
Copy full SHA for df1a1a8 - Browse repository at this point
Copy the full SHA df1a1a8View commit details -
sale_exception: Remove side effect from api.constrains
The method called by 'sale_check_exception' has a side effect, it writes on 'exception.rule' + on the Many2many relation between it and sale.order(.line). When decorated by @api.constrains, any error during the method will be caught and re-raised as "ValidationError". This part of code is very prone to concurrent updates as 2 sales having the same exception will both write on the same 'exception.rule'. A concurrent update (OperationalError) is re-raised as ValidationError, and then is not retried properly. Calling the same method in create/write has the same effect than @api.constrains without shadowing the exception type. Full explanation: OCA/server-tools#1642
Configuration menu - View commit details
-
Copy full SHA for 3f5d38a - Browse repository at this point
Copy the full SHA 3f5d38aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a6e29b - Browse repository at this point
Copy the full SHA 6a6e29bView commit details -
[IMP] sale exception (OCA#878)
* [IMP] sale_exception: show menu only to Exception Rule Managers * [IMP] Reindent lines to 4 spaces * [IMP] Improve information messages that display exceptions * [REM] Remove exception_ids fields from the sale order view, because it's no longer necessary and it allowed users to accidentaly deactivate a Sale Exception Rule using the active widget. * [IMP] Rename exception_ids_formatted to exceptions_summary
Configuration menu - View commit details
-
Copy full SHA for e315637 - Browse repository at this point
Copy the full SHA e315637View commit details -
[FIX] sale_exception: Disable failing test
Disable for now as the solution is not obvious. Partially fixes OCA#972
Configuration menu - View commit details
-
Copy full SHA for 23663cb - Browse repository at this point
Copy the full SHA 23663cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d575d - Browse repository at this point
Copy the full SHA 46d575dView commit details -
[FIX] sale_exception: Disable test via __init__
Other ways it provokes linter fail
Configuration menu - View commit details
-
Copy full SHA for ac7af3d - Browse repository at this point
Copy the full SHA ac7af3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa82a2 - Browse repository at this point
Copy the full SHA 5aa82a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cea287d - Browse repository at this point
Copy the full SHA cea287dView commit details -
sale_exception: fix test class
TestSaleOrder was useless and making sale order tests run twice.
Configuration menu - View commit details
-
Copy full SHA for 18f9d57 - Browse repository at this point
Copy the full SHA 18f9d57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 637ff79 - Browse repository at this point
Copy the full SHA 637ff79View commit details -
Configuration menu - View commit details
-
Copy full SHA for a892cdc - Browse repository at this point
Copy the full SHA a892cdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47a524f - Browse repository at this point
Copy the full SHA 47a524fView commit details -
Configuration menu - View commit details
-
Copy full SHA for be850cb - Browse repository at this point
Copy the full SHA be850cbView commit details -
sale_exception: keep detail of exceptions on lines
So we can: * display the lines with an exception in red * show the exception messages when we click on a line It's a huge usability improvement when users have dozens or hundreds of lines.
Configuration menu - View commit details
-
Copy full SHA for 15c40c8 - Browse repository at this point
Copy the full SHA 15c40c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for caed266 - Browse repository at this point
Copy the full SHA caed266View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9b0b6c - Browse repository at this point
Copy the full SHA a9b0b6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79ca913 - Browse repository at this point
Copy the full SHA 79ca913View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-13.0/sale-workflow-13.0-sale_exception Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-13-0/sale-workflow-13-0-sale_exception/
Configuration menu - View commit details
-
Copy full SHA for be0fec6 - Browse repository at this point
Copy the full SHA be0fec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 080c356 - Browse repository at this point
Copy the full SHA 080c356View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac5f1f9 - Browse repository at this point
Copy the full SHA ac5f1f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5661fc4 - Browse repository at this point
Copy the full SHA 5661fc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61a514a - Browse repository at this point
Copy the full SHA 61a514aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a236824 - Browse repository at this point
Copy the full SHA a236824View commit details -
Translated using Weblate (Spanish)
Currently translated at 21.0% (8 of 38 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_exception Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_exception/es/
Configuration menu - View commit details
-
Copy full SHA for 660a181 - Browse repository at this point
Copy the full SHA 660a181View commit details -
Translated using Weblate (German)
Currently translated at 73.6% (28 of 38 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_exception Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_exception/de/
Configuration menu - View commit details
-
Copy full SHA for 04b9375 - Browse repository at this point
Copy the full SHA 04b9375View commit details -
[13.0][FIX] sale_exception ignore after confirm
After the sale order has been confirmed, some fields can still be changed, those changes can raise some more excetptions again. Unfortunatelly those changes are raised as ValidationError and they are blocking. If during the confirmation of the sale.order the ignore excetpiton has been used. Those same ignored exception will block some changes made when the sale order is in `sale` state. And this problem is due to that onchange that this PR removes. Why should the ignore_exception be set to false when lines are changed but not when some fields on the sale.order record are changed ?
Configuration menu - View commit details
-
Copy full SHA for 86a9570 - Browse repository at this point
Copy the full SHA 86a9570View commit details -
Configuration menu - View commit details
-
Copy full SHA for 771518c - Browse repository at this point
Copy the full SHA 771518cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a111de1 - Browse repository at this point
Copy the full SHA a111de1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7bee9b4 - Browse repository at this point
Copy the full SHA 7bee9b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7411e5b - Browse repository at this point
Copy the full SHA 7411e5bView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: sale-workflow-14.0/sale-workflow-14.0-sale_exception Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_exception/
Configuration menu - View commit details
-
Copy full SHA for 5126142 - Browse repository at this point
Copy the full SHA 5126142View commit details -
Configuration menu - View commit details
-
Copy full SHA for 859d746 - Browse repository at this point
Copy the full SHA 859d746View commit details -
Configuration menu - View commit details
-
Copy full SHA for f064fb1 - Browse repository at this point
Copy the full SHA f064fb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae5e27a - Browse repository at this point
Copy the full SHA ae5e27aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df77fa - Browse repository at this point
Copy the full SHA 1df77faView commit details
Commits on Dec 16, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4be9ab6 - Browse repository at this point
Copy the full SHA 4be9ab6View commit details
Commits on Jan 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ae6a959 - Browse repository at this point
Copy the full SHA ae6a959View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a6c9d9 - Browse repository at this point
Copy the full SHA 5a6c9d9View commit details