From 043b476ba3d1fb3e504ba6c66403efa1cc0369eb Mon Sep 17 00:00:00 2001 From: Denis Roussel Date: Wed, 10 May 2017 14:45:43 +0200 Subject: [PATCH] [10.0][MIG] Migrates web_domain_field --- setup/web_domain_field/odoo/__init__.py | 1 + setup/web_domain_field/odoo/addons/__init__.py | 1 + setup/web_domain_field/odoo/addons/web_domain_field | 1 + setup/web_domain_field/setup.py | 6 ++++++ web_domain_field/README.rst | 5 ++++- web_domain_field/{__openerp__.py => __manifest__.py} | 2 +- 6 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 setup/web_domain_field/odoo/__init__.py create mode 100644 setup/web_domain_field/odoo/addons/__init__.py create mode 120000 setup/web_domain_field/odoo/addons/web_domain_field create mode 100644 setup/web_domain_field/setup.py rename web_domain_field/{__openerp__.py => __manifest__.py} (94%) diff --git a/setup/web_domain_field/odoo/__init__.py b/setup/web_domain_field/odoo/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/web_domain_field/odoo/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/web_domain_field/odoo/addons/__init__.py b/setup/web_domain_field/odoo/addons/__init__.py new file mode 100644 index 00000000..de40ea7c --- /dev/null +++ b/setup/web_domain_field/odoo/addons/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup/web_domain_field/odoo/addons/web_domain_field b/setup/web_domain_field/odoo/addons/web_domain_field new file mode 120000 index 00000000..6aff538b --- /dev/null +++ b/setup/web_domain_field/odoo/addons/web_domain_field @@ -0,0 +1 @@ +../../../../web_domain_field/ \ No newline at end of file diff --git a/setup/web_domain_field/setup.py b/setup/web_domain_field/setup.py new file mode 100644 index 00000000..28c57bb6 --- /dev/null +++ b/setup/web_domain_field/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/web_domain_field/README.rst b/web_domain_field/README.rst index e70f68f2..f3460cce 100644 --- a/web_domain_field/README.rst +++ b/web_domain_field/README.rst @@ -24,6 +24,8 @@ limitations as: * The syntax to include in your domain a criteria involving values from a x2many field is complex. + * The right side of domain in case of x2many can involve huge amount of ids + (performance problem). * Domains computed by an onchange on an other field are not recomputed when you modify the form and don't modify the field triggering the onchange. * It's not possible to extend an existing domain. You must completely redefine @@ -63,7 +65,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/162/9.0 + :target: https://runbot.odoo-community.org/runbot/162/10.0 @@ -87,6 +89,7 @@ Contributors ------------ * Laurent Mignon +* Denis Roussel Maintainer ---------- diff --git a/web_domain_field/__openerp__.py b/web_domain_field/__manifest__.py similarity index 94% rename from web_domain_field/__openerp__.py rename to web_domain_field/__manifest__.py index 4ff66a1c..c0d77b4d 100644 --- a/web_domain_field/__openerp__.py +++ b/web_domain_field/__manifest__.py @@ -6,7 +6,7 @@ 'name': 'Web Domain Field', 'summary': """ Use computed field as domain""", - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'license': 'AGPL-3', 'author': 'ACSONE SA/NV,Odoo Community Association (OCA)', 'website': 'https://acsone.eu/',