'slug' cannot be called on records which are not yet saved, aka have no ID. In this commit we set the website_url to False for records that do not have any ID. Code managing those URLs is updated to be defensive, as notably when using studio you may end up trying to call methods on in-memory records. Followup of odoo/odoo@da3f4c2aff Task-3254382 closes odoo/odoo#117255 X-original-commit: 36c734ab37fdf1d6a245e0e29cfefe3cc46c6d92 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>