Repository navigation
[FIX] storage_image_product: add missing server_environment dependency - #699
FranzPoize wants to merge 1 commit into
Conversation
|
https://github.com/OCA/storage/blob/18.0/storage_image_product/models/image_tag.py storage_image_product does not use the module image_tag, it creates its own image.tag model Not sure what you mean |
7b9e18a to
edd4429
Compare
simahawk
left a comment
There was a problem hiding this comment.
https://github.com/OCA/storage/blob/18.0/storage_image_product/models/image_tag.py
storage_image_product does not use the module image_tag, it creates its own image.tag model
Not sure what you mean
then this module is wrong and we have to rip out of it the dep on server_environment as it has been done for image_tag and other modules 😉
|
I'm in favor to merge this PR first because, at the moment it breaks. Removing the dependency can be done in a separate PR. |
|
If you look closer you'll see that the server env conf is not used at all on this model because there's no |
the model
image.taginheritsserver.env.techname.mixinwhich is in the server_environment module and no module in the dependency chain of storage_image_product inherits from this module.