Gitbot troubleshooting4/15/2023 Remove multi field from ir.actions.act_window models. It's now always form ( tree is not supported since 11.0 any way). Remove view_type tag on action window XML definition. If they were added in previous version, they have served their function any way, and now in this version it's not supported, so if you have the need, create a migration script and use openupgradelib's rename_fields method. Remove all the oldname field attributes in the code. Use with_user(user) instead.Ĭhange track_visibility="." field attribute by tracking=True. See for an example.įor the rest of multi-company considerations, see. Multi-company record rules now need to have this general form:, and you need to add migration script as well when being noupdate="1" record (which should be the majority). at the beginning of the compute for pre-assigning a value to all records.Ĭomputed stored fields will keep their previous value if not assigned during the compute method, so don't rely on any expected default value. Or if they are stored, at least they have an initialization value (a default for example). Except the first one ( you will need to adapt the code to the behavior change.Ĭheck that all "compute" methods of non-stored computed fields assign a value in any case to the field, even if it is a falsy one. Now they are all multi-record by default. IMPORTANT: Don't squash legit translation commits, authored by their translators, with the message "Translated using Weblate (.)". They are named as " README.rst", " Update $MODULE.pot", "Update translation files" and similar names, and comes from OCA-git-bot, oca-travis or oca-transbot. Squash administrative commits (if any) with the previous commit for reducing commit noise. Remove any possible migration script from previous version. On the corresponding GitHub issue named "Migration to version 13.0", announce which module(s) you want to migrate.Subscribe to the mailing list of the related project:.Update yourself with the latest OCA Conventions:.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |