[tryton-debian-vcs] tryton-modules-company branch debian updated. debian/4.4.0-4-3-g9844aeb

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Sep 5 13:20:34 UTC 2017


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-company.git;a=commitdiff;h=debian/4.4.0-4-3-g9844aeb

commit 9844aeb05cd01ff2e052576c35590b39315566c3
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 13:44:50 2017 +0200

    Releasing debian version 4.4.1-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index f33f052..ac6be39 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-company (4.4.1-1) unstable; urgency=medium
+
+  * Bump the Standards-Version to 4.1.0, no changes needed.
+  * Merging upstream version 4.4.1.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Tue, 05 Sep 2017 13:44:50 +0200
+
 tryton-modules-company (4.4.0-4) unstable; urgency=medium
 
   * Switch to Python3.
commit 683d840a103d96f3f7ebf9e237972532d055da0d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 13:44:49 2017 +0200

    Merging upstream version 4.4.1.

diff --git a/CHANGELOG b/CHANGELOG
index 0eb6d80..3176b18 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.1 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.0 - 2017-05-01
 * Bug fixes (see mercurial logs for details)
 * Remove multi-company on Party sequence
diff --git a/PKG-INFO b/PKG-INFO
index 0cffeb6..b243905 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_company
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module with companies and employees
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/company.py b/company.py
index 3ffbc60..b89e593 100644
--- a/company.py
+++ b/company.py
@@ -26,7 +26,6 @@ __all__ = ['Company', 'Employee', 'UserEmployee', 'User',
 class Company(ModelSQL, ModelView):
     'Company'
     __name__ = 'company.company'
-    _rec_name = 'party'
     party = fields.Many2One('party.party', 'Party', required=True,
             ondelete='CASCADE')
     parent = fields.Many2One('company.company', 'Parent',
@@ -53,6 +52,10 @@ class Company(ModelSQL, ModelView):
         return self.party.rec_name
 
     @classmethod
+    def search_rec_name(cls, name, clause):
+        return [('party',) + tuple(clause[1:])]
+
+    @classmethod
     def write(cls, companies, values, *args):
         super(Company, cls).write(companies, values, *args)
         # Restart the cache on the domain_get method
@@ -62,7 +65,6 @@ class Company(ModelSQL, ModelView):
 class Employee(ModelSQL, ModelView):
     'Employee'
     __name__ = 'company.employee'
-    _rec_name = 'party'
     party = fields.Many2One('party.party', 'Party', required=True,
         help="The party which represents the employee.")
     company = fields.Many2One('company.company', 'Company', required=True,
@@ -91,6 +93,9 @@ class Employee(ModelSQL, ModelView):
     def get_rec_name(self, name):
         return self.party.rec_name
 
+    @classmethod
+    def search_rec_name(cls, name, clause):
+        return [('party',) + tuple(clause[1:])]
 
 class UserEmployee(ModelSQL):
     'User - Employee'
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tryton.cfg b/tryton.cfg
index 74483fa..c7ad4a5 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.0
+version=4.4.1
 depends:
     currency
     ir
diff --git a/trytond_company.egg-info/PKG-INFO b/trytond_company.egg-info/PKG-INFO
index 7256bcb..fe3fcf8 100644
--- a/trytond_company.egg-info/PKG-INFO
+++ b/trytond_company.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-company
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module with companies and employees
 Home-page: http://www.tryton.org/
 Author: Tryton
commit e0d2339edb8e66ab8eb263a6a05dd5d5a1a2a0f6
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 13:27:13 2017 +0200

    Bump the Standards-Version to 4.1.0, no changes needed.

diff --git a/debian/control b/debian/control
index 25650c4..c76a0bd 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends:
  dh-python,
  python3,
  python3-setuptools,
-Standards-Version: 4.0.1
+Standards-Version: 4.1.0
 Homepage: http://www.tryton.org/
 Vcs-Browser: https://anonscm.debian.org/cgit/tryton/tryton-modules-company.git
 Vcs-Git: https://anonscm.debian.org/cgit/tryton/tryton-modules-company.git
-- 
tryton-modules-company



More information about the tryton-debian-vcs mailing list