[tryton-debian-vcs] tryton-modules-production branch upstream-2.6 created. 4834cd29b71c95db6324cd284a21b1d96461cb33
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 27 17:05:49 UTC 2013
The following commit has been merged in the upstream-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-production.git;a=commitdiff;h=4834cd29b71c95db6324cd284a21b1d96461cb33
commit 4834cd29b71c95db6324cd284a21b1d96461cb33
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 4 02:12:27 2013 +0200
Adding upstream version 2.6.2.
diff --git a/CHANGELOG b/CHANGELOG
index ea0e50a..8053a79 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.2 - 2013-05-02
+* Bug fixes (see mercurial logs for details)
+
Version 2.6.1 - 2012-12-23
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 747ae18..7668cfa 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2012 Cédric Krier.
-Copyright (C) 2012 B2CK SPRL.
+Copyright (C) 2012-2013 Cédric Krier.
+Copyright (C) 2012-2013 B2CK SPRL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index 53ed5d9..c1dd90d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_production
-Version: 2.6.1
+Version: 2.6.2
Summary: Tryton module for production
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/product.py b/product.py
index f9e524d..fcd6ce8 100644
--- a/product.py
+++ b/product.py
@@ -42,6 +42,14 @@ class Product:
return False
return True
+ @classmethod
+ def copy(cls, products, default=None):
+ if default is None:
+ default = {}
+ default = default.copy()
+ default.setdefault('boms', None)
+ return super(Product, cls).copy(products, default=default)
+
class ProductBom(ModelSQL, ModelView):
'Product - BOM'
diff --git a/tryton.cfg b/tryton.cfg
index 4711628..33377f2 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=2.6.1
+version=2.6.2
depends:
company
ir
diff --git a/trytond_production.egg-info/PKG-INFO b/trytond_production.egg-info/PKG-INFO
index 53e32e5..0764e7b 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: 2.6.1
+Version: 2.6.2
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