[tryton-debian-vcs] tryton-modules-production-routing branch upstream-4.2 updated. upstream/4.2.0-1-g5c98571
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Sep 5 13:22:41 UTC 2017
The following commit has been merged in the upstream-4.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-production-routing.git;a=commitdiff;h=upstream/4.2.0-1-g5c98571
commit 5c98571454f4dc7b46aac11260ab3197e3840fa3
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Sep 5 14:28:02 2017 +0200
Adding upstream version 4.2.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 4ccc9fe..69e584c 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.2.1 - 2017-09-04
+* Bug fixes (see mercurial logs for details)
+
Version 4.2.0 - 2016-11-28
* Bug fixes (see mercurial logs for details)
* Add routing as Lead Time parameter
diff --git a/COPYRIGHT b/COPYRIGHT
index 1a139f7..1241054 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2015-2016 Cédric Krier.
-Copyright (C) 2015-2016 B2CK SPRL.
+Copyright (C) 2015-2017 Cédric Krier.
+Copyright (C) 2015-2017 B2CK SPRL.
Copyright (C) 2013-2015 NaN·tic.
This program is free software: you can redistribute it and/or modify
diff --git a/PKG-INFO b/PKG-INFO
index 56115ce..a825f4b 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_production_routing
-Version: 4.2.0
+Version: 4.2.1
Summary: Tryton module for production routing
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/routing.py b/routing.py
index 330d86d..0f17f3e 100644
--- a/routing.py
+++ b/routing.py
@@ -33,7 +33,6 @@ class Operation(ModelSQL, ModelView):
class RoutingStep(sequence_ordered(), ModelSQL, ModelView):
'Route'
__name__ = 'production.routing.step'
- _rec_name = 'operation'
operation = fields.Many2One('production.routing.operation', 'Operation',
required=True)
routing = fields.Many2One('production.routing', 'Routing', required=True,
@@ -42,6 +41,10 @@ class RoutingStep(sequence_ordered(), ModelSQL, ModelView):
def get_rec_name(self, name):
return self.operation.rec_name
+ @classmethod
+ def search_rec_name(cls, name, clause):
+ return [('operation',) + tuple(clause[1:])]
+
class Routing_BOM(ModelSQL):
'Routing - BOM'
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 e209c1f..a8a4ab0 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.2.0
+version=4.2.1
depends:
ir
production
diff --git a/trytond_production_routing.egg-info/PKG-INFO b/trytond_production_routing.egg-info/PKG-INFO
index b5b81ba..e6003c2 100644
--- a/trytond_production_routing.egg-info/PKG-INFO
+++ b/trytond_production_routing.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-production-routing
-Version: 4.2.0
+Version: 4.2.1
Summary: Tryton module for production routing
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-production-routing
More information about the tryton-debian-vcs
mailing list