[tryton-debian-vcs] tryton-modules-product-cost-fifo branch upstream-3.0 updated. upstream/3.0.0-1-geb743e6
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Oct 8 16:52:19 UTC 2014
The following commit has been merged in the upstream-3.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-product-cost-fifo.git;a=commitdiff;h=upstream/3.0.0-1-geb743e6
commit eb743e638e0e4b0e86c7bd2a8d843f6a3f605b06
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Oct 8 13:44:59 2014 +0200
Adding upstream version 3.0.1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index baa0bdf..65ffdd8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.1 - 2014-09-29
+* Bug fixes (see mercurial logs for details)
+
Version 3.0.0 - 2013-10-21
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 9192c97..5134c09 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2013 Cédric Krier.
+Copyright (C) 2008-2014 Cédric Krier.
Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2013 B2CK SPRL.
+Copyright (C) 2008-2014 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 f4fca05..3f4d1a7 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_product_cost_fifo
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module to add FIFO cost method
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/move.py b/move.py
index 3989323..d2c2160 100644
--- a/move.py
+++ b/move.py
@@ -109,24 +109,7 @@ class Move:
@ModelView.button
@Workflow.transition('cancel')
def cancel(cls, moves):
- pool = Pool()
- Date = pool.get('ir.date')
-
- today = Date.today()
- for move in moves:
- move.effective_date = today
- if (move.from_location.type in ('supplier', 'production')
- and move.to_location.type == 'storage'
- and move.product.cost_price_method == 'fifo'):
- move._update_product_cost_price('out')
- elif (move.to_location.type == 'supplier'
- and move.from_location.type == 'storage'
- and move.product.cost_price_method == 'fifo'):
- move._update_product_cost_price('in')
- move.effective_date = None
- move.save()
-
- super(Move, cls).cancel(moves)
+ pass
@classmethod
def delete(cls, moves):
diff --git a/tryton.cfg b/tryton.cfg
index 741ec4b..db3f218 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.0.0
+version=3.0.1
depends:
ir
product
diff --git a/trytond_product_cost_fifo.egg-info/PKG-INFO b/trytond_product_cost_fifo.egg-info/PKG-INFO
index ab2fa7b..e1e24ca 100644
--- a/trytond_product_cost_fifo.egg-info/PKG-INFO
+++ b/trytond_product_cost_fifo.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-product-cost-fifo
-Version: 3.0.0
+Version: 3.0.1
Summary: Tryton module to add FIFO cost method
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_product_cost_fifo.egg-info/SOURCES.txt b/trytond_product_cost_fifo.egg-info/SOURCES.txt
index 77dbcd9..b7743e1 100644
--- a/trytond_product_cost_fifo.egg-info/SOURCES.txt
+++ b/trytond_product_cost_fifo.egg-info/SOURCES.txt
@@ -9,6 +9,18 @@ tryton.cfg
./__init__.py
./move.py
./product.py
+./tryton.cfg
+./locale/bg_BG.po
+./locale/ca_ES.po
+./locale/cs_CZ.po
+./locale/de_DE.po
+./locale/es_AR.po
+./locale/es_CO.po
+./locale/es_ES.po
+./locale/fr_FR.po
+./locale/nl_NL.po
+./locale/ru_RU.po
+./locale/sl_SI.po
doc/index.rst
locale/bg_BG.po
locale/ca_ES.po
--
tryton-modules-product-cost-fifo
More information about the tryton-debian-vcs
mailing list