[tryton-debian-vcs] tryton-modules-account-invoice-stock branch upstream updated. upstream/3.6.0-1-gd2a3505

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed Nov 11 11:20:14 UTC 2015


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

commit d2a3505ce452470b2a18f2ebe43f91d8e6b7d5e2
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Nov 11 12:11:03 2015 +0100

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

diff --git a/CHANGELOG b/CHANGELOG
index 24733d1..8d80dcb 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.8.0 - 2015-11-02
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.0 - 2015-04-20
 * Bug fixes (see mercurial logs for details)
 * Add support for PyPy
diff --git a/PKG-INFO b/PKG-INFO
index 2bc7134..a01c6d6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond_account_invoice_stock
-Version: 3.6.0
+Version: 3.8.0
 Summary: Tryton module to link stock and invoice
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.6/
+Download-URL: http://downloads.tryton.org/3.8/
 Description: trytond_account_invoice_stock
         =============================
         
@@ -59,6 +59,9 @@ Classifier: Natural Language :: Dutch
 Classifier: Natural Language :: English
 Classifier: Natural Language :: French
 Classifier: Natural Language :: German
+Classifier: Natural Language :: Hungarian
+Classifier: Natural Language :: Italian
+Classifier: Natural Language :: Portuguese (Brazilian)
 Classifier: Natural Language :: Russian
 Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
diff --git a/account.py b/account.py
index 60d853d..64dca57 100644
--- a/account.py
+++ b/account.py
@@ -38,3 +38,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/locale/es_EC.po b/locale/bg_BG.po
similarity index 70%
copy from locale/es_EC.po
copy to locale/bg_BG.po
index 229ad09..6cc6384 100644
--- a/locale/es_EC.po
+++ b/locale/bg_BG.po
@@ -4,48 +4,57 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr ""
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr "Създадено на"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr "Създадено от"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
 msgstr "ID"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr "Ред от фактура"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr "Условие за плащане"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr "Движение на наличност"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr "Променено на"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr "Променено от"
 
+#, fuzzy
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr "Редове от фактура"
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr ""
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/locale/es_EC.po b/locale/cs_CZ.po
similarity index 73%
copy from locale/es_EC.po
copy to locale/cs_CZ.po
index 229ad09..ce590a6 100644
--- a/locale/es_EC.po
+++ b/locale/cs_CZ.po
@@ -4,48 +4,48 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
-msgstr "ID"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr ""
 
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr ""
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr ""
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/locale/es_EC.po b/locale/es_EC.po
index 229ad09..a34dbdf 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -4,15 +4,15 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr "Movimientos de stock"
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr "Fecha de creación"
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr "Creado por usuario"
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
@@ -20,7 +20,7 @@ msgstr "ID"
 
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr "Línea de factura"
 
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
@@ -28,24 +28,24 @@ msgstr "Nombre"
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr "Movimiento de stock"
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr "Fecha de modificación"
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr "Modificado por usuario"
 
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr "Líneas de factura"
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr "Línea de factura - Movimiento de stock"
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr "Stock"
diff --git a/locale/es_EC.po b/locale/es_MX.po
similarity index 75%
copy from locale/es_EC.po
copy to locale/es_MX.po
index 229ad09..46a1c58 100644
--- a/locale/es_EC.po
+++ b/locale/es_MX.po
@@ -4,15 +4,15 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr "Movimientos de existencias"
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr "Fecha creación"
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr "Usuario creación"
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
@@ -20,7 +20,7 @@ msgstr "ID"
 
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr "Línea de factura"
 
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
@@ -28,24 +28,24 @@ msgstr "Nombre"
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr "Movimiento de existencias"
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr "Fecha modificación"
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr "Usuario modificación"
 
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr "Líneas de factura"
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr "Línea de factura - Movimiento de existencias"
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/locale/es_EC.po b/locale/hu_HU.po
similarity index 73%
copy from locale/es_EC.po
copy to locale/hu_HU.po
index 229ad09..ce590a6 100644
--- a/locale/es_EC.po
+++ b/locale/hu_HU.po
@@ -4,48 +4,48 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
-msgstr "ID"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr ""
 
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr ""
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr ""
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/locale/es_EC.po b/locale/it_IT.po
similarity index 73%
copy from locale/es_EC.po
copy to locale/it_IT.po
index 229ad09..ce590a6 100644
--- a/locale/es_EC.po
+++ b/locale/it_IT.po
@@ -4,48 +4,48 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
-msgstr "ID"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr ""
 
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr ""
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr ""
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/locale/es_EC.po b/locale/ja_JP.po
similarity index 73%
copy from locale/es_EC.po
copy to locale/ja_JP.po
index 229ad09..ce590a6 100644
--- a/locale/es_EC.po
+++ b/locale/ja_JP.po
@@ -4,48 +4,48 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
-msgstr "ID"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr ""
 
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr ""
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr ""
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/locale/es_EC.po b/locale/lt_LT.po
similarity index 73%
copy from locale/es_EC.po
copy to locale/lt_LT.po
index 229ad09..ce590a6 100644
--- a/locale/es_EC.po
+++ b/locale/lt_LT.po
@@ -4,48 +4,48 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
-msgstr "ID"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr ""
 
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr ""
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr ""
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/locale/es_EC.po b/locale/nl_NL.po
similarity index 73%
copy from locale/es_EC.po
copy to locale/nl_NL.po
index 229ad09..bd2d17e 100644
--- a/locale/es_EC.po
+++ b/locale/nl_NL.po
@@ -4,48 +4,51 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
-msgstr "ID"
+msgstr ""
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr "Factuurregel"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr "Naam bijlage"
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr ""
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr ""
 
+#, fuzzy
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr "Factuurregels"
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr ""
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/locale/es_EC.po b/locale/pt_BR.po
similarity index 74%
copy from locale/es_EC.po
copy to locale/pt_BR.po
index 229ad09..8898882 100644
--- a/locale/es_EC.po
+++ b/locale/pt_BR.po
@@ -4,15 +4,15 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr "Movimentações de estoque"
 
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr "Data de criação"
 
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr "Criado por"
 
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
@@ -20,32 +20,32 @@ msgstr "ID"
 
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr "Linha da fatura"
 
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr "Linha da fatura"
 
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr "Movimentação de estoque"
 
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr "Data de edição"
 
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr "Editado por"
 
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr "Linhas de fatura"
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr "Linha da fatura - Movimentação de estoque"
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr "Estoque"
diff --git a/locale/es_EC.po b/locale/ru_RU.po
similarity index 67%
copy from locale/es_EC.po
copy to locale/ru_RU.po
index 229ad09..69026bc 100644
--- a/locale/es_EC.po
+++ b/locale/ru_RU.po
@@ -4,48 +4,57 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
 
 msgctxt "field:account.invoice.line,stock_moves:"
 msgid "Stock Moves"
-msgstr "Movimientos de Existencias"
+msgstr ""
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,create_date:"
 msgid "Create Date"
-msgstr "Fecha de Creación"
+msgstr "Дата создания"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,create_uid:"
 msgid "Create User"
-msgstr "Creado por Usuario"
+msgstr "Создано пользователем"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,id:"
 msgid "ID"
 msgstr "ID"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,invoice_line:"
 msgid "Invoice Line"
-msgstr "Línea de Factura"
+msgstr "Строка инвойса"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,rec_name:"
 msgid "Name"
-msgstr "Nombre"
+msgstr "Правило оплаты"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,stock_move:"
 msgid "Stock Move"
-msgstr "Movimiento de Existencias"
+msgstr "Хранилище перемещение товара"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,write_date:"
 msgid "Write Date"
-msgstr "Fecha de Modificación"
+msgstr "Дата изменения"
 
+#, fuzzy
 msgctxt "field:account.invoice.line-stock.move,write_uid:"
 msgid "Write User"
-msgstr "Modificado por Usuario"
+msgstr "Изменено пользователем"
 
+#, fuzzy
 msgctxt "field:stock.move,invoice_lines:"
 msgid "Invoice Lines"
-msgstr "Líneas de Factura"
+msgstr "Строки инвойса"
 
 msgctxt "model:account.invoice.line-stock.move,name:"
 msgid "Invoice Line - Stock Move"
-msgstr "Linea de Factura - Movimiento de Existencias"
+msgstr ""
 
 msgctxt "view:account.invoice.line:"
 msgid "Stock"
-msgstr "Existencias"
+msgstr ""
diff --git a/setup.py b/setup.py
index 8379fd1..8a88cd0 100644
--- a/setup.py
+++ b/setup.py
@@ -80,6 +80,9 @@ setup(name=name,
         'Natural Language :: English',
         'Natural Language :: French',
         'Natural Language :: German',
+        'Natural Language :: Hungarian',
+        'Natural Language :: Italian',
+        'Natural Language :: Portuguese (Brazilian)',
         'Natural Language :: Russian',
         'Natural Language :: Slovenian',
         'Natural Language :: Spanish',
diff --git a/stock.py b/stock.py
index 1e41bda..14dcf4a 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 06e7480..f25ae34 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=3.6.0
+version=3.8.0
 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 582a51b..8f02df9 100644
--- a/trytond_account_invoice_stock.egg-info/PKG-INFO
+++ b/trytond_account_invoice_stock.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
 Metadata-Version: 1.1
 Name: trytond-account-invoice-stock
-Version: 3.6.0
+Version: 3.8.0
 Summary: Tryton module to link stock and invoice
 Home-page: http://www.tryton.org/
 Author: Tryton
 Author-email: issue_tracker at tryton.org
 License: GPL-3
-Download-URL: http://downloads.tryton.org/3.6/
+Download-URL: http://downloads.tryton.org/3.8/
 Description: trytond_account_invoice_stock
         =============================
         
@@ -59,6 +59,9 @@ Classifier: Natural Language :: Dutch
 Classifier: Natural Language :: English
 Classifier: Natural Language :: French
 Classifier: Natural Language :: German
+Classifier: Natural Language :: Hungarian
+Classifier: Natural Language :: Italian
+Classifier: Natural Language :: Portuguese (Brazilian)
 Classifier: Natural Language :: Russian
 Classifier: Natural Language :: Slovenian
 Classifier: Natural Language :: Spanish
diff --git a/trytond_account_invoice_stock.egg-info/SOURCES.txt b/trytond_account_invoice_stock.egg-info/SOURCES.txt
index 66aabf8..eee7612 100644
--- a/trytond_account_invoice_stock.egg-info/SOURCES.txt
+++ b/trytond_account_invoice_stock.egg-info/SOURCES.txt
@@ -14,25 +14,45 @@ tryton.cfg
 ./stock.py
 ./stock.xml
 ./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_EC.po
 ./locale/es_ES.po
+./locale/es_MX.po
 ./locale/fr_FR.po
+./locale/hu_HU.po
+./locale/it_IT.po
+./locale/ja_JP.po
+./locale/lt_LT.po
+./locale/nl_NL.po
+./locale/pt_BR.po
+./locale/ru_RU.po
 ./locale/sl_SI.po
 ./tests/__init__.py
 ./tests/test_account_invoice_stock.py
 ./view/invoice_line_form.xml
 ./view/move_form.xml
+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_EC.po
 locale/es_ES.po
+locale/es_MX.po
 locale/fr_FR.po
+locale/hu_HU.po
+locale/it_IT.po
+locale/ja_JP.po
+locale/lt_LT.po
+locale/nl_NL.po
+locale/pt_BR.po
+locale/ru_RU.po
 locale/sl_SI.po
 trytond_account_invoice_stock.egg-info/PKG-INFO
 trytond_account_invoice_stock.egg-info/SOURCES.txt
diff --git a/trytond_account_invoice_stock.egg-info/requires.txt b/trytond_account_invoice_stock.egg-info/requires.txt
index 13e0a32..73d5c75 100644
--- a/trytond_account_invoice_stock.egg-info/requires.txt
+++ b/trytond_account_invoice_stock.egg-info/requires.txt
@@ -1,4 +1,4 @@
-trytond_account_invoice >= 3.6, < 3.7
-trytond_stock >= 3.6, < 3.7
-trytond_product >= 3.6, < 3.7
-trytond >= 3.6, < 3.7
\ No newline at end of file
+trytond_account_invoice >= 3.8, < 3.9
+trytond_stock >= 3.8, < 3.9
+trytond_product >= 3.8, < 3.9
+trytond >= 3.8, < 3.9
\ No newline at end of file
-- 
tryton-modules-account-invoice-stock



More information about the tryton-debian-vcs mailing list