[tryton-debian-vcs] tryton-modules-production branch upstream updated. upstream/4.4.0-1-gb3ef8c7

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Sep 5 13:22:35 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-production.git;a=commitdiff;h=upstream/4.4.0-1-gb3ef8c7

commit b3ef8c707bb28f59efc9e53869d070d747386675
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Tue Sep 5 14:06:17 2017 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index dad316b..a9d14c2 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)
 * Ceil input and floor output quantities
diff --git a/PKG-INFO b/PKG-INFO
index 98f9981..b566eb5 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_production
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module for production
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/bom.py b/bom.py
index db5c771..f30169f 100644
--- a/bom.py
+++ b/bom.py
@@ -52,7 +52,6 @@ class BOM(ModelSQL, ModelView):
 class BOMInput(ModelSQL, ModelView):
     "Bill of Material Input"
     __name__ = 'production.bom.input'
-    _rec_name = 'product'
 
     bom = fields.Many2One('production.bom', 'BOM', required=True,
         select=1, ondelete='CASCADE')
@@ -111,6 +110,13 @@ class BOMInput(ModelSQL, ModelView):
             return self.uom.digits
         return 2
 
+    def get_rec_name(self, name):
+        return self.product.rec_name
+
+    @classmethod
+    def search_rec_name(cls, name, clause):
+        return [('product',) + tuple(clause[1:])]
+
     @classmethod
     def validate(cls, boms):
         super(BOMInput, cls).validate(boms)
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 b3ec514..95eadc3 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.4.0
+version=4.4.1
 depends:
     company
     ir
diff --git a/trytond_production.egg-info/PKG-INFO b/trytond_production.egg-info/PKG-INFO
index 6660c3e..9d44d59 100644
--- a/trytond_production.egg-info/PKG-INFO
+++ b/trytond_production.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-production
-Version: 4.4.0
+Version: 4.4.1
 Summary: Tryton module for production
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-production



More information about the tryton-debian-vcs mailing list