-
-
Notifications
You must be signed in to change notification settings - Fork 460
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] [FIX] base_import_async: remove default values from context when creating the attachment #528
[16.0] [FIX] base_import_async: remove default values from context when creating the attachment #528
Conversation
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
@OCA/core-maintainers @guewen Could you reopen this and review ? |
…ting the attachment. Some default values might be present in context depending on the action we came from when clicking on 'import' button. These default values are not intended to be default values for the ir.attachment record. In some cases they cause an error because a field with the same name exists on ir.attachment, as for e.g. the 'default_type'='opportunity' value present in the standard crm.lead action context.
48f41dd
to
db24c87
Compare
Rebased on 16.0 + fixed pre-commit. |
/ocabot merge patch |
What a great day to merge this nice PR. Let's do it! |
Thanks! |
Congratulations, your PR was merged at f80f09d. Thanks a lot for contributing to OCA. ❤️ |
Some default values might be present in context depending on the action we came from when clicking on 'import' button. These default values are not intended to be default values for the ir.attachment record.
In some cases they cause an error because a field with the same name exists on ir.attachment, as for e.g. the
'default_type'='opportunity'
value present in the standard crm.lead action context.