Skip to content

Conversation

@tarteo
Copy link
Member

@tarteo tarteo commented Sep 17, 2025

carlos-domatix and others added 30 commits September 17, 2025 14:02
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/
Currently translated at 58.8% (96 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/tr/
Currently translated at 61.3% (100 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/tr/
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% (164 of 164 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 100.0% (164 of 164 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/tr/
Currently translated at 100.0% (164 of 164 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/ca/
@chrisandrewmann
Copy link

@chrisandrewmann I've fixed the kanban and added currency to the list view

Thanks @tarteo, just checked and mostly sorted but one place the currency still shows as missing.
image

@tarteo tarteo force-pushed the 18-mig-subscription branch from f80b2b2 to 9cbf302 Compare September 19, 2025 11:23
@tarteo
Copy link
Member Author

tarteo commented Sep 19, 2025

@chrisandrewmann Fixed! :)

@tarteo tarteo force-pushed the 18-mig-subscription branch from 9cbf302 to b2f98fb Compare September 19, 2025 11:26
@ivilata
Copy link

ivilata commented Sep 25, 2025

Thanks @tarteo for the PR (and @chrisandrewmann for the testing)! Does this PR also supersede #1245?

@tarteo
Copy link
Member Author

tarteo commented Sep 25, 2025

@ivilata Yes

Copy link

@ivilata ivilata left a comment

Choose a reason for hiding this comment

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

Thanks @tarteo for the PR! It looks good to me, and I found no issues with manual testing on Runboat.

@chrisandrewmann, if you're also happy with the adaptation, you may want to create a proper positive review so that we can unlock the merging process. Thanks!

Copy link

@chrisandrewmann chrisandrewmann left a comment

Choose a reason for hiding this comment

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

Amazing. Looks good to me, did a quick test of a new subscription, triggered the scheduler to generate invoice and then closed subscription.

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

1 similar comment
@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@ivilata
Copy link

ivilata commented Oct 2, 2025

@rousseldenis, if the PR looks good to you, would you mind accepting it for meging?

Thanks a lot! 🙂

@chrisandrewmann
Copy link

chrisandrewmann commented Oct 8, 2025

@tarteo I found a small issue if you have time to fix it?

The messages posted to chatter in sale_subscription.py look like this:
image

The solution is 2 lines of code below, works for me.

Line 7: from markupsafe import Markup
Line 364: self.message_post(body=Markup(message_body))

@tarteo tarteo force-pushed the 18-mig-subscription branch from b2f98fb to d182208 Compare October 9, 2025 11:27
@tarteo
Copy link
Member Author

tarteo commented Oct 9, 2025

@chrisandrewmann Yes, I fixed it! 😄

@chrisandrewmann
Copy link

@carlos-domatix @carolina-domatix could you please approve to merge this?

I have a new PR i'd like to submit which adds automated payments via payment tokens to subscription_oca, something I feel is crucially important for many.

Copy link

@carlos-domatix carlos-domatix left a comment

Choose a reason for hiding this comment

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

LGTM, but I don’t have permissions to merge. @rousseldenis could you please review it when you have a moment?

"website": "https://github.com/OCA/contract",
"license": "AGPL-3",
"author": "Domatix, Odoo Community Association (OCA)",
"author": "Domatix, Onestein, Odoo Community Association (OCA)",
Copy link
Contributor

Choose a reason for hiding this comment

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

@tarteo Are you really author? Migration does not mean necessarily you become one.

Copy link
Member Author

Choose a reason for hiding this comment

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

See previous PRs on this module. We've put alot of time in this module...

#1058

@rousseldenis
Copy link
Contributor

Includes:

Apply changes of #1058

Apply changes of #1224

Apply changes of #1210

Apply changes of #1167

@tarteo I don't see the corresponding commits here

@rousseldenis
Copy link
Contributor

Continuation of: #1209

It is fair to keep original migration commits

@tarteo
Copy link
Member Author

tarteo commented Oct 15, 2025

@rousseldenis I had to reopen the PR because I did something bad while rebasing, then I just created a separate branch as all commits must be rebased into one commit anyways.

@tarteo
Copy link
Member Author

tarteo commented Oct 15, 2025

I will not waste anymore time on this, accept it as is or close the PR. If you want to change anything create a new PR copy the changes and merge that with "ACSONE" as author I don't really care...

@ivs-cetmix
Copy link
Member

@tarteo thank you for your contribution! @rousseldenis what are the acceptance criterias for having this merged? Pick all the commits from #1209 and put them in this branch? Are they really needed for the module to work?

@chrisandrewmann
Copy link

Thanks for all your work @tarteo
I would also be keen to see this merged ASAP @rousseldenis
It's holding up a PR i'd like to make for further improvements as mentioned above (adding automatic payments).

@ivs-cetmix
Copy link
Member

ivs-cetmix commented Oct 24, 2025

@chrisandrewmann let's wait until next the week. It there is no feedback please ping me, I will merge it as is.

@ivs-cetmix
Copy link
Member

Hi @rousseldenis would appreciate you looking into this. Would be great to have it merged.

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.