[tryton-debian-vcs] tryton-modules-company branch debian updated. debian/4.0.2-1-2-g72aec7c

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Sun Sep 4 16:57:12 UTC 2016


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.0.2-1-2-g72aec7c

commit 72aec7c9d79499c73b0ec4e2eb8e682f7158d456
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:34:59 2016 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 0427299..0c0145b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-company (4.0.3-1) unstable; urgency=medium
+
+  * Merging upstream version 4.0.3.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Sat, 03 Sep 2016 20:34:59 +0200
+
 tryton-modules-company (4.0.2-1) unstable; urgency=medium
 
   * Updating to Standards-Version: 3.9.8, no changes needed.
commit f87ac11d872d025f7d1333d17bf5fa8dad575398
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Sat Sep 3 20:34:59 2016 +0200

    Merging upstream version 4.0.3.

diff --git a/CHANGELOG b/CHANGELOG
index fbdddfa..361ab23 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.3 - 2016-09-03
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.2 - 2016-07-05
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index c7d4683..2f4d892 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_company
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module with companies and employees
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/company.py b/company.py
index 5bb98d4..eb2af49 100644
--- a/company.py
+++ b/company.py
@@ -46,7 +46,7 @@ class Company(ModelSQL, ModelView):
         cls.check_recursion(companies)
 
     def get_rec_name(self, name):
-        return self.party.name
+        return self.party.rec_name
 
     @classmethod
     def write(cls, companies, values, *args):
@@ -382,4 +382,5 @@ class Rule:
         key = super(Rule, cls)._get_cache_key()
         # XXX Use company from context instead of browse to prevent infinite
         # loop, but the cache is cleared when User is written.
-        return key + (Transaction().context.get('company'),)
+        return key + (Transaction().context.get('company'),
+            Transaction().context.get('employee'))
diff --git a/tryton.cfg b/tryton.cfg
index 7e83183..6b69a9a 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.2
+version=4.0.3
 depends:
     currency
     ir
diff --git a/trytond_company.egg-info/PKG-INFO b/trytond_company.egg-info/PKG-INFO
index ddc20af..a66c5fc 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.0.2
+Version: 4.0.3
 Summary: Tryton module with companies and employees
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-company



More information about the tryton-debian-vcs mailing list