[18.0][MOV] product_set_sell_only_by_packaging: Migration to 18.0#3494
Conversation
9d43c74 to
e5f87ca
Compare
jbaudoux
left a comment
There was a problem hiding this comment.
Shouldn't this module be renamed to sale_product_set_sell_only_by_packaging ?
And in regards of my comment #3474 (review) maybe it should just be product_set_sell_only_by_packaging as I don't see any sales feature in this module
e5f87ca to
bb61de7
Compare
Hello @jbaudoux, agreed, I renamed the module, thank you so much |
|
|
bb61de7 to
5b57ad5
Compare
5b57ad5 to
3ada4e2
Compare
|
Hello @trisdoan , I think there is an issue with the history contained in this PR? It includes also the code of |
3ada4e2 to
81d7a84
Compare
81d7a84 to
4afe82a
Compare
|
Hello @sebalix, I fixed it, please help to review 🙏 |
| # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) | ||
|
|
||
| from odoo import exceptions | ||
| from odoo.tests.common import TransactionCase |
There was a problem hiding this comment.
Wouldn't it be better to use the BaseCommon as the base test class?
| @@ -0,0 +1,121 @@ | |||
| # Translation of Odoo Server. | |||
| # This file contains the translation of the following modules: | |||
| # * sale_product_set_sale_by_packaging | |||
There was a problem hiding this comment.
I can see that the module name has been updated in the translation files, except for this line. It should be updated as well, right?
twalter-c2c
left a comment
There was a problem hiding this comment.
LG in general, small remarks to check.
When * packaging cannot be sold anymore * lines are tied to a product that can be sold only by packaging and have no packaging change the packaging on the line to the 1st saleable packaging.
Currently translated at 100.0% (15 of 15 strings) Translation: sale-workflow-14.0/sale-workflow-14.0-sale_product_set_sale_by_packaging Translate-URL: https://translation.odoo-community.org/projects/sale-workflow-14-0/sale-workflow-14-0-sale_product_set_sale_by_packaging/es/
fd448c4 to
f69c615
Compare
Renamed from sale_product_set_sale_by_packaging to product_set_sell_only_by_packaging
f69c615 to
50bf2d1
Compare
|
/ocabot merge nobump |
|
This PR looks fantastic, let's merge it! |
|
Congratulations, your PR was merged at faa03ff. Thanks a lot for contributing to OCA. ❤️ |
Note
[18.0][MIG] sale_product_set #3386[18.0][MIG] sale_product_set: Migration to 18.0 #3583Changes in 18.0
sale_product_set_sale_by_packagingtoproduct_set_sell_only_by_packagingcan_be_soldis now replaced by standard Odoo field:sales, which was introduced from 15.0 in odoo/odoo@a2b207cgroup_discount_per_so_linewas moved to module sale in here odoo/odoo@82eb2b5sell_only_by_packagingwritable in object ProductSetLine to bypass oca-ci testsale_by_packagingwas stopped to migrate since 15.0,sell_only_by_packagingwas introduced to replace, inhttps://github.com/OCA/sale-workflow/pull/2623, which is migrated to 18.0 in