[17.0][MIG] product_sold_by_delivery_week: Migration to 17.0#312
[17.0][MIG] product_sold_by_delivery_week: Migration to 17.0#312BhaveshHeliconia wants to merge 16 commits intoOCA:17.0from
Conversation
1d1496d to
92ee38a
Compare
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
|
Hey @OCA/crm-sales-marketing-maintainers would be great if someone could have a look at this module. |
92ee38a to
b4bf341
Compare
b4bf341 to
946a077
Compare
|
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
946a077 to
d6dd6cc
Compare
|
/ocabot migration product_sold_by_delivery_week |
| env = api.Environment(cr, SUPERUSER_ID, {}) | ||
| env["product.product"]._action_recalculate_all_weekly_sold_delivered() | ||
| def post_init_hook(env): | ||
| envs = api.Environment(env.cr, SUPERUSER_ID, {}) |
There was a problem hiding this comment.
@BhaveshHeliconia No need of this as you already have environment.
There was a problem hiding this comment.
@rousseldenis Yes, you're right. Thanks!
d6dd6cc to
b58f5e2
Compare
…g data instead use dot notation. Add security groups to avoid unnecessary compute. TT32983
…partners_for_reporting TT39913
…n dict TT40635 TT40642
Currently translated at 100.0% (9 of 9 strings) Translation: sale-reporting-16.0/sale-reporting-16.0-product_sold_by_delivery_week Translate-URL: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-product_sold_by_delivery_week/es/
Currently translated at 100.0% (9 of 9 strings) Translation: sale-reporting-16.0/sale-reporting-16.0-product_sold_by_delivery_week Translate-URL: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-product_sold_by_delivery_week/it/
A user with basic stock and sale permissions couldn't validate a picking because it meant writing a field into the product. Now that write is issued with `sudo()`. I refactored a bit the tests. They were testing very weird scenarios that would never happen in the real world. And, what's more interesting, they were not testing the real world scenarios. I lowered the permissions in tests, to make sure that the module works with the basic permissions. Finally, I also changed some spelling mistakes that I simply could not help but change. @moduon MT-5114
Currently translated at 100.0% (9 of 9 strings) Translation: sale-reporting-16.0/sale-reporting-16.0-product_sold_by_delivery_week Translate-URL: https://translation.odoo-community.org/projects/sale-reporting-16-0/sale-reporting-16-0-product_sold_by_delivery_week/pt_BR/
b58f5e2 to
4daa8df
Compare
No description provided.