Skip to content
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

[IMP] mail,*: remove useless field is_master_data #31778

Closed
wants to merge 1 commit into from

Conversation

KangOl
Copy link
Contributor

@KangOl KangOl commented Mar 12, 2019

This field is a non-sense. By using the same logic, it should be added
to any low level model.
Replace the check by a simple verification of presence of an XMLID.

A more generic opt-in solution should be integrated into ORM.

Partially revert commits 0db0e66 and
bbd64c2.

See #29257 odoo/enterprise#3550

This field is a non-sense. By using the same logic, it should be added
to any low level model.
Replace the check by a simple verification of presence of an XMLID.

A more generic opt-in solution should be integrated into ORM.

Partially revert commits 0db0e66 and
bbd64c2.

See odoo#29257 odoo/enterprise#3550
@C3POdoo C3POdoo added the RD research & development, internal work label Mar 12, 2019
@robodoo robodoo added the CI 🤖 Robodoo has seen passing statuses label Mar 12, 2019
@antonylesuisse
Copy link
Contributor

ok

@KangOl
Copy link
Contributor Author

KangOl commented Mar 14, 2019

@robodoo r+

robodoo pushed a commit that referenced this pull request Mar 14, 2019
This field is a non-sense. By using the same logic, it should be added
to any low level model.
Replace the check by a simple verification of presence of an XMLID.

A more generic opt-in solution should be integrated into ORM.

Partially revert commits 0db0e66 and
bbd64c2.

See #29257 odoo/enterprise#3550

closes #31778

Signed-off-by: Christophe Simonis <chs@odoo.com>
@robodoo
Copy link
Contributor

robodoo commented Mar 14, 2019

Merged, thanks!

@robodoo robodoo closed this Mar 14, 2019
@tde-banana-odoo
Copy link
Contributor

It is great to remove a field defined on 10 records and therefore not being able to delete unused demo data about activity types. Was that really worth chiing a pendule ?

@tde-banana-odoo
Copy link
Contributor

Another part of the spec was to be able to mark activity types as not deletable if for example people use them in automated action. I agree it is an advanced use case but according to me you should probably ask before reverting code that harms no-one.

Or is it obvious for people they will have to manually create xml ids for records to keep ? Or should they wait for the famous "ORM team will find a solution" ?

Many thanks for your input anyway,

@fw-bot fw-bot deleted the saas-12.2-nomasterdata-chs branch October 19, 2019 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI 🤖 Robodoo has seen passing statuses RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants