-
-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][OU-FIX] Base: Add help
in ir.actions.act_window translation exclusions
#3866
Conversation
I don't get what do you mean by "inherited". Also the commit message doesn't have the proper format: https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#commit-message. For OU related stuff, we put |
hello @pedrobaeza, the pre-migration script exclude some fields from models, inherited by ir.actions fields. the objectif is allow the conversion of all text fields in json or jsonb (mecanic in odoo 16). but if the field is inherited by another fields in another model ( in my exemple name and help in the model ir_act_window are inherited by ir.actions fields) you cannot execute the sql request. the sql request will failed because you cannot convert fields inherited. i hope it's better to you to understand. |
Hi @pedrobaeza. Thanks for your comment.
Documentation question (I have to write the "how to contribute"): What is the reason for that exception ? I never asked and I guessed that it was usefull in the previous design, when OpenUpgrade was a fork and when openupgrade commits was mixed with odoo commits to make better identification of "openupgrade" commits. Is this the case ? Are there any other reasons ? Kind regards. |
Yes, thanks. Please rephrase the commit message with the proper format and include this explanation in the expanded commit message. |
It's still needed, as branches from 14.0 are still a mix of a module (openupgrade_framework) with migration scripts (that are paradoxically inside another module, |
Thank's @legalsylvain and @pedrobaeza for your precision ! let me know if i'ts all done for you |
The commit message should be:
|
Thanks for your explanation. I was thinking of something lighter and maybe more common for newcomers like :
That being said, it's just a suggestion, and as the main contributor and merger of OpenUpgrade, you choose ! have a nice day. |
But with such nomenclature, you don't really know by tag what you are doing. You have to check the module and deduce that the indicated module is one of the core modules (or OCA ones, as we perform also merge operations and so), and then the commit is for something related to migration scripts. Prefixing with Right now, there's only one extra module ( And finally, we are homogeneous across versions (although 13.0 and below is getting now very old, but doing the same on all versions is always good), and there's still activity on such branches: #3848 |
@pedrobaeza : I'm totally fine with it! I'd do a PR on the documentation, which includes what you say. |
…ions The pre-migration script excludes some fields from models, inherited by ir.actions fields. The goal is to allow the conversion of all text fields in json or jsonb (mecanic in odoo 16), but if the field is inherited by another fields in another model (in my example, name and help in the model ir_act_window are inherited by ir.actions fields), you cannot execute the sql request. It will failed because you cannot convert fields inherited.
@legalsylvain : ho no, thanks for your question, it's help me to understand what is the diff between OU-FIX and FIX. thanks @pedrobaeza for your help and all explanation ! |
help
in ir.actions.act_window translation exclusions
help
in ir.actions.act_window translation exclusionshelp
in ir.actions.act_window translation exclusions
Add fields help in exclusion of ir_act_window
The pre-migration script exclude some fields from models, inherited by ir.actions fields. the objectif is allow the conversion of all text fields in json or jsonb (mecanic in odoo 16). but if the field is inherited by another fields in another model ( in my exemple name and help in the model ir_act_window are inherited by ir.actions fields) you cannot execute the sql request. the sql request will failed because you cannot convert fields inherited.