summaryrefslogtreecommitdiff
path: root/addons/base_setup
diff options
context:
space:
mode:
authorJérémy Hennecart <jeh@odoo.com>2020-08-27 06:55:31 +0000
committerJérémy Hennecart <jeh@odoo.com>2020-08-31 14:16:31 +0000
commitacbc97bfe290ef3c7b8f7a1160266e49485099ae (patch)
tree3e597b63a35b79f123cbe58a0010cfce32dd6d37 /addons/base_setup
parentb1efd7965a3b185b95bd30beca3d1b7f08165c8a (diff)
[FIX] website_crm: fix compute on default
Now, compute's methods are executed on default, which leads to a crash when these methods try to use the actual records but there isn't one yet (e.g. at the creation of a record). - Fix the traceback raised when creating a lead because of the visitor_page_count method when self.ids is empty on default compute. - Since the default_get() and the first_onchange() are also now combined, we need to adapt the syntax of the default get for the field opportunity_ids, replacing the array of ids by the command syntax '[(6, 0, ids)]'. task-2325629
Diffstat (limited to 'addons/base_setup')
0 files changed, 0 insertions, 0 deletions