Skip to content

[IMP] base: store explict field.translate #296

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

Conversation

HydrionBurst
Copy link
Contributor

@HydrionBurst HydrionBurst commented Jul 17, 2025

before this commit:

field.translate in orm ir_model_fields.translate in database
False False
True True
html_translate True
xml_translate True

after this commit:

field.translate in orm ir_model_fields.translate in database
False NULL
True 'standard'
html_translate 'html_translate'
xml_translate 'xml_translate'

odoo/odoo#219406
https://github.com/odoo/enterprise/pull/90413
https://github.com/odoo/upgrade/pull/8085

@robodoo
Copy link
Contributor

robodoo commented Jul 17, 2025

Pull request status dashboard

@KangOl
Copy link
Contributor

KangOl commented Jul 17, 2025

upgradeci retry with always only base

@HydrionBurst HydrionBurst force-pushed the master-base-store-field-translate-cwg branch 3 times, most recently from 406f970 to 55e54ae Compare July 23, 2025 14:26
@HydrionBurst HydrionBurst force-pushed the master-base-store-field-translate-cwg branch from 55e54ae to 8ae145c Compare August 11, 2025 09:48
@HydrionBurst HydrionBurst force-pushed the master-base-store-field-translate-cwg branch 3 times, most recently from 392907b to 54adeda Compare August 20, 2025 08:55
before this commit:
| field.translate in orm | ir_model_fields.translate in database |
| ---------------------- | ------------------------------------- |
| False                  | False                                 |
| True                   | True                                  |
| html_translate         | True                                  |
| xml_translate          | True                                  |

after this commit:
| field.translate in orm | ir_model_fields.translate in database |
| ---------------------- | ------------------------------------- |
| False                  | NULL                                  |
| True                   | 'standard'                            |
| html_translate         | 'html_translate'                      |
| xml_translate          | 'xml_translate'                       |

Related PRs:
odoo/odoo#219406
odoo/enterprise#90413
odoo/upgrade#8085
@HydrionBurst HydrionBurst force-pushed the master-base-store-field-translate-cwg branch from 54adeda to a07f409 Compare August 20, 2025 09:16
Copy link
Member

@rco-odoo rco-odoo left a comment

Choose a reason for hiding this comment

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

Correct with respect to the other PRs.

@rco-odoo rco-odoo marked this pull request as ready for review August 22, 2025 13:29
Copy link
Contributor

@KangOl KangOl left a comment

Choose a reason for hiding this comment

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

robodoo pushed a commit to odoo/odoo that referenced this pull request Aug 22, 2025
before this commit:
| field.translate in orm | ir_model_field.translate in database |
| ---------------------- | ------------------------------------ |
| False                  | False                                |
| True                   | True                                 |
| html_translate         | True                                 |
| xml_translate          | True                                 |

after this commit:
| field.translate in orm | ir_model_field.translate in database |
| ---------------------- | ------------------------------------ |
| False                  | NULL                                 |
| True                   | 'standard'                           |
| html_translate         | 'html_translate'                     |
| xml_translate          | 'xml_translate'                      |

closes #219406

Related: odoo/enterprise#90413
Related: odoo/upgrade#8085
Related: odoo/upgrade-util#296
Signed-off-by: Raphael Collet <[email protected]>
robodoo pushed a commit that referenced this pull request Aug 22, 2025
before this commit:
| field.translate in orm | ir_model_fields.translate in database |
| ---------------------- | ------------------------------------- |
| False                  | False                                 |
| True                   | True                                  |
| html_translate         | True                                  |
| xml_translate          | True                                  |

after this commit:
| field.translate in orm | ir_model_fields.translate in database |
| ---------------------- | ------------------------------------- |
| False                  | NULL                                  |
| True                   | 'standard'                            |
| html_translate         | 'html_translate'                      |
| xml_translate          | 'xml_translate'                       |

Related PRs:
odoo/odoo#219406
odoo/enterprise#90413
odoo/upgrade#8085

closes #296

Related: odoo/odoo#219406
Related: odoo/enterprise#90413
Related: odoo/upgrade#8085
Signed-off-by: Christophe Simonis (chs) <[email protected]>
robodoo pushed a commit to odoo/odoo that referenced this pull request Aug 22, 2025
before this commit:
| field.translate in orm | ir_model_field.translate in database |
| ---------------------- | ------------------------------------ |
| False                  | False                                |
| True                   | True                                 |
| html_translate         | True                                 |
| xml_translate          | True                                 |

after this commit:
| field.translate in orm | ir_model_field.translate in database |
| ---------------------- | ------------------------------------ |
| False                  | NULL                                 |
| True                   | 'standard'                           |
| html_translate         | 'html_translate'                     |
| xml_translate          | 'xml_translate'                      |

closes #219406

Related: odoo/enterprise#90413
Related: odoo/upgrade#8085
Related: odoo/upgrade-util#296
Signed-off-by: Raphael Collet <[email protected]>
@robodoo robodoo closed this in eadd4dc Aug 22, 2025
@robodoo robodoo added the 18.5 label Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants