diff -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/CHANGELOG tryton-modules-account-stock-anglo-saxon-2.8.3/CHANGELOG --- tryton-modules-account-stock-anglo-saxon-2.8.1/CHANGELOG 2013-10-01 19:53:03.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/CHANGELOG 2015-03-01 15:54:02.000000000 +0000 @@ -1,3 +1,9 @@ +Version 2.8.3 - 2015-03-01 +* Bug fixes (see mercurial logs for details) + +Version 2.8.2 - 2014-11-06 +* Bug fixes (see mercurial logs for details) + Version 2.8.1 - 2013-10-01 * Bug fixes (see mercurial logs for details) diff -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/COPYRIGHT tryton-modules-account-stock-anglo-saxon-2.8.3/COPYRIGHT --- tryton-modules-account-stock-anglo-saxon-2.8.1/COPYRIGHT 2013-10-01 19:53:02.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/COPYRIGHT 2015-03-01 15:54:00.000000000 +0000 @@ -1,5 +1,5 @@ -Copyright (C) 2010-2013 Cédric Krier. -Copyright (C) 2010-2013 B2CK SPRL. +Copyright (C) 2010-2015 Cédric Krier. +Copyright (C) 2010-2015 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 -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/debian/changelog tryton-modules-account-stock-anglo-saxon-2.8.3/debian/changelog --- tryton-modules-account-stock-anglo-saxon-2.8.1/debian/changelog 2014-06-26 15:50:30.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/debian/changelog 2015-04-24 08:59:17.000000000 +0000 @@ -1,8 +1,23 @@ -tryton-modules-account-stock-anglo-saxon (2.8.1-1ubuntu0~ppa2~precise) precise; urgency=low +tryton-modules-account-stock-anglo-saxon (2.8.3-1ubuntu0~ppa1~precise) precise; urgency=low * Ubuntu build - -- Ilya Melnikov Thu, 26 Jun 2014 21:22:31 +0600 + -- Ilya Melnikov Fri, 24 Apr 2015 12:54:00 +0500 + +tryton-modules-account-stock-anglo-saxon (2.8.3-1) unstable; urgency=medium + + * Merging upstream version 2.8.3. + * Updating copyright file. + + -- Mathias Behrle Tue, 03 Mar 2015 12:26:28 +0100 + +tryton-modules-account-stock-anglo-saxon (2.8.2-1) unstable; urgency=medium + + * Fixing the branch version in the watch file. + * Merging upstream version 2.8.2. + * Updating copyright file. + + -- Mathias Behrle Thu, 04 Dec 2014 19:12:53 +0100 tryton-modules-account-stock-anglo-saxon (2.8.1-1) unstable; urgency=low diff -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/debian/copyright tryton-modules-account-stock-anglo-saxon-2.8.3/debian/copyright --- tryton-modules-account-stock-anglo-saxon-2.8.1/debian/copyright 2014-06-26 14:44:27.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/debian/copyright 2015-04-24 07:45:50.000000000 +0000 @@ -1,8 +1,8 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: * -Copyright: 2010-2013 Cédric Krier - 2010-2013 B2CK SPRL +Copyright: 2010-2015 Cédric Krier + 2010-2015 B2CK SPRL License: GPL-3+ Files: debian/* diff -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/PKG-INFO tryton-modules-account-stock-anglo-saxon-2.8.3/PKG-INFO --- tryton-modules-account-stock-anglo-saxon-2.8.1/PKG-INFO 2013-10-01 19:53:07.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/PKG-INFO 2015-03-01 15:54:07.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond_account_stock_anglo_saxon -Version: 2.8.1 +Version: 2.8.3 Summary: Tryton module for anglo-saxon real-time stock valuation Home-page: http://www.tryton.org/ Author: Tryton diff -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/stock.py tryton-modules-account-stock-anglo-saxon-2.8.3/stock.py --- tryton-modules-account-stock-anglo-saxon-2.8.1/stock.py 2013-04-22 10:03:23.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/stock.py 2014-11-06 20:39:16.000000000 +0000 @@ -92,7 +92,7 @@ if consumed_qty >= quantity: break - if type_.startswith('in_'): + if type_ == 'in_supplier': with Transaction().set_context(date=move.effective_date): unit_price = Currency.compute(move.currency, move.unit_price, move.company.currency, round=False) @@ -102,6 +102,7 @@ cost_price = move.cost_price yield (move, qty, cost_price) + consumed_qty += qty @classmethod def update_anglo_saxon_quantity_product_cost(cls, product, moves, diff -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/tryton.cfg tryton-modules-account-stock-anglo-saxon-2.8.3/tryton.cfg --- tryton-modules-account-stock-anglo-saxon-2.8.1/tryton.cfg 2013-04-22 10:23:39.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/tryton.cfg 2014-11-06 20:39:37.000000000 +0000 @@ -1,5 +1,5 @@ [tryton] -version=2.8.1 +version=2.8.3 depends: account account_invoice diff -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO tryton-modules-account-stock-anglo-saxon-2.8.3/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO --- tryton-modules-account-stock-anglo-saxon-2.8.1/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO 2013-10-01 19:53:06.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/trytond_account_stock_anglo_saxon.egg-info/PKG-INFO 2015-03-01 15:54:06.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: trytond-account-stock-anglo-saxon -Version: 2.8.1 +Version: 2.8.3 Summary: Tryton module for anglo-saxon real-time stock valuation Home-page: http://www.tryton.org/ Author: Tryton diff -Nru tryton-modules-account-stock-anglo-saxon-2.8.1/trytond_account_stock_anglo_saxon.egg-info/SOURCES.txt tryton-modules-account-stock-anglo-saxon-2.8.3/trytond_account_stock_anglo_saxon.egg-info/SOURCES.txt --- tryton-modules-account-stock-anglo-saxon-2.8.1/trytond_account_stock_anglo_saxon.egg-info/SOURCES.txt 2013-10-01 19:53:06.000000000 +0000 +++ tryton-modules-account-stock-anglo-saxon-2.8.3/trytond_account_stock_anglo_saxon.egg-info/SOURCES.txt 2015-03-01 15:54:06.000000000 +0000 @@ -9,11 +9,27 @@ setup.py tryton.cfg ./__init__.py +./account.xml ./invoice.py ./product.py +./product.xml ./stock.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 ./tests/__init__.py +./tests/scenario_account_stock_anglo_saxon.rst ./tests/test_account_stock_anglo_saxon.py +./view/category_form.xml +./view/template_form.xml doc/index.rst locale/bg_BG.po locale/ca_ES.po