You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
471 B
11 lines
471 B
The sole purpose of this module is to add an abstract model to be inherited.
|
|
So, you will not notice any changes on install.
|
|
|
|
To develop using this module, you have to inherit the abstract model `abstract.conditional.image`
|
|
to the model that needs the conditional images::
|
|
|
|
class ResPartner(models.Model):
|
|
_inherit = ['res.partner', 'abstract.conditional.image']
|
|
_name = 'res.partner'
|
|
|
|
Then, configure how the images will be selected for each record.
|