OCA / odoo-pim

GNU Affero General Public License v3.0
39 stars 61 forks source link

[FIX] attribute_set: fix create options w/ rel model #169

Closed simahawk closed 1 year ago

simahawk commented 1 year ago

When you define an attribute as a select field and add a related model, you have the option to "Load attribute options".

On this wizard, an "option_ids" dummy field is created via fields_view_get.

This change deletes option_ids from create (once the options are created) and read

Replaces https://github.com/OCA/odoo-pim/pull/132

simahawk commented 1 year ago

Already approved in #132

/ocabot merge patch

OCA-git-bot commented 1 year ago

This PR looks fantastic, let's merge it! Prepared branch 15.0-ocabot-merge-pr-169-by-simahawk-bump-patch, awaiting test results.

OCA-git-bot commented 1 year ago

Congratulations, your PR was merged at 5816c16e75110a2ccfd0132e48064c7c6f914d30. Thanks a lot for contributing to OCA. ❤️