[tryton-debian-vcs] tryton-modules-stock-split branch upstream updated. upstream/4.4.0-1-g203290b
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Fri Nov 10 12:22:42 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-split.git;a=commitdiff;h=upstream/4.4.0-1-g203290b
commit 203290b60f29fb16b0e217a01a44790e68a25021
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Mon Nov 6 14:41:28 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 27b1b58..850d4e7 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+Version 4.6.0 - 2017-10-30
+* Bug fixes (see mercurial logs for details)
+* Add shipment split
+
Version 4.4.0 - 2017-05-01
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index cb99f53..ae49d6d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_stock_split
-Version: 4.4.0
+Version: 4.6.0
Summary: Tryton module to split stock move
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_split
===================
@@ -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/__init__.py b/__init__.py
index ba23503..5eaf730 100644
--- a/__init__.py
+++ b/__init__.py
@@ -2,14 +2,19 @@
# this repository contains the full copyright notices and license terms.
from trytond.pool import Pool
-from .stock import *
+from . import stock
def register():
Pool.register(
- Move,
- SplitMoveStart,
+ stock.Move,
+ stock.SplitMoveStart,
+ stock.ShipmentInReturn,
+ stock.ShipmentOut,
+ stock.ShipmentInternal,
+ stock.SplitShipmentStart,
module='stock_split', type_='model')
Pool.register(
- SplitMove,
+ stock.SplitMove,
+ stock.SplitShipment,
module='stock_split', type_='wizard')
diff --git a/doc/index.rst b/doc/index.rst
index 8f17a58..7b4647a 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -5,3 +5,7 @@ The Stock Split module adds on the stock move a wizard that allows to split them
The move is split into moves of *Quantity*. If *Counts* is set, it will be
split only this number of times. On occasion there can be a move with the
remaining quantity.
+
+It also adds on *Customer*, *Supplier Return* and *Internal* shipments a wizard
+that allows to split them. The selected moves of the shipment are shifted to a
+new copy of the shipment.
diff --git a/locale/bg.po b/locale/bg.po
index 40f0c46..def1a68 100644
--- a/locale/bg.po
+++ b/locale/bg.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -31,22 +31,63 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Категория мер. ед."
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr ""
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr ""
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
#, fuzzy
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
@@ -55,3 +96,12 @@ msgstr "Отказване"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Отказване"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/ca.po b/locale/ca.po
index 9f2c4e6..8d9b225 100644
--- a/locale/ca.po
+++ b/locale/ca.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -26,22 +26,62 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Categoria de la UdM"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr "Moviments del domini"
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr "Moviments"
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr "El número màxim de moviments."
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr "Els moviments seleccionats s'enviaran en un albarà nou."
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "Divisió de moviments"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr "Divideix albarà"
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Divisió de moviments"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr "Divideix albarà"
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr "Divideix"
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr "Divideix"
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr "Divideix"
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr "Divideix"
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr "Trieu els moviments a enviar en un albarà nou."
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Cancel·la"
@@ -49,3 +89,11 @@ msgstr "Cancel·la"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr "Divideix"
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Cancel·la"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr "Divideix"
diff --git a/locale/cs.po b/locale/cs.po
index 1c413d0..3e6c861 100644
--- a/locale/cs.po
+++ b/locale/cs.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -26,22 +26,62 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr ""
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr ""
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr ""
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr ""
@@ -49,3 +89,11 @@ msgstr ""
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/de.po b/locale/de.po
index 0ae7fa1..064ad26 100644
--- a/locale/de.po
+++ b/locale/de.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -26,22 +26,66 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Maßeinheitenkategorie"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr "Maximale Anzahl von Lagerbewegungen"
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "Lagerbewegung Aufteilung"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Lagerbewegung Aufteilung"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr "Aufteilen"
+#, fuzzy
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr "Aufteilen"
+
+#, fuzzy
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr "Aufteilen"
+
+#, fuzzy
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr "Aufteilen"
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Abbrechen"
@@ -49,3 +93,13 @@ msgstr "Abbrechen"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr "Aufteilen"
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Abbrechen"
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr "Aufteilen"
diff --git a/locale/es.po b/locale/es.po
index af30829..dcb5d9c 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -26,22 +26,62 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Categoría UdM"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr "Movimientos del dominio"
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr "Movimientos"
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr "El número límite de movimientos."
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr "Los movimientos seleccionados se enviarán en un albarán nuevo."
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "Dividir movimiento"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr "Dividir albarán"
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Dividir movimiento"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr "Dividir albarán"
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr "Dividir"
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr "Dividir"
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr "Dividir"
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr "Dividir"
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr "Escoged los movimientos a enviar en un albarán nuevo."
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Cancelar"
@@ -49,3 +89,11 @@ msgstr "Cancelar"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr "Dividir"
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Cancelar"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr "Dividir"
diff --git a/locale/es_419.po b/locale/es_419.po
index 49e60ca..cf4fab7 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"
@@ -26,22 +26,62 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Categoría de UdM"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr ""
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr ""
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr ""
@@ -49,3 +89,11 @@ msgstr ""
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/fr.po b/locale/fr.po
index 053e3e6..87d8291 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -26,22 +26,63 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Catégorie d'unité de mesure"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr "Domaine des mouvements"
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr "Mouvements"
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr "Le nombre limite de mouvements"
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+"Les mouvements sélectionnés seront envoyés sur la nouvelle expédition."
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "Diviser le mouvement"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr "Diviser l'expédition"
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Diviser le mouvement"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr "Diviser l'expédition"
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr "Diviser"
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr "Diviser"
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr "Diviser"
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr "Diviser"
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr "Choisir les mouvements à envoyer sur la nouvelle expédition"
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Annuler"
@@ -49,3 +90,11 @@ msgstr "Annuler"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr "Diviser"
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Annuler"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr "Diviser"
diff --git a/locale/hu_HU.po b/locale/hu_HU.po
index 552697d..e330b2d 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"
@@ -26,22 +26,66 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Egység kategória"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr "Raktár mozgatás max. mennyisége"
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "Raktár mozgatás beosztása"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Raktár mozgatás beosztása"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr "Beosztás"
+#, fuzzy
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr "Beosztás"
+
+#, fuzzy
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr "Beosztás"
+
+#, fuzzy
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr "Beosztás"
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Mégse"
@@ -49,3 +93,13 @@ msgstr "Mégse"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr "Beosztás"
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Mégse"
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr "Beosztás"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 35c1d3d..2793cdb 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"
@@ -29,22 +29,63 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr ""
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "Movimento contabile"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr ""
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr ""
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
#, fuzzy
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
@@ -53,3 +94,12 @@ msgstr "Cancella"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Cancella"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/ja_JP.po b/locale/ja_JP.po
index f7a0096..2c309a7 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"
@@ -26,23 +26,63 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr ""
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "Split Move"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
#, fuzzy
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Split Move"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr ""
@@ -50,3 +90,11 @@ msgstr ""
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/lo.po b/locale/lo.po
index ac25f3b..23670bf 100644
--- a/locale/lo.po
+++ b/locale/lo.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -26,22 +26,66 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "ໝວດຫົວໜ່ວຍ"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ເລກລໍາດັບ"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr "ຕົວເລກຈຳກັດຂອງການເຄື່ອນຍ້າຍ"
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "ແຍກການເຄື່ອນຍ້າຍ"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "ແຍກການເຄື່ອນຍ້າຍ"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr "ແຍກ"
+#, fuzzy
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr "ແຍກ"
+
+#, fuzzy
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr "ແຍກ"
+
+#, fuzzy
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr "ແຍກ"
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "ຍົກເລີກ"
@@ -49,3 +93,13 @@ msgstr "ຍົກເລີກ"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr "ແຍກ"
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "ຍົກເລີກ"
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr "ແຍກ"
diff --git a/locale/lt.po b/locale/lt.po
index 1c413d0..3e6c861 100644
--- a/locale/lt.po
+++ b/locale/lt.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -26,22 +26,62 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr ""
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr ""
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr ""
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr ""
@@ -49,3 +89,11 @@ msgstr ""
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/nl.po b/locale/nl.po
index 259e234..9ebc25e 100644
--- a/locale/nl.po
+++ b/locale/nl.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -29,22 +29,63 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr ""
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr ""
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr ""
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
#, fuzzy
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
@@ -53,3 +94,12 @@ msgstr "Annuleren"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Annuleren"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/pl.po b/locale/pl.po
index 0dad6ba..67615bf 100644
--- a/locale/pl.po
+++ b/locale/pl.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -16,33 +16,73 @@ msgstr "Ilość"
msgctxt "field:stock.move.split.start,unit_digits:"
msgid "Unit Digits"
-msgstr ""
+msgstr "Cyfry jednostki"
msgctxt "field:stock.move.split.start,uom:"
msgid "Uom"
-msgstr "Jednostka miary"
+msgstr "Jm"
msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
-msgstr "Kategoria jednostki miary"
+msgstr "Kategoria jm"
+
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr "Ruchy"
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
-msgstr "Split Move"
+msgstr ""
+
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
#, fuzzy
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Split Move"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Anuluj"
@@ -50,3 +90,11 @@ msgstr "Anuluj"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Anuluj"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 93a26b0..875be70 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"
@@ -26,22 +26,62 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Categoria da UDM"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr "Domínio de Movimentações"
+
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr "Movimentos"
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr "O número limite de movimentações."
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr "As movimentações selecionadas serão enviadas na próxima remessa."
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "Dividir movimentação"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr "Dividir Remessa"
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Dividir movimento"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr "Dividir Remessa"
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr "Dividir"
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr "Dividir"
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr "Dividir"
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr "Dividir"
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr "Escolher movimentações para enviar na nova remessa"
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Cancelar"
@@ -49,3 +89,11 @@ msgstr "Cancelar"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr "Dividir"
+
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Cancelar"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr "Dividir"
diff --git a/locale/ru.po b/locale/ru.po
index 3fb5adf..0f44b4f 100644
--- a/locale/ru.po
+++ b/locale/ru.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -31,22 +31,63 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Категория ед. измерения"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr ""
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr ""
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
#, fuzzy
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
@@ -55,3 +96,12 @@ msgstr "Отменить"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Отменить"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/locale/sl.po b/locale/sl.po
index 4bbf5e4..fa092f6 100644
--- a/locale/sl.po
+++ b/locale/sl.po
@@ -1,4 +1,4 @@
-#
+#
msgid ""
msgstr "Content-Type: text/plain; charset=utf-8\n"
@@ -26,22 +26,66 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr "Kategorija ME"
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "ID"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr "Omejitev števila prenosov"
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr "Delitev prometa"
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr "Delitev prometa"
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr "Delitev"
+#, fuzzy
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr "Delitev"
+
+#, fuzzy
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr "Delitev"
+
+#, fuzzy
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr "Delitev"
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Prekliči"
@@ -49,3 +93,13 @@ msgstr "Prekliči"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr "Delitev"
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "Prekliči"
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr "Delitev"
diff --git a/locale/zh_CN.po b/locale/zh_CN.po
index c501eea..6df36c9 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"
@@ -27,22 +27,63 @@ msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
msgstr ""
+msgctxt "field:stock.shipment.split.start,domain_moves:"
+msgid "Domain Moves"
+msgstr ""
+
+#, fuzzy
+msgctxt "field:stock.shipment.split.start,id:"
+msgid "ID"
+msgstr "编号"
+
+msgctxt "field:stock.shipment.split.start,moves:"
+msgid "Moves"
+msgstr ""
+
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
msgstr ""
+msgctxt "help:stock.shipment.split.start,moves:"
+msgid "The selected moves will be sent in the new shipment."
+msgstr ""
+
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
msgstr ""
+msgctxt "model:ir.action,name:wizard_split_shipment"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
msgstr ""
+msgctxt "model:stock.shipment.split.start,name:"
+msgid "Split Shipment"
+msgstr ""
+
msgctxt "view:stock.move:"
msgid "Split"
msgstr ""
+msgctxt "view:stock.shipment.in.return:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.internal:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.out:"
+msgid "Split"
+msgstr ""
+
+msgctxt "view:stock.shipment.split.start:"
+msgid "Choose move to send in new shipment"
+msgstr ""
+
#, fuzzy
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
@@ -51,3 +92,12 @@ msgstr "取消"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
msgstr ""
+
+#, fuzzy
+msgctxt "wizard_button:stock.shipment.split,start,end:"
+msgid "Cancel"
+msgstr "取消"
+
+msgctxt "wizard_button:stock.shipment.split,start,split:"
+msgid "Split"
+msgstr ""
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff --git a/setup.py b/setup.py
index f06eded..440b47b 100644
--- a/setup.py
+++ b/setup.py
@@ -52,7 +52,12 @@ for dep in info.get('depends', []):
if not re.match(r'(ir|res)(\W|$)', dep):
requires.append(get_require_version('trytond_%s' % dep))
requires.append(get_require_version('trytond'))
-tests_require = []
+
+tests_require = [get_require_version('proteus')]
+dependency_links = []
+if minor_version % 2:
+ # Add development index for testing with proteus
+ dependency_links.append('https://trydevpi.tryton.org/')
setup(name=name,
version=version,
@@ -70,7 +75,8 @@ setup(name=name,
],
package_data={
'trytond.modules.stock_split': (info.get('xml', [])
- + ['tryton.cfg', 'view/*.xml', 'locale/*.po']),
+ + ['tryton.cfg', 'view/*.xml', 'locale/*.po',
+ 'tests/*.rst']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
@@ -98,15 +104,16 @@ 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',
],
license='GPL-3',
install_requires=requires,
+ dependency_links=dependency_links,
zip_safe=False,
entry_points="""
[trytond.modules]
@@ -116,4 +123,7 @@ setup(name=name,
test_loader='trytond.test_loader:Loader',
tests_require=tests_require,
use_2to3=True,
+ convert_2to3_doctests=[
+ 'tests/scenario_stock_split_shipment.rst',
+ ],
)
diff --git a/stock.py b/stock.py
index 95baa59..5ceed00 100644
--- a/stock.py
+++ b/stock.py
@@ -6,7 +6,9 @@ from trytond.pyson import Eval
from trytond.pool import Pool, PoolMeta
from trytond.transaction import Transaction
-__all__ = ['Move', 'SplitMoveStart', 'SplitMove']
+__all__ = ['Move', 'SplitMoveStart', 'SplitMove',
+ 'ShipmentInReturn', 'ShipmentOut', 'ShipmentInternal',
+ 'SplitShipment', 'SplitShipmentStart']
class Move:
@@ -123,3 +125,106 @@ class SplitMove(Wizard):
move = Move(Transaction().context['active_id'])
move.split(self.start.quantity, self.start.uom, self.start.count)
return 'end'
+
+
+class _ShipmentSplit(ModelView):
+
+ @classmethod
+ def __setup__(cls):
+ super(_ShipmentSplit, cls).__setup__()
+ cls._buttons.update({
+ 'split_wizard': {
+ 'readonly': Eval('state') != 'draft',
+ 'invisible': Eval('state') != 'draft',
+ },
+ })
+
+ @classmethod
+ @ModelView.button_action('stock_split.wizard_split_shipment')
+ def split_wizard(cls, shipments):
+ pass
+
+
+class ShipmentInReturn(_ShipmentSplit):
+ __metaclass__ = PoolMeta
+ __name__ = 'stock.shipment.in.return'
+
+
+class ShipmentOut(_ShipmentSplit):
+ __metaclass__ = PoolMeta
+ __name__ = 'stock.shipment.out'
+
+
+class ShipmentInternal(_ShipmentSplit):
+ __metaclass__ = PoolMeta
+ __name__ = 'stock.shipment.internal'
+
+
+class SplitShipment(Wizard):
+ "Split Shipment"
+ __name__ = 'stock.shipment.split'
+ start = StateView('stock.shipment.split.start',
+ 'stock_split.shipment_split_start_view_form', [
+ Button("Cancel", 'end', 'tryton-cancel'),
+ Button("Split", 'split', 'tryton-ok', default=True),
+ ])
+ split = StateTransition()
+
+ def get_shipment(self):
+ pool = Pool()
+ context = Transaction().context
+ if context['active_model'] in {
+ 'stock.shipment.in.return',
+ 'stock.shipment.out',
+ 'stock.shipment.internal',
+ }:
+ Shipment = pool.get(context['active_model'])
+ return Shipment(context['active_id'])
+
+ def get_moves(self, shipment):
+ if shipment.__name__ == 'stock.shipment.out':
+ return shipment.outgoing_moves
+ elif shipment.__name__ in {
+ 'stock.shipment.in.return',
+ 'stock.shipment.internal',
+ }:
+ return shipment.moves
+
+ def default_start(self, fields):
+ shipment = self.get_shipment()
+ moves = self.get_moves(shipment)
+ moves = filter(lambda m: m.state == 'draft', moves)
+ return {
+ 'domain_moves': map(int, moves),
+ }
+
+ def transition_split(self):
+ pool = Pool()
+ Move = pool.get('stock.move')
+ shipment = self.get_shipment()
+ Shipment = shipment.__class__
+ if shipment.state != 'draft':
+ raise ValueError("Wrong shipment state")
+ if not set(self.start.moves).issubset(self.start.domain_moves):
+ raise ValueError("Invalid moves, %s != %s" % (self.start.moves,
+ self.start.domain_moves))
+
+ if Shipment.__name__ == 'stock.shipment.out':
+ Move.draft(shipment.inventory_moves)
+ Move.delete(
+ filter(lambda m: m.state == 'draft', shipment.inventory_moves))
+
+ shipment, = Shipment.copy([shipment.id], default={'moves': None})
+ Move.write(list(self.start.moves), {'shipment': str(shipment)})
+ return 'end'
+
+
+class SplitShipmentStart(ModelView):
+ "Split Shipment"
+ __name__ = 'stock.shipment.split.start'
+ moves = fields.Many2Many(
+ 'stock.move', None, None, "Moves",
+ domain=[('id', 'in', Eval('domain_moves'))],
+ depends=['domain_moves'],
+ help="The selected moves will be sent in the new shipment.")
+ domain_moves = fields.Many2Many('stock.move', None, None, "Domain Moves")
diff --git a/stock.xml b/stock.xml
index 53dc287..3842e97 100644
--- a/stock.xml
+++ b/stock.xml
@@ -27,5 +27,33 @@ this repository contains the full copyright notices and license terms. -->
<field name="name">split_start_form</field>
</record>
+ <record model="ir.ui.view" id="shipment_in_return_view_form">
+ <field name="model">stock.shipment.in.return</field>
+ <field name="inherit" ref="stock.shipment_in_return_view_form"/>
+ <field name="name">shipment_split_form</field>
+ </record>
+
+ <record model="ir.ui.view" id="shipment_out_view_form">
+ <field name="model">stock.shipment.out</field>
+ <field name="inherit" ref="stock.shipment_out_view_form"/>
+ <field name="name">shipment_split_form</field>
+ </record>
+
+ <record model="ir.ui.view" id="shipment_internal_view_form">
+ <field name="model">stock.shipment.internal</field>
+ <field name="inherit" ref="stock.shipment_internal_view_form"/>
+ <field name="name">shipment_split_form</field>
+ </record>
+
+ <record model="ir.action.wizard" id="wizard_split_shipment">
+ <field name="name">Split Shipment</field>
+ <field name="wiz_name">stock.shipment.split</field>
+ </record>
+
+ <record model="ir.ui.view" id="shipment_split_start_view_form">
+ <field name="model">stock.shipment.split.start</field>
+ <field name="type">form</field>
+ <field name="name">shipment_split_start_form</field>
+ </record>
</data>
</tryton>
diff --git a/tests/scenario_stock_split_shipment.rst b/tests/scenario_stock_split_shipment.rst
new file mode 100644
index 0000000..eb78dc3
--- /dev/null
+++ b/tests/scenario_stock_split_shipment.rst
@@ -0,0 +1,95 @@
+====================
+Stock Split Shipment
+====================
+
+Imports::
+
+ >>> from decimal import Decimal
+
+ >>> from proteus import Model, Wizard
+ >>> from trytond.tests.tools import activate_modules
+ >>> from trytond.modules.company.tests.tools import create_company, \
+ ... get_company
+
+Install stock_split Module::
+
+ >>> config = activate_modules('stock_split')
+
+Create company::
+
+ >>> _ = create_company()
+ >>> company = get_company()
+
+Create customer::
+
+ >>> Party = Model.get('party.party')
+ >>> customer = Party(name="Customer")
+ >>> customer.save()
+
+Create product::
+
+ >>> ProductUom = Model.get('product.uom')
+ >>> ProductTemplate = Model.get('product.template')
+ >>> Product = Model.get('product.product')
+ >>> unit, = ProductUom.find([('name', '=', "Unit")])
+ >>> template = ProductTemplate()
+ >>> template.name = "Product"
+ >>> template.default_uom = unit
+ >>> template.type = 'goods'
+ >>> template.list_price = Decimal('20')
+ >>> template.save()
+ >>> product, = template.products
+
+Get stock locations::
+
+ >>> Location = Model.get('stock.location')
+ >>> customer_loc, = Location.find([('code', '=', 'CUS')])
+ >>> output_loc, = Location.find([('code', '=', 'OUT')])
+ >>> storage_loc, = Location.find([('code', '=', 'STO')])
+
+Create shipment with 2 lines::
+
+ >>> Shipment = Model.get('stock.shipment.out')
+ >>> Move = Model.get('stock.move')
+
+ >>> shipment1 = Shipment()
+ >>> shipment1.customer = customer
+
+ >>> for i in range(2):
+ ... move = shipment1.outgoing_moves.new()
+ ... move.product = product
+ ... move.uom = unit
+ ... move.quantity = i
+ ... move.from_location = output_loc
+ ... move.to_location = customer_loc
+ ... move.unit_price = Decimal(1)
+
+ >>> shipment1.save()
+ >>> move1, move2 = shipment1.outgoing_moves
+
+Set to waiting and go back to draft to get inventory moves::
+
+ >>> shipment1.click('wait')
+ >>> shipment1.click('draft')
+ >>> len(shipment1.inventory_moves)
+ 2
+
+Split shipment::
+
+ >>> split_shipment = Wizard('stock.shipment.split', [shipment1])
+ >>> len(split_shipment.form.domain_moves)
+ 2
+ >>> split_shipment.form.moves.append(Move(move2.id))
+ >>> split_shipment.execute('split')
+
+ >>> shipment2, = Shipment.find([('id', '!=', shipment1.id)])
+
+ >>> move, = shipment1.outgoing_moves
+ >>> move.id == move1.id
+ True
+ >>> len(shipment1.inventory_moves)
+ 0
+
+ >>> move, = shipment2.outgoing_moves
+ >>> move.id == move2.id
+ True
diff --git a/tests/test_stock_split.py b/tests/test_stock_split.py
index 38dd883..6ee650b 100644
--- a/tests/test_stock_split.py
+++ b/tests/test_stock_split.py
@@ -1,9 +1,12 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
+import doctest
import unittest
from decimal import Decimal
import trytond.tests.test_tryton
from trytond.tests.test_tryton import ModuleTestCase, with_transaction
+from trytond.tests.test_tryton import doctest_teardown
+from trytond.tests.test_tryton import doctest_checker
from trytond.pool import Pool
from trytond.modules.company.tests import create_company, set_company
@@ -27,10 +30,8 @@ class StockSplitTestCase(ModuleTestCase):
template, = Template.create([{
'name': 'Test Split',
'type': 'goods',
- 'cost_price_method': 'fixed',
'default_uom': unit.id,
'list_price': Decimal(0),
- 'cost_price': Decimal(0),
}])
product, = Product.create([{
'template': template.id,
@@ -96,4 +97,8 @@ def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
StockSplitTestCase))
+ suite.addTests(doctest.DocFileSuite('scenario_stock_split_shipment.rst',
+ tearDown=doctest_teardown, encoding='utf-8',
+ checker=doctest_checker,
+ optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
return suite
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 fbfc6db..54b5e5f 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.4.0
+version=4.6.0
depends:
ir
stock
diff --git a/trytond_stock_split.egg-info/PKG-INFO b/trytond_stock_split.egg-info/PKG-INFO
index ba0c05e..9f4cbd3 100644
--- a/trytond_stock_split.egg-info/PKG-INFO
+++ b/trytond_stock_split.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-stock-split
-Version: 4.4.0
+Version: 4.6.0
Summary: Tryton module to split stock move
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_split
===================
@@ -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_split.egg-info/SOURCES.txt b/trytond_stock_split.egg-info/SOURCES.txt
index 44f75f3..7c5aa25 100644
--- a/trytond_stock_split.egg-info/SOURCES.txt
+++ b/trytond_stock_split.egg-info/SOURCES.txt
@@ -1,11 +1,16 @@
+.drone.yml
+.hgtags
CHANGELOG
COPYRIGHT
INSTALL
LICENSE
MANIFEST.in
README
+__init__.py
setup.py
+stock.py
stock.xml
+tox.ini
tryton.cfg
./__init__.py
./stock.py
@@ -30,9 +35,12 @@ tryton.cfg
./locale/sl.po
./locale/zh_CN.po
./tests/__init__.py
+./tests/scenario_stock_split_shipment.rst
./tests/test_stock_split.py
./view/move_form.xml
./view/move_tree.xml
+./view/shipment_split_form.xml
+./view/shipment_split_start_form.xml
./view/split_start_form.xml
doc/index.rst
locale/bg.po
@@ -53,6 +61,9 @@ locale/pt_BR.po
locale/ru.po
locale/sl.po
locale/zh_CN.po
+tests/__init__.py
+tests/scenario_stock_split_shipment.rst
+tests/test_stock_split.py
trytond_stock_split.egg-info/PKG-INFO
trytond_stock_split.egg-info/SOURCES.txt
trytond_stock_split.egg-info/dependency_links.txt
@@ -62,4 +73,6 @@ trytond_stock_split.egg-info/requires.txt
trytond_stock_split.egg-info/top_level.txt
view/move_form.xml
view/move_tree.xml
+view/shipment_split_form.xml
+view/shipment_split_start_form.xml
view/split_start_form.xml
\ No newline at end of file
diff --git a/trytond_stock_split.egg-info/requires.txt b/trytond_stock_split.egg-info/requires.txt
index e771890..a38f59d 100644
--- a/trytond_stock_split.egg-info/requires.txt
+++ b/trytond_stock_split.egg-info/requires.txt
@@ -1,2 +1,2 @@
-trytond_stock >= 4.4, < 4.5
-trytond >= 4.4, < 4.5
+trytond_stock >= 4.6, < 4.7
+trytond >= 4.6, < 4.7
diff --git a/view/shipment_split_form.xml b/view/shipment_split_form.xml
new file mode 100644
index 0000000..bbfa201
--- /dev/null
+++ b/view/shipment_split_form.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
+this repository contains the full copyright notices and license terms. -->
+<data>
+ <xpath expr="//group[@id='buttons']" position="inside">
+ <button name="split_wizard" string="Split"/>
+ </xpath>
+</data>
diff --git a/view/shipment_split_start_form.xml b/view/shipment_split_start_form.xml
new file mode 100644
index 0000000..50cb377
--- /dev/null
+++ b/view/shipment_split_start_form.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0"?>
+<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
+this repository contains the full copyright notices and license terms. -->
+<form col="2">
+ <image name="tryton-dialog-information" xexpand="0" xfill="0"/>
+ <label string="Choose move to send in new shipment"
+ id="choose" yalign="0.0" xalign="0.0" xexpand="1"/>
+ <field name="moves" colspan="2" widget="multiselection"/>
+</form>
--
tryton-modules-stock-split
More information about the tryton-debian-vcs
mailing list