[tryton-debian-vcs] tryton-modules-stock-forecast branch upstream updated. upstream/4.4.1-1-g1c6d235
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Fri Nov 10 12:20:41 UTC 2017
The following commit has been merged in the upstream branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-stock-forecast.git;a=commitdiff;h=upstream/4.4.1-1-g1c6d235
commit 1c6d235c7bfbad1994df42258ca27eecca33974d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Nov 6 14:41:22 2017 +0100
Adding upstream version 4.6.0.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/.drone.yml b/.drone.yml
new file mode 100644
index 0000000..e0bc2f7
--- /dev/null
+++ b/.drone.yml
@@ -0,0 +1,51 @@
+clone:
+ hg:
+ image: plugins/hg
+
+pipeline:
+ tox:
+ image: ${IMAGE}
+ environment:
+ - CFLAGS=-O0
+ - DB_CACHE=/cache
+ - TOX_TESTENV_PASSENV=CFLAGS DB_CACHE
+ - POSTGRESQL_URI=postgresql://postgres@postgresql:5432/
+ commands:
+ - pip install tox
+ - tox -e "${TOXENV}-${DATABASE}"
+ volumes:
+ - cache:/root/.cache
+
+services:
+ postgresql:
+ image: postgres
+ when:
+ matrix:
+ DATABASE: postgresql
+
+matrix:
+ include:
+ - IMAGE: python:2.7
+ TOXENV: py27
+ DATABASE: sqlite
+ - IMAGE: python:2.7
+ TOXENV: py27
+ DATABASE: postgresql
+ - IMAGE: python:3.4
+ TOXENV: py34
+ DATABASE: sqlite
+ - IMAGE: python:3.4
+ TOXENV: py34
+ DATABASE: postgresql
+ - IMAGE: python:3.5
+ TOXENV: py35
+ DATABASE: sqlite
+ - IMAGE: python:3.5
+ TOXENV: py35
+ DATABASE: postgresql
+ - IMAGE: python:3.6
+ TOXENV: py36
+ DATABASE: sqlite
+ - IMAGE: python:3.6
+ TOXENV: py36
+ DATABASE: postgresql
diff --git a/CHANGELOG b/CHANGELOG
index 0446b0e..606d235 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,4 @@
-Version 4.4.1 - 2017-09-04
+Version 4.6.0 - 2017-10-30
* Bug fixes (see mercurial logs for details)
Version 4.4.0 - 2017-05-01
diff --git a/PKG-INFO b/PKG-INFO
index e5f3668..01ef1c6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_stock_forecast
-Version: 4.4.1
+Version: 4.6.0
Summary: Tryton module with stock forecasts
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/4.4/
+Download-URL: http://downloads.tryton.org/4.6/
Description: trytond_stock_forecast
======================
@@ -70,9 +70,9 @@ Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
diff --git a/forecast.py b/forecast.py
index 360ce39..ee518f7 100644
--- a/forecast.py
+++ b/forecast.py
@@ -193,7 +193,7 @@ class Forecast(Workflow, ModelSQL, ModelView):
@classmethod
def search_rec_name(cls, name, clause):
- return [('warehouse',) + tuple(clause[1:])]
+ return [('warehouse.rec_name',) + tuple(clause[1:])]
@classmethod
def validate(cls, forecasts):
@@ -403,7 +403,7 @@ class ForecastLine(ModelSQL, ModelView):
@classmethod
def search_rec_name(cls, name, clause):
- return [('product',) + tuple(clause[1:])]
+ return [('product.rec_name',) + tuple(clause[1:])]
@classmethod
def get_quantity_executed(cls, lines, name):
diff --git a/locale/bg.po b/locale/bg.po
index 8cc0f02..de2b47c 100644
--- a/locale/bg.po
+++ b/locale/bg.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -66,8 +66,8 @@ msgid "Lines"
msgstr "Редове"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Име"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -154,8 +154,8 @@ msgid "Quantity Executed"
msgstr "Изпълнено количество"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Име"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -194,8 +194,8 @@ msgid "Move"
msgstr "Движение"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Име"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/ca.po b/locale/ca.po
index de7af96..fc924b4 100644
--- a/locale/ca.po
+++ b/locale/ca.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -67,8 +67,8 @@ msgid "Lines"
msgstr "Línies"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom del registre"
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -155,8 +155,8 @@ msgid "Quantity Executed"
msgstr "Quantitats executades"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom del registre"
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -195,8 +195,8 @@ msgid "Move"
msgstr "Moviment"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom del registre"
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/cs.po b/locale/cs.po
index 0933a9d..9579c30 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -64,10 +64,9 @@ msgctxt "field:stock.forecast,lines:"
msgid "Lines"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -153,10 +152,9 @@ msgctxt "field:stock.forecast.line,quantity_executed:"
msgid "Quantity Executed"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -194,10 +192,9 @@ msgctxt "field:stock.forecast.line-stock.move,move:"
msgid "Move"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/de.po b/locale/de.po
index 096edb7..25c9d42 100644
--- a/locale/de.po
+++ b/locale/de.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -70,8 +70,8 @@ msgid "Lines"
msgstr "Positionen"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Name"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -158,8 +158,8 @@ msgid "Quantity Executed"
msgstr "Anzahl ausgeführt"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Name"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -198,8 +198,8 @@ msgid "Move"
msgstr "Bewegung"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Name"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/es.po b/locale/es.po
index 86c6517..01cbd73 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -67,8 +67,8 @@ msgid "Lines"
msgstr "Líneas"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Nombre"
+msgid "Record Name"
+msgstr "Nombre del registro"
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -155,8 +155,8 @@ msgid "Quantity Executed"
msgstr "Cantidades ejecutadas"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Nombre"
+msgid "Record Name"
+msgstr "Nombre del registro"
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -195,8 +195,8 @@ msgid "Move"
msgstr "Movimiento"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Nombre"
+msgid "Record Name"
+msgstr "Nombre del registro"
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/es_419.po b/locale/es_419.po
index 7dfd2e7..9f04004 100644
--- a/locale/es_419.po
+++ b/locale/es_419.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -65,7 +65,7 @@ msgid "Lines"
msgstr ""
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
+msgid "Record Name"
msgstr ""
msgctxt "field:stock.forecast,state:"
@@ -153,7 +153,7 @@ msgid "Quantity Executed"
msgstr "Cantidad ejecutada"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
+msgid "Record Name"
msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
@@ -193,7 +193,7 @@ msgid "Move"
msgstr ""
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
+msgid "Record Name"
msgstr ""
msgctxt "field:stock.forecast.line-stock.move,write_date:"
diff --git a/locale/fr.po b/locale/fr.po
index 339f295..92ae230 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -68,8 +68,8 @@ msgid "Lines"
msgstr "Lignes"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom de l'enregistrement"
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -156,8 +156,8 @@ msgid "Quantity Executed"
msgstr "Quantité exécutée"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom de l'enregistrement"
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -196,8 +196,8 @@ msgid "Move"
msgstr "Mouvement"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Nom"
+msgid "Record Name"
+msgstr "Nom de l'enregistrement"
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/hu_HU.po b/locale/hu_HU.po
index 561a969..57179dc 100644
--- a/locale/hu_HU.po
+++ b/locale/hu_HU.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -67,8 +67,8 @@ msgid "Lines"
msgstr "Pozíció"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Név"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -155,8 +155,8 @@ msgid "Quantity Executed"
msgstr "Mennyiség kész"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Név"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -195,10 +195,9 @@ msgctxt "field:stock.forecast.line-stock.move,move:"
msgid "Move"
msgstr "Lépések"
-#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Név"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,write_date:"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index ecbfb56..6088ce1 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -71,10 +71,9 @@ msgctxt "field:stock.forecast,lines:"
msgid "Lines"
msgstr "Righe"
-#, fuzzy
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast,state:"
@@ -177,10 +176,9 @@ msgctxt "field:stock.forecast.line,quantity_executed:"
msgid "Quantity Executed"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast.line,unit_digits:"
@@ -225,10 +223,9 @@ msgctxt "field:stock.forecast.line-stock.move,move:"
msgid "Move"
msgstr "Movimento"
-#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,write_date:"
diff --git a/locale/ja_JP.po b/locale/ja_JP.po
index fd6eb6f..408853b 100644
--- a/locale/ja_JP.po
+++ b/locale/ja_JP.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -65,7 +65,7 @@ msgid "Lines"
msgstr ""
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
+msgid "Record Name"
msgstr ""
msgctxt "field:stock.forecast,state:"
@@ -154,7 +154,7 @@ msgid "Quantity Executed"
msgstr ""
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
+msgid "Record Name"
msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
@@ -194,7 +194,7 @@ msgid "Move"
msgstr ""
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
+msgid "Record Name"
msgstr ""
msgctxt "field:stock.forecast.line-stock.move,write_date:"
diff --git a/locale/lo.po b/locale/lo.po
index 275db6d..19a5c53 100644
--- a/locale/lo.po
+++ b/locale/lo.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -71,10 +71,9 @@ msgctxt "field:stock.forecast,lines:"
msgid "Lines"
msgstr "ຮ່ວງ"
-#, fuzzy
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "ຊື່"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast,state:"
@@ -176,10 +175,9 @@ msgctxt "field:stock.forecast.line,quantity_executed:"
msgid "Quantity Executed"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "ຊື່"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast.line,unit_digits:"
@@ -224,10 +222,9 @@ msgctxt "field:stock.forecast.line-stock.move,move:"
msgid "Move"
msgstr "ເຄື່ອນໄຫວ"
-#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "ຊື່"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,write_date:"
diff --git a/locale/lt.po b/locale/lt.po
index 0933a9d..9579c30 100644
--- a/locale/lt.po
+++ b/locale/lt.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -64,10 +64,9 @@ msgctxt "field:stock.forecast,lines:"
msgid "Lines"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -153,10 +152,9 @@ msgctxt "field:stock.forecast.line,quantity_executed:"
msgid "Quantity Executed"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -194,10 +192,9 @@ msgctxt "field:stock.forecast.line-stock.move,move:"
msgid "Move"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Namu"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/nl.po b/locale/nl.po
index 88f824d..62ee8a7 100644
--- a/locale/nl.po
+++ b/locale/nl.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -71,10 +71,9 @@ msgctxt "field:stock.forecast,lines:"
msgid "Lines"
msgstr "Regels"
-#, fuzzy
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Naam bijlage"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast,state:"
@@ -175,10 +174,9 @@ msgctxt "field:stock.forecast.line,quantity_executed:"
msgid "Quantity Executed"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Naam bijlage"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast.line,unit_digits:"
@@ -223,10 +221,9 @@ msgctxt "field:stock.forecast.line-stock.move,move:"
msgid "Move"
msgstr "Boeking"
-#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Naam bijlage"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,write_date:"
diff --git a/locale/pl.po b/locale/pl.po
index fd6eb6f..66c7154 100644
--- a/locale/pl.po
+++ b/locale/pl.po
@@ -1,10 +1,10 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "error:stock.forecast.complete:"
msgid "\"From Date\" should be smaller than \"To Date\"."
-msgstr ""
+msgstr "\"Od daty\" musi być wcześniej niż \"Do daty\"."
msgctxt "error:stock.forecast.line:"
msgid "Line quantity must be greater than the minimal quantity"
@@ -20,7 +20,7 @@ msgstr ""
msgctxt "error:stock.forecast:"
msgid "\"To Date\" must be greater than \"From Date\""
-msgstr ""
+msgstr "\"Do daty\" musi być później niż \"Od daty\""
msgctxt "error:stock.forecast:"
msgid ""
@@ -34,87 +34,87 @@ msgstr ""
msgctxt "field:stock.forecast,active:"
msgid "Active"
-msgstr ""
+msgstr "Aktywna"
msgctxt "field:stock.forecast,company:"
msgid "Company"
-msgstr ""
+msgstr "Firma"
msgctxt "field:stock.forecast,create_date:"
msgid "Create Date"
-msgstr ""
+msgstr "Data utworzenia"
msgctxt "field:stock.forecast,create_uid:"
msgid "Create User"
-msgstr ""
+msgstr "Utworzył"
msgctxt "field:stock.forecast,destination:"
msgid "Destination"
-msgstr ""
+msgstr "Cel"
msgctxt "field:stock.forecast,from_date:"
msgid "From Date"
-msgstr ""
+msgstr "Od dnia"
msgctxt "field:stock.forecast,id:"
msgid "ID"
-msgstr ""
+msgstr "ID"
msgctxt "field:stock.forecast,lines:"
msgid "Lines"
-msgstr ""
+msgstr "Wiersze"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr ""
+msgid "Record Name"
+msgstr "Nazwa rekordu"
msgctxt "field:stock.forecast,state:"
msgid "State"
-msgstr ""
+msgstr "Stan"
msgctxt "field:stock.forecast,to_date:"
msgid "To Date"
-msgstr ""
+msgstr "Do dnia"
msgctxt "field:stock.forecast,warehouse:"
msgid "Location"
-msgstr ""
+msgstr "Lokalizacja"
msgctxt "field:stock.forecast,write_date:"
msgid "Write Date"
-msgstr ""
+msgstr "Data zapisu"
msgctxt "field:stock.forecast,write_uid:"
msgid "Write User"
-msgstr ""
+msgstr "Zapisał"
msgctxt "field:stock.forecast.complete.ask,from_date:"
msgid "From Date"
-msgstr ""
+msgstr "Od dnia"
msgctxt "field:stock.forecast.complete.ask,id:"
msgid "ID"
-msgstr ""
+msgstr "ID"
msgctxt "field:stock.forecast.complete.ask,to_date:"
msgid "To Date"
-msgstr ""
+msgstr "Do dnia"
msgctxt "field:stock.forecast.complete.choose,id:"
msgid "ID"
-msgstr ""
+msgstr "ID"
msgctxt "field:stock.forecast.complete.choose,products:"
msgid "Products"
-msgstr ""
+msgstr "Produkty"
msgctxt "field:stock.forecast.line,create_date:"
msgid "Create Date"
-msgstr ""
+msgstr "Data utworzenia"
msgctxt "field:stock.forecast.line,create_uid:"
msgid "Create User"
-msgstr ""
+msgstr "Utworzył"
#, fuzzy
msgctxt "field:stock.forecast.line,forecast:"
@@ -127,63 +127,63 @@ msgstr ""
msgctxt "field:stock.forecast.line,id:"
msgid "ID"
-msgstr ""
+msgstr "ID"
msgctxt "field:stock.forecast.line,minimal_quantity:"
msgid "Minimal Qty"
-msgstr ""
+msgstr "Minimalna ilość"
msgctxt "field:stock.forecast.line,moves:"
msgid "Moves"
-msgstr ""
+msgstr "Ruchy"
msgctxt "field:stock.forecast.line,product:"
msgid "Product"
-msgstr ""
+msgstr "Produkt"
msgctxt "field:stock.forecast.line,product_uom_category:"
msgid "Product Uom Category"
-msgstr ""
+msgstr "Kategoria jm produktu"
msgctxt "field:stock.forecast.line,quantity:"
msgid "Quantity"
-msgstr ""
+msgstr "Ilość"
msgctxt "field:stock.forecast.line,quantity_executed:"
msgid "Quantity Executed"
msgstr ""
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr ""
+msgid "Record Name"
+msgstr "Nazwa rekordu"
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
-msgstr ""
+msgstr "Cyfry jednostki"
msgctxt "field:stock.forecast.line,uom:"
msgid "UOM"
-msgstr ""
+msgstr "Jm"
msgctxt "field:stock.forecast.line,write_date:"
msgid "Write Date"
-msgstr ""
+msgstr "Data zapisu"
msgctxt "field:stock.forecast.line,write_uid:"
msgid "Write User"
-msgstr ""
+msgstr "Zapisał"
msgctxt "field:stock.forecast.line-stock.move,create_date:"
msgid "Create Date"
-msgstr ""
+msgstr "Data utworzenia"
msgctxt "field:stock.forecast.line-stock.move,create_uid:"
msgid "Create User"
-msgstr ""
+msgstr "Utworzył"
msgctxt "field:stock.forecast.line-stock.move,id:"
msgid "ID"
-msgstr ""
+msgstr "ID"
msgctxt "field:stock.forecast.line-stock.move,line:"
msgid "Forecast Line"
@@ -191,48 +191,48 @@ msgstr ""
msgctxt "field:stock.forecast.line-stock.move,move:"
msgid "Move"
-msgstr ""
+msgstr "Ruch"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr ""
+msgid "Record Name"
+msgstr "Nazwa rekordu"
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
-msgstr ""
+msgstr "Data zapisu"
msgctxt "field:stock.forecast.line-stock.move,write_uid:"
msgid "Write User"
-msgstr ""
+msgstr "Zapisał"
msgctxt "model:ir.action,name:act_forecast_form"
msgid "Forecasts"
-msgstr "Forecasts"
+msgstr ""
msgctxt "model:ir.action,name:wizard_forecast_complete"
msgid "Complete Forecast"
-msgstr "Complete Forecast"
+msgstr ""
msgctxt "model:ir.action.act_window.domain,name:act_forecast_form_domain_all"
msgid "All"
-msgstr "All"
+msgstr ""
msgctxt "model:ir.action.act_window.domain,name:act_forecast_form_domain_done"
msgid "Done"
-msgstr "Done"
+msgstr "Wykonano"
msgctxt ""
"model:ir.action.act_window.domain,name:act_forecast_form_domain_draft"
msgid "Draft"
-msgstr "Draft"
+msgstr ""
msgctxt "model:ir.ui.menu,name:menu_forecast_form"
msgid "Forecasts"
-msgstr "Forecasts"
+msgstr ""
msgctxt "model:res.group,name:group_stock_forecast"
msgid "Stock Forecast"
-msgstr "Stock Forecast"
+msgstr ""
#, fuzzy
msgctxt "model:stock.forecast,name:"
@@ -259,12 +259,11 @@ msgstr ""
msgctxt "selection:stock.forecast,state:"
msgid "Cancel"
-msgstr ""
+msgstr "Anuluj"
-#, fuzzy
msgctxt "selection:stock.forecast,state:"
msgid "Done"
-msgstr "Done"
+msgstr "Wykonano"
#, fuzzy
msgctxt "selection:stock.forecast,state:"
@@ -273,12 +272,11 @@ msgstr "Draft"
msgctxt "selection:stock.forecast.line,forecast_state:"
msgid "Cancel"
-msgstr ""
+msgstr "Anuluj"
-#, fuzzy
msgctxt "selection:stock.forecast.line,forecast_state:"
msgid "Done"
-msgstr "Done"
+msgstr "Wykonano"
#, fuzzy
msgctxt "selection:stock.forecast.line,forecast_state:"
@@ -291,7 +289,7 @@ msgstr ""
msgctxt "view:stock.forecast:"
msgid "Cancel"
-msgstr ""
+msgstr "Anuluj"
#, fuzzy
msgctxt "view:stock.forecast:"
@@ -300,7 +298,7 @@ msgstr "Complete Forecast"
msgctxt "view:stock.forecast:"
msgid "Confirm"
-msgstr ""
+msgstr "Potwierdź"
msgctxt "view:stock.forecast:"
msgid "Reset to Draft"
@@ -308,7 +306,7 @@ msgstr ""
msgctxt "wizard_button:stock.forecast.complete,ask,choose:"
msgid "Choose Products"
-msgstr ""
+msgstr "Wybierz produkty"
msgctxt "wizard_button:stock.forecast.complete,ask,complete:"
msgid "Complete"
@@ -316,11 +314,11 @@ msgstr ""
msgctxt "wizard_button:stock.forecast.complete,ask,end:"
msgid "Cancel"
-msgstr ""
+msgstr "Anuluj"
msgctxt "wizard_button:stock.forecast.complete,choose,ask:"
msgid "Choose Dates"
-msgstr ""
+msgstr "Wybierz daty"
msgctxt "wizard_button:stock.forecast.complete,choose,complete:"
msgid "Complete"
@@ -328,4 +326,4 @@ msgstr ""
msgctxt "wizard_button:stock.forecast.complete,choose,end:"
msgid "Cancel"
-msgstr ""
+msgstr "Anuluj"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 721e177..2ce4596 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -67,8 +67,8 @@ msgid "Lines"
msgstr "Linhas"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr "Nome do Registro"
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -155,8 +155,8 @@ msgid "Quantity Executed"
msgstr "Quantidade Executada"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr "Nome do Registro"
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -195,8 +195,8 @@ msgid "Move"
msgstr "Movimentação"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Nome"
+msgid "Record Name"
+msgstr "Nome do Registro"
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/ru.po b/locale/ru.po
index 7855b4a..010ac6c 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -68,8 +68,8 @@ msgid "Lines"
msgstr "Строки"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Наименование"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -156,8 +156,8 @@ msgid "Quantity Executed"
msgstr "Кол-во выполнено"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Наименование"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -196,8 +196,8 @@ msgid "Move"
msgstr "Перемещение"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Наименование"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/sl.po b/locale/sl.po
index e2e7d0c..a95adc8 100644
--- a/locale/sl.po
+++ b/locale/sl.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -67,8 +67,8 @@ msgid "Lines"
msgstr "Postavke"
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "Ime"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast,state:"
msgid "State"
@@ -155,8 +155,8 @@ msgid "Quantity Executed"
msgstr "Izvedena količina"
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "Ime"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -195,8 +195,8 @@ msgid "Move"
msgstr "Promet"
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "Ime"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line-stock.move,write_date:"
msgid "Write Date"
diff --git a/locale/zh_CN.po b/locale/zh_CN.po
index 62ae5ff..d497724 100644
--- a/locale/zh_CN.po
+++ b/locale/zh_CN.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -68,10 +68,9 @@ msgctxt "field:stock.forecast,lines:"
msgid "Lines"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast,rec_name:"
-msgid "Name"
-msgstr "纳木"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast,state:"
@@ -165,10 +164,9 @@ msgctxt "field:stock.forecast.line,quantity_executed:"
msgid "Quantity Executed"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line,rec_name:"
-msgid "Name"
-msgstr "纳木"
+msgid "Record Name"
+msgstr ""
msgctxt "field:stock.forecast.line,unit_digits:"
msgid "Unit Digits"
@@ -211,10 +209,9 @@ msgctxt "field:stock.forecast.line-stock.move,move:"
msgid "Move"
msgstr ""
-#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,rec_name:"
-msgid "Name"
-msgstr "纳木"
+msgid "Record Name"
+msgstr ""
#, fuzzy
msgctxt "field:stock.forecast.line-stock.move,write_date:"
diff --git a/setup.py b/setup.py
index 0846b5e..3b74641 100644
--- a/setup.py
+++ b/setup.py
@@ -97,9 +97,9 @@ setup(name=name,
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
- 'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Office/Business',
diff --git a/tests/test_stock_forecast.py b/tests/test_stock_forecast.py
index a2cf713..9dbca05 100644
--- a/tests/test_stock_forecast.py
+++ b/tests/test_stock_forecast.py
@@ -46,10 +46,8 @@ class StockForecastTestCase(ModuleTestCase):
template, = Template.create([{
'name': 'Test create_moves',
'type': 'goods',
- 'cost_price_method': 'fixed',
'default_uom': unit.id,
'list_price': Decimal('1'),
- 'cost_price': Decimal(0),
}])
product, = Product.create([{
'template': template.id,
@@ -125,10 +123,8 @@ class StockForecastTestCase(ModuleTestCase):
template, = Template.create([{
'name': 'Test complete',
'type': 'goods',
- 'cost_price_method': 'fixed',
'default_uom': unit.id,
'list_price': Decimal('1'),
- 'cost_price': Decimal(0),
}])
product, = Product.create([{
'template': template.id,
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..527d859
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,18 @@
+[tox]
+envlist = {py27,py34,py35,py36}-{sqlite,postgresql,mysql},pypy-{sqlite,postgresql}
+
+[testenv]
+commands = {envpython} setup.py test
+deps =
+ {py27,py34,py35,py36}-postgresql: psycopg2 >= 2.5
+ pypy-postgresql: psycopg2cffi >= 2.5
+ mysql: MySQL-python
+ sqlite: sqlitebck
+setenv =
+ sqlite: TRYTOND_DATABASE_URI={env:SQLITE_URI:sqlite://}
+ postgresql: TRYTOND_DATABASE_URI={env:POSTGRESQL_URI:postgresql://}
+ mysql: TRYTOND_DATABASE_URI={env:MYSQL_URI:mysql://}
+ sqlite: DB_NAME={env:SQLITE_NAME::memory:}
+ postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
+ mysql: DB_NAME={env:MYSQL_NAME:test}
+install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
diff --git a/tryton.cfg b/tryton.cfg
index 557296c..8a34373 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.1
+version=4.6.0
depends:
company
ir
diff --git a/trytond_stock_forecast.egg-info/PKG-INFO b/trytond_stock_forecast.egg-info/PKG-INFO
index c82667f..4ab73fb 100644
--- a/trytond_stock_forecast.egg-info/PKG-INFO
+++ b/trytond_stock_forecast.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-stock-forecast
-Version: 4.4.1
+Version: 4.6.0
Summary: Tryton module with stock forecasts
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/4.4/
+Download-URL: http://downloads.tryton.org/4.6/
Description: trytond_stock_forecast
======================
@@ -70,9 +70,9 @@ Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
diff --git a/trytond_stock_forecast.egg-info/SOURCES.txt b/trytond_stock_forecast.egg-info/SOURCES.txt
index 4571b4c..e8fe21a 100644
--- a/trytond_stock_forecast.egg-info/SOURCES.txt
+++ b/trytond_stock_forecast.egg-info/SOURCES.txt
@@ -1,11 +1,16 @@
+.drone.yml
+.hgtags
CHANGELOG
COPYRIGHT
INSTALL
LICENSE
MANIFEST.in
README
+__init__.py
+forecast.py
forecast.xml
setup.py
+tox.ini
tryton.cfg
./__init__.py
./forecast.py
@@ -56,6 +61,8 @@ locale/pt_BR.po
locale/ru.po
locale/sl.po
locale/zh_CN.po
+tests/__init__.py
+tests/test_stock_forecast.py
trytond_stock_forecast.egg-info/PKG-INFO
trytond_stock_forecast.egg-info/SOURCES.txt
trytond_stock_forecast.egg-info/dependency_links.txt
diff --git a/trytond_stock_forecast.egg-info/requires.txt b/trytond_stock_forecast.egg-info/requires.txt
index e57e2d5..6713b86 100644
--- a/trytond_stock_forecast.egg-info/requires.txt
+++ b/trytond_stock_forecast.egg-info/requires.txt
@@ -1,6 +1,6 @@
python-dateutil
python-sql >= 0.4
-trytond_company >= 4.4, < 4.5
-trytond_product >= 4.4, < 4.5
-trytond_stock >= 4.4, < 4.5
-trytond >= 4.4, < 4.5
+trytond_company >= 4.6, < 4.7
+trytond_product >= 4.6, < 4.7
+trytond_stock >= 4.6, < 4.7
+trytond >= 4.6, < 4.7
--
tryton-modules-stock-forecast
More information about the tryton-debian-vcs
mailing list