Skip to content

[19.0] [MIG] contract: Migration to 19.0 - #1312

Merged
OCA-git-bot merged 273 commits into
OCA:19.0from
HeliconiaIO:19.0-mig-contract
Jun 11, 2026
Merged

[19.0] [MIG] contract: Migration to 19.0#1312
OCA-git-bot merged 273 commits into
OCA:19.0from
HeliconiaIO:19.0-mig-contract

Conversation

@BhaveshHeliconia

Copy link
Copy Markdown
Contributor

No description provided.

@BhaveshHeliconia
BhaveshHeliconia force-pushed the 19.0-mig-contract branch 2 times, most recently from b18f362 to 885e5a6 Compare October 8, 2025 12:17
@tishmen

tishmen commented Oct 17, 2025

Copy link
Copy Markdown

@BhaveshHeliconia can you please handle the failing tests so we can push this forward?

@BhaveshHeliconia
BhaveshHeliconia force-pushed the 19.0-mig-contract branch 5 times, most recently from a38846e to c99f54f Compare October 17, 2025 03:57
@mamcode

mamcode commented Oct 27, 2025

Copy link
Copy Markdown
Member

@BhaveshHeliconia could you please re-run the CI checks?
I’ve tested locally with the latest ghcr.io/oca/oca-ci:py3.11-19.0 image, and it seems the CI is using an outdated cache because I am getting different errors from unit tests.

@BhaveshHeliconia
BhaveshHeliconia force-pushed the 19.0-mig-contract branch 2 times, most recently from a653227 to 3251a90 Compare November 12, 2025 12:05
@BhaveshHeliconia

Copy link
Copy Markdown
Contributor Author

@tishmen @mamcode : CI is green now. Thanks!

@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration contract

Please cherry-pick #1343

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Nov 19, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Nov 19, 2025
27 tasks
@BhaveshHeliconia

Copy link
Copy Markdown
Contributor Author

/ocabot migration contract

Please cherry-pick #1343

@pedrobaeza : Done. Thanks!

Comment thread contract/models/contract_template_line.py Outdated
Comment thread contract/tests/test_contract.py Outdated
Comment thread contract/tests/test_contract.py Outdated
Comment thread contract/tests/test_portal.py Outdated
@BhaveshHeliconia
BhaveshHeliconia force-pushed the 19.0-mig-contract branch 2 times, most recently from 65801a9 to 4ce03c5 Compare November 21, 2025 04:27
@BhaveshHeliconia

Copy link
Copy Markdown
Contributor Author

@pedrobaeza : I’ve completed all the changes you recommended. Thanks for the feedback!

Comment thread contract/models/contract_template_line.py Outdated
Comment thread contract/models/contract_template_line.py Outdated
Comment thread contract/tests/test_contract.py Outdated
Comment thread contract/tests/test_contract.py Outdated
Comment thread contract/tests/test_contract.py Outdated
@BhaveshHeliconia
BhaveshHeliconia force-pushed the 19.0-mig-contract branch 2 times, most recently from b527c46 to 4e377c2 Compare November 21, 2025 09:51
@pedrobaeza

Copy link
Copy Markdown
Member

Please include #1341

@BhaveshHeliconia

Copy link
Copy Markdown
Contributor Author

Please include #1341

Done. Thanks!

@BhaveshHeliconia
BhaveshHeliconia force-pushed the 19.0-mig-contract branch 2 times, most recently from 298d48b to 847b186 Compare June 1, 2026 05:27
@BhaveshHeliconia

Copy link
Copy Markdown
Contributor Author

@carlos-lopez-tecnativa I've solved that issue. Thanks!

@bosd

bosd commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

@carlos-lopez-tecnativa Can we move forward with this one?

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

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 Please check my comment about this commit: 501d387 It seems to be mixing code changes with translation changes.

Everything else looks good. If @pedrobaeza agrees, it can be merged as far as I'm concerned. However, I think the commit mentioned above should be reworked and split into separate commits.

@pedrobaeza

Copy link
Copy Markdown
Member

Yes, please, let's fix that commit.

qgroulard and others added 14 commits June 11, 2026 10:09
This field slightly degrades performance.
We don't need to maintain retro-compatibility with 11- anymore.
Currently translated at 6.6% (17 of 256 strings)

Translation: contract-18.0/contract-18.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-contract/sl/
Currently translated at 96.4% (247 of 256 strings)

Translation: contract-18.0/contract-18.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-contract/ca/
Allow to hook contract._prepare_invoice to add more invoice lines
Fix date_ref when invoicing multiple contracts
Currently translated at 92.5% (237 of 256 strings)

Translation: contract-18.0/contract-18.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-contract/es/
@BhaveshHeliconia

Copy link
Copy Markdown
Contributor Author

@carlos-lopez-tecnativa @pedrobaeza I've separated the commit. Could you please check whether it looks correct now?

If there are still any improvements needed, please let me know and I'll address them.

@pedrobaeza

Copy link
Copy Markdown
Member

Let's merge it, although the separation is not totally clean, but it's not breaking any real attribution.

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 19.0-ocabot-merge-pr-1312-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot
OCA-git-bot merged commit bb61c35 into OCA:19.0 Jun 11, 2026
6 of 7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at dde2c0c. Thanks a lot for contributing to OCA. ❤️

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.