[FIX] website_event_track_online: app_icon should be stored
This commit fixes a typo in the `app_icon` field's definition preventing it from being properly stored in the database when recomputed. closes odoo/odoo#56240 X-original-commit: e885ac19f53b53a51f1fc806ff75ee917440e56f Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com> Signed-off-by: Pierre Paridans <pparidans@users.noreply.github.com>
This commit is contained in:
@@ -11,7 +11,7 @@ from odoo.tools import ImageProcess
|
||||
class Website(models.Model):
|
||||
_inherit = "website"
|
||||
|
||||
app_icon = fields.Image(string='Website App Icon', compute='_compute_app_icon', stored=True, readonly=True, help='This field holds the image used as mobile app icon on the website (PNG format).')
|
||||
app_icon = fields.Image(string='Website App Icon', compute='_compute_app_icon', store=True, readonly=True, help='This field holds the image used as mobile app icon on the website (PNG format).')
|
||||
|
||||
@api.depends('favicon')
|
||||
def _compute_app_icon(self):
|
||||
|
||||
Reference in New Issue
Block a user