Skip to content

[17.0][MIG] product_sold_by_delivery_week: Migration to 17.0#312

Open
BhaveshHeliconia wants to merge 16 commits intoOCA:17.0from
HeliconiaIO:17.0-mig-product_sold_by_delivery_week
Open

[17.0][MIG] product_sold_by_delivery_week: Migration to 17.0#312
BhaveshHeliconia wants to merge 16 commits intoOCA:17.0from
HeliconiaIO:17.0-mig-product_sold_by_delivery_week

Conversation

@BhaveshHeliconia
Copy link
Copy Markdown
Contributor

No description provided.

@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-product_sold_by_delivery_week branch from 1d1496d to 92ee38a Compare January 22, 2025 12:00
@BhaveshHeliconia BhaveshHeliconia mentioned this pull request Feb 24, 2025
13 tasks
@github-actions
Copy link
Copy Markdown

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 25, 2025
@BhaveshHeliconia
Copy link
Copy Markdown
Contributor Author

Hey @OCA/crm-sales-marketing-maintainers would be great if someone could have a look at this module.

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 1, 2025
@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-product_sold_by_delivery_week branch from 92ee38a to b4bf341 Compare July 4, 2025 12:27
@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-product_sold_by_delivery_week branch from b4bf341 to 946a077 Compare July 25, 2025 10:15
@github-actions
Copy link
Copy Markdown

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.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Nov 23, 2025
@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-product_sold_by_delivery_week branch from 946a077 to d6dd6cc Compare November 25, 2025 05:05
@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Nov 30, 2025
@rousseldenis
Copy link
Copy Markdown
Contributor

/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, {})
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@BhaveshHeliconia No need of this as you already have environment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rousseldenis Yes, you're right. Thanks!

@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-product_sold_by_delivery_week branch from d6dd6cc to b58f5e2 Compare December 10, 2025 11:59
chienandalu and others added 12 commits March 11, 2026 16:09
…g data instead use dot notation. Add security groups to avoid unnecessary compute.

TT32983
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/
yajo and others added 4 commits March 11, 2026 16:09
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/
@BhaveshHeliconia BhaveshHeliconia force-pushed the 17.0-mig-product_sold_by_delivery_week branch from b58f5e2 to 4daa8df Compare March 11, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.