I tried to create a form with an empty recordset in a testing Method
f = Form(self.env['my.custom.model'])
When I execute my test I got the following error:
assert isinstance(domain, (list, tuple)), "Domains to normalize must have a 'domain' form: a list or tuple of domain components"
AssertionError: Domains to normalize must have a 'domain' form: a list or tuple of domain components
Any idea why ?
Creating Odoo Modules: https://goo.gl/cgJZr7