[tryton-debian-vcs] tryton-modules-account-invoice-stock branch debian-jessie-3.2 updated. debian/3.2.2-1-2-g0a48eb9
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Dec 23 16:51:00 UTC 2015
The following commit has been merged in the debian-jessie-3.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-account-invoice-stock.git;a=commitdiff;h=debian/3.2.2-1-2-g0a48eb9
commit 0a48eb90d61cc7032f349b968e84736abaf03118
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Dec 23 15:41:14 2015 +0100
Releasing debian version 3.2.3-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index 942c8ea..284e27f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tryton-modules-account-invoice-stock (3.2.3-1) unstable; urgency=medium
+
+ * Merging upstream version 3.2.3.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Wed, 23 Dec 2015 15:41:14 +0100
+
tryton-modules-account-invoice-stock (3.2.2-1) unstable; urgency=medium
* Merging upstream version 3.2.2.
commit 2602c86bdeadc714e8afe504735f95e931653f5f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Dec 23 15:41:13 2015 +0100
Merging upstream version 3.2.3.
diff --git a/CHANGELOG b/CHANGELOG
index 57f7023..b07c3c4 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.3 - 2015-12-22
+* Bug fixes (see mercurial logs for details)
+
Version 3.2.2 - 2015-09-19
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 5e41137..33456cf 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_account_invoice_stock
-Version: 3.2.2
+Version: 3.2.3
Summary: Tryton module to link stock and invoice
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/account.py b/account.py
index 4589543..cf6e0f2 100644
--- a/account.py
+++ b/account.py
@@ -33,3 +33,12 @@ class InvoiceLine:
quantity += Uom.compute_qty(stock_move.uom, stock_move.quantity,
self.unit)
return quantity
+
+ @classmethod
+ def copy(cls, lines, default=None):
+ if default is None:
+ default = {}
+ else:
+ default = default.copy()
+ default.setdefault('stock_moves', None)
+ return super(InvoiceLine, cls).copy(lines, default=default)
diff --git a/stock.py b/stock.py
index 93294cd..d5bca08 100644
--- a/stock.py
+++ b/stock.py
@@ -23,3 +23,12 @@ class StockMove:
quantity += Uom.compute_qty(invoice_line.unit,
invoice_line.quantity, self.uom)
return quantity
+
+ @classmethod
+ def copy(cls, moves, default=None):
+ if default is None:
+ default = {}
+ else:
+ default = default.copy()
+ default.setdefault('invoice_lines', None)
+ return super(StockMove, cls).copy(moves, default=default)
diff --git a/tryton.cfg b/tryton.cfg
index 4f0a80b..d0da983 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.2.2
+version=3.2.3
depends:
account_invoice
stock
diff --git a/trytond_account_invoice_stock.egg-info/PKG-INFO b/trytond_account_invoice_stock.egg-info/PKG-INFO
index 83db410..166381f 100644
--- a/trytond_account_invoice_stock.egg-info/PKG-INFO
+++ b/trytond_account_invoice_stock.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-account-invoice-stock
-Version: 3.2.2
+Version: 3.2.3
Summary: Tryton module to link stock and invoice
Home-page: http://www.tryton.org/
Author: Tryton
--
tryton-modules-account-invoice-stock
More information about the tryton-debian-vcs
mailing list