[tryton-debian-vcs] tryton-modules-stock branch upstream-2.8 updated. upstream/2.8.7-1-g9ba7e5a

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Oct 8 16:53:39 UTC 2014


The following commit has been merged in the upstream-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock.git;a=commitdiff;h=upstream/2.8.7-1-g9ba7e5a

commit 9ba7e5ab986b2c8c0cccb54c089b2d4fad578d6b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Oct 8 13:31:10 2014 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index 4dc5e39..71ae592 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.8 - 2014-09-29
+* Bug fixes (see mercurial logs for details)
+
 Version 2.8.7 - 2014-08-03
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 2f063a2..20a1089 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_stock
-Version: 2.8.7
+Version: 2.8.8
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/move.py b/move.py
index 6824a54..08fdf31 100644
--- a/move.py
+++ b/move.py
@@ -479,22 +479,7 @@ class Move(Workflow, ModelSQL, ModelView):
     @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 == 'average'):
-                move._update_product_cost_price('out')
-            elif (move.to_location.type == 'supplier'
-                    and move.from_location.type == 'storage'
-                    and move.product.cost_price_method == 'average'):
-                move._update_product_cost_price('in')
-            move.effective_date = None
-            move.save()
+        pass
 
     @classmethod
     def create(cls, vlist):
diff --git a/shipment.py b/shipment.py
index d46df07..338cf86 100644
--- a/shipment.py
+++ b/shipment.py
@@ -1346,7 +1346,7 @@ class ShipmentOutReturn(Workflow, ModelSQL, ModelView):
         cls._transitions |= set((
                 ('draft', 'received'),
                 ('received', 'done'),
-                ('received', 'draf'),
+                ('received', 'draft'),
                 ('draft', 'cancel'),
                 ('received', 'cancel'),
                 ('cancel', 'draft'),
diff --git a/tryton.cfg b/tryton.cfg
index 84fc5ba..aeb0c2c 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.8.7
+version=2.8.8
 depends:
     company
     currency
diff --git a/trytond_stock.egg-info/PKG-INFO b/trytond_stock.egg-info/PKG-INFO
index 79fb699..9940c92 100644
--- a/trytond_stock.egg-info/PKG-INFO
+++ b/trytond_stock.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-stock
-Version: 2.8.7
+Version: 2.8.8
 Summary: Tryton module for stock and inventory
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond_stock.egg-info/SOURCES.txt b/trytond_stock.egg-info/SOURCES.txt
index 2822d28..5cf7f91 100644
--- a/trytond_stock.egg-info/SOURCES.txt
+++ b/trytond_stock.egg-info/SOURCES.txt
@@ -23,14 +23,80 @@ supplier_restocking_list.odt
 tryton.cfg
 ./__init__.py
 ./configuration.py
+./configuration.xml
+./customer_return_restocking_list.odt
+./delivery_note.odt
+./internal_shipment.odt
 ./inventory.py
+./inventory.xml
 ./location.py
+./location.xml
 ./move.py
+./move.xml
+./party.xml
 ./period.py
+./period.xml
+./picking_list.odt
 ./product.py
+./product.xml
 ./shipment.py
+./shipment.xml
+./stock.xml
+./supplier_restocking_list.odt
+./tryton.cfg
+./icons/tryton-inventory.svg
+./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
 ./tests/__init__.py
+./tests/scenario_stock_average_cost_price.rst
+./tests/scenario_stock_shipment_out.rst
 ./tests/test_stock.py
+./view/configuration_form.xml
+./view/inventory_form.xml
+./view/inventory_line_form.xml
+./view/inventory_line_tree.xml
+./view/inventory_tree.xml
+./view/location_form.xml
+./view/location_list.xml
+./view/location_quantity_tree.xml
+./view/location_tree.xml
+./view/move_form.xml
+./view/move_tree.xml
+./view/move_tree_simple.xml
+./view/party_address_form.xml
+./view/party_address_tree.xml
+./view/party_form.xml
+./view/period_cache_form.xml
+./view/period_cache_list.xml
+./view/period_form.xml
+./view/period_list.xml
+./view/product_by_location_start_form.xml
+./view/product_quantities_warehouse_graph.xml
+./view/product_quantities_warehouse_list.xml
+./view/product_quantities_warehouse_start_form.xml
+./view/product_tree_qty.xml
+./view/products_by_locations_start_form.xml
+./view/shipment_in_form.xml
+./view/shipment_in_return_assign_failed_form.xml
+./view/shipment_in_return_form.xml
+./view/shipment_in_return_tree.xml
+./view/shipment_in_tree.xml
+./view/shipment_internal_assign_failed_form.xml
+./view/shipment_internal_form.xml
+./view/shipment_internal_tree.xml
+./view/shipment_out_assign_failed_form.xml
+./view/shipment_out_form.xml
+./view/shipment_out_return_form.xml
+./view/shipment_out_return_tree.xml
+./view/shipment_out_tree.xml
 doc/index.rst
 icons/tryton-inventory.svg
 locale/bg_BG.po
-- 
tryton-modules-stock



More information about the tryton-debian-vcs mailing list