Skip to content

[MIG] base_technical_features -> 10.0 - #568

Merged
pedrobaeza merged 3 commits into
OCA:10.0from
StefanRijnhart:10.0-base_technical_features
Oct 12, 2016
Merged

[MIG] base_technical_features -> 10.0#568
pedrobaeza merged 3 commits into
OCA:10.0from
StefanRijnhart:10.0-base_technical_features

Conversation

@StefanRijnhart

Copy link
Copy Markdown
Member

No description provided.

@StefanRijnhart StefanRijnhart added this to the 10.0 milestone Oct 11, 2016
@pedrobaeza pedrobaeza mentioned this pull request Oct 11, 2016
63 tasks

@alexis-via alexis-via 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.

Please update version in manifest and in runbot URL and fix flake8 (remove api in import of basemodel_monkeypatch.py

@StefanRijnhart
StefanRijnhart force-pushed the 10.0-base_technical_features branch from cddbbfe to 2e40ef6 Compare October 11, 2016 20:49
@StefanRijnhart

Copy link
Copy Markdown
Member Author

@alexis-via thanks for the review! All done.

models.BaseModel.user_has_groups = user_has_groups

return super(BaseModelMonkeyPatch, self)._register_hook(cr)
return super(BaseModelMonkeyPatch, self)._register_hook()

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@StefanRijnhart I'm no expert in these matter but is there not now a way in 10 to extend BaseModel without resorting to a monkey patch?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, there is, thanks for the hint! It was implemented in https://github.com/odoo/odoo/pull/10288/files. Fixed in e9ad484

@pedrobaeza
pedrobaeza merged commit 8b4d04c into OCA:10.0 Oct 12, 2016
StefanRijnhart added a commit to StefanRijnhart/server-tools that referenced this pull request Oct 5, 2017
[MIG] base_technical_features -> 10.0

Using new base model inheritance
TDu pushed a commit to TDu/server-tools that referenced this pull request Nov 13, 2017
[MIG] base_technical_features -> 10.0

Using new base model inheritance
SiesslPhillip pushed a commit to grueneerde/OCA-server-tools that referenced this pull request Nov 20, 2024
Syncing from upstream OCA/server-tools (12.0)
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.

6 participants