0 Edit Close Delete Flag Odoo 15 - "name 'self' is not defined" in xml domain Edit Close Delete Flag odoo 7 November 2022 Unsubscribe Subscribe domainxmlself Comment Share Post Comment Discard 2 Answers 0 odoo 7 November 2022 Best Answer You cannot use self or dot notation in the xml views. You could add a related or computed field to the model and access this value for your domain, or apply the domain in the model. Comment Share Post Comment Discard 0 odoo 8 November 2022 Best Answer Thanks Jort, I made it with the Web domain field from OCA and problem solved. Comment Share Post Comment Discard