Skip to content

Conversation

@john-herholz-dt
Copy link
Contributor

@john-herholz-dt john-herholz-dt commented Jan 11, 2024

Changed onchange_specs to self._get_fields_spec(), to load fields from dedicated base function
get_new_values needed an adjustment for one2many records, as instead of tuple, a dict is now returned.

florian-dacosta and others added 30 commits January 11, 2024 12:01
other improvement:

set onchange_specs to all fields as _onchange_spec()
retrun onchange fields for default view
return field value if it's set in onchange_fields (usuful to get default value for a field)
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-12.0/server-tools-12.0-onchange_helper
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-onchange_helper/
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-12.0/server-tools-12.0-onchange_helper
Translate-URL: https://translation.odoo-community.org/projects/server-tools-12-0/server-tools-12-0-onchange_helper/zh_CN/
OCA-git-bot and others added 15 commits January 11, 2024 12:01
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-15.0/server-tools-15.0-onchange_helper
Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-onchange_helper/es_AR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-onchange_helper
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-onchange_helper/
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-16.0/server-tools-16.0-onchange_helper
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-onchange_helper/es/
Currently translated at 100.0% (1 of 1 strings)

Translation: server-tools-16.0/server-tools-16.0-onchange_helper
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-onchange_helper/it/
@john-herholz-dt john-herholz-dt force-pushed the 17.0-mig-onchange_helper branch from 99f649f to a6305aa Compare January 11, 2024 12:25
@john-herholz-dt john-herholz-dt mentioned this pull request Jan 11, 2024
38 tasks
@gurneyalex
Copy link
Member

/ocabot migration onchange_helper

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Jan 25, 2024
@gurneyalex
Copy link
Member

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 17.0-ocabot-merge-pr-2806-by-gurneyalex-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 0f05079 into OCA:17.0 Feb 2, 2024
@OCA-git-bot
Copy link
Contributor

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

@john-herholz-dt john-herholz-dt deleted the 17.0-mig-onchange_helper branch February 2, 2024 09:15
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.