[tryton-debian-vcs] tryton-modules-bank branch upstream updated. upstream/4.4.0-1-gff7440b

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


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

commit ff7440b58dafd2d65f496221213d893903a331ee
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 14:22:29 2017 +0200

    Adding upstream version 4.4.1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 53ad1f8..a43bb69 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)
 
diff --git a/PKG-INFO b/PKG-INFO
index c2c065b..9f66c7c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_bank
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module with banks
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/bank.py b/bank.py
index 730db49..6713e46 100644
--- a/bank.py
+++ b/bank.py
@@ -12,7 +12,6 @@ __all__ = ['Bank', 'BankAccount', 'BankAccountNumber', 'BankAccountParty']
 class Bank(ModelSQL, ModelView):
     'Bank'
     __name__ = 'bank'
-    _rec_name = 'party'
     party = fields.Many2One('party.party', 'Party', required=True,
         ondelete='CASCADE')
     bic = fields.Char('BIC', size=11, help="Bank/Business Identifier Code.")
@@ -20,6 +19,10 @@ class Bank(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 BankAccount(ModelSQL, ModelView):
     'Bank Account'
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 774aa8b..329fe3e 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.0
+version=4.4.1
 depends:
     ir
     party
diff --git a/trytond_bank.egg-info/PKG-INFO b/trytond_bank.egg-info/PKG-INFO
index 7ba08e4..cb54dd1 100644
--- a/trytond_bank.egg-info/PKG-INFO
+++ b/trytond_bank.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-bank
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module with banks
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-bank



More information about the tryton-debian-vcs mailing list