From 563b8ff4f0dfb7d2512d29c58744c183d3cb3668 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Fri, 18 Sep 2015 16:45:20 +0200 Subject: [PATCH] Rename addon according to the new term: partner_changeset --- {partner_revision => partner_changeset}/README.rst | 0 {partner_revision => partner_changeset}/__init__.py | 0 {partner_revision => partner_changeset}/__openerp__.py | 4 ++-- partner_changeset/models/__init__.py | 5 +++++ .../models/changeset_field_rule.py | 0 .../models/res_partner.py | 0 .../models/res_partner_changeset.py | 0 .../security/ir.model.access.csv | 0 .../security/security.xml | 0 partner_changeset/tests/__init__.py | 5 +++++ {partner_revision => partner_changeset}/tests/common.py | 0 .../tests/test_changeset_field_type.py | 0 .../tests/test_changeset_flow.py | 0 .../tests/test_changeset_origin.py | 0 .../views/changeset_field_rule_views.xml | 0 {partner_revision => partner_changeset}/views/menu.xml | 0 .../views/res_partner_changeset_views.xml | 0 .../views/res_partner_views.xml | 4 ++-- partner_revision/models/__init__.py | 5 ----- partner_revision/tests/__init__.py | 5 ----- 20 files changed, 14 insertions(+), 14 deletions(-) rename {partner_revision => partner_changeset}/README.rst (100%) rename {partner_revision => partner_changeset}/__init__.py (100%) rename {partner_revision => partner_changeset}/__openerp__.py (92%) create mode 100644 partner_changeset/models/__init__.py rename partner_revision/models/revision_field_rule.py => partner_changeset/models/changeset_field_rule.py (100%) rename {partner_revision => partner_changeset}/models/res_partner.py (100%) rename partner_revision/models/res_partner_revision.py => partner_changeset/models/res_partner_changeset.py (100%) rename {partner_revision => partner_changeset}/security/ir.model.access.csv (100%) rename {partner_revision => partner_changeset}/security/security.xml (100%) create mode 100644 partner_changeset/tests/__init__.py rename {partner_revision => partner_changeset}/tests/common.py (100%) rename partner_revision/tests/test_revision_field_type.py => partner_changeset/tests/test_changeset_field_type.py (100%) rename partner_revision/tests/test_revision_flow.py => partner_changeset/tests/test_changeset_flow.py (100%) rename partner_revision/tests/test_revision_origin.py => partner_changeset/tests/test_changeset_origin.py (100%) rename partner_revision/views/revision_field_rule_views.xml => partner_changeset/views/changeset_field_rule_views.xml (100%) rename {partner_revision => partner_changeset}/views/menu.xml (100%) rename partner_revision/views/res_partner_revision_views.xml => partner_changeset/views/res_partner_changeset_views.xml (100%) rename {partner_revision => partner_changeset}/views/res_partner_views.xml (89%) delete mode 100644 partner_revision/models/__init__.py delete mode 100644 partner_revision/tests/__init__.py diff --git a/partner_revision/README.rst b/partner_changeset/README.rst similarity index 100% rename from partner_revision/README.rst rename to partner_changeset/README.rst diff --git a/partner_revision/__init__.py b/partner_changeset/__init__.py similarity index 100% rename from partner_revision/__init__.py rename to partner_changeset/__init__.py diff --git a/partner_revision/__openerp__.py b/partner_changeset/__openerp__.py similarity index 92% rename from partner_revision/__openerp__.py rename to partner_changeset/__openerp__.py index 8665bd91c..af00c9169 100644 --- a/partner_revision/__openerp__.py +++ b/partner_changeset/__openerp__.py @@ -30,8 +30,8 @@ 'data': ['security/security.xml', 'security/ir.model.access.csv', 'views/menu.xml', - 'views/res_partner_revision_views.xml', - 'views/revision_field_rule_views.xml', + 'views/res_partner_changeset_views.xml', + 'views/changeset_field_rule_views.xml', 'views/res_partner_views.xml', ], 'test': [], diff --git a/partner_changeset/models/__init__.py b/partner_changeset/models/__init__.py new file mode 100644 index 000000000..bb2a129f9 --- /dev/null +++ b/partner_changeset/models/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- + +from . import res_partner +from . import res_partner_changeset +from . import changeset_field_rule diff --git a/partner_revision/models/revision_field_rule.py b/partner_changeset/models/changeset_field_rule.py similarity index 100% rename from partner_revision/models/revision_field_rule.py rename to partner_changeset/models/changeset_field_rule.py diff --git a/partner_revision/models/res_partner.py b/partner_changeset/models/res_partner.py similarity index 100% rename from partner_revision/models/res_partner.py rename to partner_changeset/models/res_partner.py diff --git a/partner_revision/models/res_partner_revision.py b/partner_changeset/models/res_partner_changeset.py similarity index 100% rename from partner_revision/models/res_partner_revision.py rename to partner_changeset/models/res_partner_changeset.py diff --git a/partner_revision/security/ir.model.access.csv b/partner_changeset/security/ir.model.access.csv similarity index 100% rename from partner_revision/security/ir.model.access.csv rename to partner_changeset/security/ir.model.access.csv diff --git a/partner_revision/security/security.xml b/partner_changeset/security/security.xml similarity index 100% rename from partner_revision/security/security.xml rename to partner_changeset/security/security.xml diff --git a/partner_changeset/tests/__init__.py b/partner_changeset/tests/__init__.py new file mode 100644 index 000000000..3ff760e02 --- /dev/null +++ b/partner_changeset/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- + +from . import test_changeset_flow +from . import test_changeset_field_type +from . import test_changeset_origin diff --git a/partner_revision/tests/common.py b/partner_changeset/tests/common.py similarity index 100% rename from partner_revision/tests/common.py rename to partner_changeset/tests/common.py diff --git a/partner_revision/tests/test_revision_field_type.py b/partner_changeset/tests/test_changeset_field_type.py similarity index 100% rename from partner_revision/tests/test_revision_field_type.py rename to partner_changeset/tests/test_changeset_field_type.py diff --git a/partner_revision/tests/test_revision_flow.py b/partner_changeset/tests/test_changeset_flow.py similarity index 100% rename from partner_revision/tests/test_revision_flow.py rename to partner_changeset/tests/test_changeset_flow.py diff --git a/partner_revision/tests/test_revision_origin.py b/partner_changeset/tests/test_changeset_origin.py similarity index 100% rename from partner_revision/tests/test_revision_origin.py rename to partner_changeset/tests/test_changeset_origin.py diff --git a/partner_revision/views/revision_field_rule_views.xml b/partner_changeset/views/changeset_field_rule_views.xml similarity index 100% rename from partner_revision/views/revision_field_rule_views.xml rename to partner_changeset/views/changeset_field_rule_views.xml diff --git a/partner_revision/views/menu.xml b/partner_changeset/views/menu.xml similarity index 100% rename from partner_revision/views/menu.xml rename to partner_changeset/views/menu.xml diff --git a/partner_revision/views/res_partner_revision_views.xml b/partner_changeset/views/res_partner_changeset_views.xml similarity index 100% rename from partner_revision/views/res_partner_revision_views.xml rename to partner_changeset/views/res_partner_changeset_views.xml diff --git a/partner_revision/views/res_partner_views.xml b/partner_changeset/views/res_partner_views.xml similarity index 89% rename from partner_revision/views/res_partner_views.xml rename to partner_changeset/views/res_partner_views.xml index d090efaa3..a2f490f86 100644 --- a/partner_revision/views/res_partner_views.xml +++ b/partner_changeset/views/res_partner_views.xml @@ -7,12 +7,12 @@ res.partner - +