Skip to content

[19.0][MIG] subscription_oca: Migration to 19.0#1393

Open
stferraro wants to merge 34 commits into
OCA:19.0from
Jenrax-git:19.0-mig-subscription_oca
Open

[19.0][MIG] subscription_oca: Migration to 19.0#1393
stferraro wants to merge 34 commits into
OCA:19.0from
Jenrax-git:19.0-mig-subscription_oca

Conversation

@stferraro
Copy link
Copy Markdown

“Applied the requested test corrections as per review.”

@yvaucher
Copy link
Copy Markdown
Member

/ocabot migration subscription_oca

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Feb 24, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Feb 24, 2026
27 tasks
@yvaucher yvaucher changed the title 19.0 mig subscription oca [19.0][MIG] subscription_oca Feb 24, 2026
@yvaucher
Copy link
Copy Markdown
Member

@stferraro The commit history looks really weird, you need to keep the history of the module

I expect to see those commits:

https://github.com/OCA/contract/commits/17.0/subscription_oca

(translation commits can be merged)

Please find here the whole instructions for module migration: https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-19.0

Copy link
Copy Markdown
Member

@yvaucher yvaucher left a comment

Choose a reason for hiding this comment

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

Commit history is broken

@stferraro
Copy link
Copy Markdown
Author

@yvaucher ok close this pr and open new with this change for migrate this module

@yvaucher
Copy link
Copy Markdown
Member

yvaucher commented Feb 24, 2026

You can push force on this one to fix it, no need to close it.

carlos-domatix and others added 22 commits March 5, 2026 19:11
Currently translated at 95.7% (159 of 166 strings)

Translation: contract-16.0/contract-16.0-subscription_oca
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-subscription_oca/nl/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-17.0/contract-17.0-subscription_oca
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-subscription_oca/
Currently translated at 100.0% (163 of 163 strings)

Translation: contract-17.0/contract-17.0-subscription_oca
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-subscription_oca/it/
Currently translated at 92.6% (151 of 163 strings)

Translation: contract-17.0/contract-17.0-subscription_oca
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-subscription_oca/fi/
@stferraro
Copy link
Copy Markdown
Author

@rickard-w

Thank you for the clarification.

I have reviewed both version 17 and 18, and I was not able to find any record rule related to multi-company in those implementations of the module.

Could you please point me to the specific PR or commit where this record rule was introduced, and in which part of the module it should be located?

This will help ensure the implementation is aligned correctly with the intended standard approach.

Thanks again for your support.

@stferraro
Copy link
Copy Markdown
Author

@yvaucher please approved this PR and merge to 19.0

@rickard-w
Copy link
Copy Markdown

@ stferraro Sorry for misleading you. What I meant was that I have implemented the record rule in my local v17 installation. I'm a newbie to this so I don't know how to add stuff in here :)

@thib-d
Copy link
Copy Markdown

thib-d commented May 5, 2026

@yvaucher can we merge this pr ? Looking forward for the contract v19 :)

@stferraro stferraro changed the title [19.0][MIG] subscription_oca [19.0][MIG] subscription_oca: Migration to 19.0 May 5, 2026
@stferraro stferraro force-pushed the 19.0-mig-subscription_oca branch from d46db7c to 00b7f8b Compare May 5, 2026 16:16
@OCA-git-bot OCA-git-bot added series:19.0 mod:subscription_oca Module subscription_oca labels May 5, 2026
@stferraro
Copy link
Copy Markdown
Author

hi, @pedrobaeza please check this pr and approve !

@pedrobaeza
Copy link
Copy Markdown
Member

Sorry, nop, I don't use it, and I don't want to either, because for me, the best one is contract for this task.

@yvaucher
Copy link
Copy Markdown
Member

yvaucher commented May 5, 2026

Final code looks good, I have just a doubt on the git history, did you integrate an additional fix for #1320min the migration commit? If so could you separate it in an other commit? It would help for backport.

@stferraro stferraro force-pushed the 19.0-mig-subscription_oca branch 2 times, most recently from 50396e2 to be39aba Compare May 5, 2026 21:14
@stferraro
Copy link
Copy Markdown
Author

Hi!, @yvaucher
The migration and the fix for bug #1320 have been split into two separate commits to keep the history clean and facilitate backporting.
You can proceed with the review/approval.
Thanks for your feedback!

Copy link
Copy Markdown
Member

@yvaucher yvaucher left a comment

Choose a reason for hiding this comment

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

Code LGTM

Just rename your Migraçion commit to be in English.

@stferraro stferraro force-pushed the 19.0-mig-subscription_oca branch from be39aba to 8dc41de Compare May 6, 2026 12:03
@stferraro stferraro requested a review from yvaucher May 6, 2026 12:03
@yvaucher
Copy link
Copy Markdown
Member

yvaucher commented May 6, 2026

@thib-d it requires a second approval, if you tested it and approve this PR we can merge it.

@stferraro
Copy link
Copy Markdown
Author

Hi, @CristianoMafraJunior please check this PR and approve

@thib-d
Copy link
Copy Markdown

thib-d commented May 7, 2026

#1428 @stferraro I saw this, is it a bug or a misunderstanding ?
Are we suppose to be able to create subscription via the webshop ?

@stferraro
Copy link
Copy Markdown
Author

Hi!, @thib-d , i resolve the bug (#1428), for your second question based on the module documentation, this functionality is out of scope for subscription_oca.
The documented scope covers:

Subscription management from the backend (create/manage subscriptions, start date, recurring invoicing via cron).
Subscription creation from Sales Orders using subscribable products and subscription templates.
It does not document or implement direct subscription creation from webshop/eCommerce flows, so that expectation would belong to another website-specific addon/integration.

@stferraro stferraro requested a review from yvaucher May 7, 2026 23:29
@stferraro
Copy link
Copy Markdown
Author

@thib-d please code review and functional test please !

@stferraro
Copy link
Copy Markdown
Author

Hi, @Tisho99 please check this pr

@thib-d
Copy link
Copy Markdown

thib-d commented May 9, 2026

Didn't saw saw any bug :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.