[tryton-debian-vcs] tryton-modules-stock-split branch upstream created. d6665d51e02b72fe4e8eec55642845ceaf022c55
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 27 17:11:37 UTC 2013
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=d6665d51e02b72fe4e8eec55642845ceaf022c55
commit d6665d51e02b72fe4e8eec55642845ceaf022c55
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Nov 24 17:28:29 2013 +0100
Adding upstream version 3.0.0.
diff --git a/CHANGELOG b/CHANGELOG
index 3ac4e21..a162b66 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.0.0 - 2013-10-21
+* Bug fixes (see mercurial logs for details)
+
Version 2.8.0 - 2013-04-22
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 6f92569..9066628 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_stock_split
-Version: 2.8.0
+Version: 3.0.0
Summary: Tryton module to split stock move
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: UNKNOWN
License: GPL-3
-Download-URL: http://downloads.tryton.org/2.8/
+Download-URL: http://downloads.tryton.org/3.0/
Description: trytond_stock_split
===================
@@ -60,6 +60,7 @@ Classifier: Natural Language :: English
Classifier: Natural Language :: French
Classifier: Natural Language :: German
Classifier: Natural Language :: Russian
+Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.6
diff --git a/locale/fr_FR.po b/locale/fr_FR.po
index 4870616..d4d36c0 100644
--- a/locale/fr_FR.po
+++ b/locale/fr_FR.po
@@ -32,11 +32,11 @@ msgstr "Le nombre limit de mouvements"
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
-msgstr "Division du mouvement"
+msgstr "Diviser le mouvement"
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
-msgstr "Division du mouvement"
+msgstr "Diviser le mouvement"
msgctxt "view:stock.move.split.start:"
msgid "Split Move"
@@ -44,7 +44,7 @@ msgstr "Diviser le mouvement"
msgctxt "view:stock.move:"
msgid "Split"
-msgstr "diviser"
+msgstr "Diviser"
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
diff --git a/locale/fr_FR.po b/locale/sl_SI.po
similarity index 74%
copy from locale/fr_FR.po
copy to locale/sl_SI.po
index 4870616..7f9532b 100644
--- a/locale/fr_FR.po
+++ b/locale/sl_SI.po
@@ -4,7 +4,7 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:stock.move.split.start,count:"
msgid "Counts"
-msgstr "Décompte"
+msgstr "Število"
msgctxt "field:stock.move.split.start,id:"
msgid "ID"
@@ -12,44 +12,44 @@ msgstr "ID"
msgctxt "field:stock.move.split.start,quantity:"
msgid "Quantity"
-msgstr "Quantité"
+msgstr "Količina"
msgctxt "field:stock.move.split.start,unit_digits:"
msgid "Unit Digits"
-msgstr "Décimales de l'unité"
+msgstr "Decimalke"
msgctxt "field:stock.move.split.start,uom:"
msgid "Uom"
-msgstr "Unité de mesure"
+msgstr "ME"
msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
-msgstr "Catégorie d'unité de mesure"
+msgstr "Kategorija ME"
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
-msgstr "Le nombre limit de mouvements"
+msgstr "Omejitev števila prenosov"
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
-msgstr "Division du mouvement"
+msgstr "Delitev prometa"
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
-msgstr "Division du mouvement"
+msgstr "Delitev prometa"
msgctxt "view:stock.move.split.start:"
msgid "Split Move"
-msgstr "Diviser le mouvement"
+msgstr "Delitev prometa"
msgctxt "view:stock.move:"
msgid "Split"
-msgstr "diviser"
+msgstr "Delitev"
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
-msgstr "Annuler"
+msgstr "Prekliči"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
-msgstr "Diviser"
+msgstr "Delitev"
diff --git a/setup.py b/setup.py
index 25b6175..d68d09c 100644
--- a/setup.py
+++ b/setup.py
@@ -66,6 +66,7 @@ setup(name='trytond_stock_split',
'Natural Language :: French',
'Natural Language :: German',
'Natural Language :: Russian',
+ 'Natural Language :: Slovenian',
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
diff --git a/tests/__init__.py b/tests/__init__.py
index 2a975fa..47c1e5c 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -2,3 +2,5 @@
#this repository contains the full copyright notices and license terms.
from .test_stock_split import suite
+
+__all__ = ['suite']
diff --git a/tryton.cfg b/tryton.cfg
index 0f74f32..fb9279e 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=2.8.0
+version=3.0.0
depends:
ir
stock
diff --git a/trytond_stock_split.egg-info/PKG-INFO b/trytond_stock_split.egg-info/PKG-INFO
index f918780..7262d35 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: 2.8.0
+Version: 3.0.0
Summary: Tryton module to split stock move
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: UNKNOWN
License: GPL-3
-Download-URL: http://downloads.tryton.org/2.8/
+Download-URL: http://downloads.tryton.org/3.0/
Description: trytond_stock_split
===================
@@ -60,6 +60,7 @@ Classifier: Natural Language :: English
Classifier: Natural Language :: French
Classifier: Natural Language :: German
Classifier: Natural Language :: Russian
+Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.6
diff --git a/trytond_stock_split.egg-info/SOURCES.txt b/trytond_stock_split.egg-info/SOURCES.txt
index bea2a9c..b8c8f97 100644
--- a/trytond_stock_split.egg-info/SOURCES.txt
+++ b/trytond_stock_split.egg-info/SOURCES.txt
@@ -22,6 +22,7 @@ locale/es_ES.po
locale/fr_FR.po
locale/nl_NL.po
locale/ru_RU.po
+locale/sl_SI.po
trytond_stock_split.egg-info/PKG-INFO
trytond_stock_split.egg-info/SOURCES.txt
trytond_stock_split.egg-info/dependency_links.txt
diff --git a/trytond_stock_split.egg-info/requires.txt b/trytond_stock_split.egg-info/requires.txt
index bd880d2..bfa8717 100644
--- a/trytond_stock_split.egg-info/requires.txt
+++ b/trytond_stock_split.egg-info/requires.txt
@@ -1,2 +1,2 @@
-trytond_stock >= 2.8, < 2.9
-trytond >= 2.8, < 2.9
\ No newline at end of file
+trytond_stock >= 3.0, < 3.1
+trytond >= 3.0, < 3.1
\ No newline at end of file
commit c7f31444b20c2db258f1c58f2aef01d0184d8826
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Thu May 2 00:38:10 2013 +0200
Adding upstream version 2.8.0.
diff --git a/CHANGELOG b/CHANGELOG
index 210505e..3ac4e21 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.0 - 2013-04-22
+* Bug fixes (see mercurial logs for details)
+
Version 2.6.0 - 2012-10-22
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 747ae18..7668cfa 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2012 Cédric Krier.
-Copyright (C) 2012 B2CK SPRL.
+Copyright (C) 2012-2013 Cédric Krier.
+Copyright (C) 2012-2013 B2CK SPRL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/MANIFEST.in b/MANIFEST.in
index e4632a1..732a76e 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -6,6 +6,7 @@ include CHANGELOG
include LICENSE
include tryton.cfg
include *.xml
+include view/*.xml
include *.odt
include locale/*.po
include doc/*
diff --git a/PKG-INFO b/PKG-INFO
index e06cbda..6f92569 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: trytond_stock_split
-Version: 2.6.0
+Version: 2.8.0
Summary: Tryton module to split stock move
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: UNKNOWN
License: GPL-3
-Download-URL: http://downloads.tryton.org/2.6/
+Download-URL: http://downloads.tryton.org/2.8/
Description: trytond_stock_split
===================
@@ -53,6 +53,7 @@ Classifier: Intended Audience :: Legal Industry
Classifier: Intended Audience :: Manufacturing
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: Bulgarian
+Classifier: Natural Language :: Catalan
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
diff --git a/locale/ca_ES.po b/locale/ca_ES.po
index 9b75020..b76c5e1 100644
--- a/locale/ca_ES.po
+++ b/locale/ca_ES.po
@@ -4,57 +4,52 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:stock.move.split.start,count:"
msgid "Counts"
-msgstr ""
+msgstr "Número"
-#, fuzzy
msgctxt "field:stock.move.split.start,id:"
msgid "ID"
msgstr "ID"
-#, fuzzy
msgctxt "field:stock.move.split.start,quantity:"
msgid "Quantity"
msgstr "Quantitat"
-#, fuzzy
msgctxt "field:stock.move.split.start,unit_digits:"
msgid "Unit Digits"
msgstr "Decimals unitaris"
-#, fuzzy
msgctxt "field:stock.move.split.start,uom:"
msgid "Uom"
msgstr "UdM"
msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
-msgstr ""
+msgstr "Categoria de la UdM"
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
-msgstr ""
+msgstr "El número màxim de moviments"
msgctxt "model:ir.action,name:wizard_split_move"
msgid "Split Move"
-msgstr ""
+msgstr "Divisió de moviments"
msgctxt "model:stock.move.split.start,name:"
msgid "Split Move"
-msgstr ""
+msgstr "Divisió de moviments"
msgctxt "view:stock.move.split.start:"
msgid "Split Move"
-msgstr ""
+msgstr "Divisió de moviments"
msgctxt "view:stock.move:"
msgid "Split"
-msgstr ""
+msgstr "Divideix"
-#, fuzzy
msgctxt "wizard_button:stock.move.split,start,end:"
msgid "Cancel"
msgstr "Cancel·la"
msgctxt "wizard_button:stock.move.split,start,split:"
msgid "Split"
-msgstr ""
+msgstr "Divideix"
diff --git a/locale/es_AR.po b/locale/es_AR.po
index cba9b15..85d1acd 100644
--- a/locale/es_AR.po
+++ b/locale/es_AR.po
@@ -16,7 +16,7 @@ msgstr "Cantidad"
msgctxt "field:stock.move.split.start,unit_digits:"
msgid "Unit Digits"
-msgstr "Dígitos unitarios"
+msgstr "Dígitos de unidad"
msgctxt "field:stock.move.split.start,uom:"
msgid "Uom"
diff --git a/locale/es_CO.po b/locale/es_CO.po
index d005488..4dae88c 100644
--- a/locale/es_CO.po
+++ b/locale/es_CO.po
@@ -4,7 +4,7 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:stock.move.split.start,count:"
msgid "Counts"
-msgstr "Contador"
+msgstr "Contar"
msgctxt "field:stock.move.split.start,id:"
msgid "ID"
diff --git a/locale/ru_RU.po b/locale/ru_RU.po
index 2cbf194..68e2777 100644
--- a/locale/ru_RU.po
+++ b/locale/ru_RU.po
@@ -6,9 +6,10 @@ msgctxt "field:stock.move.split.start,count:"
msgid "Counts"
msgstr ""
+#, fuzzy
msgctxt "field:stock.move.split.start,id:"
msgid "ID"
-msgstr ""
+msgstr "ID"
#, fuzzy
msgctxt "field:stock.move.split.start,quantity:"
@@ -25,9 +26,10 @@ msgctxt "field:stock.move.split.start,uom:"
msgid "Uom"
msgstr "Ед.изм."
+#, fuzzy
msgctxt "field:stock.move.split.start,uom_category:"
msgid "Uom Category"
-msgstr ""
+msgstr "Категория ед. измерения"
msgctxt "help:stock.move.split.start,count:"
msgid "The limit number of moves"
diff --git a/setup.py b/setup.py
index 2f6069f..25b6175 100644
--- a/setup.py
+++ b/setup.py
@@ -25,10 +25,10 @@ requires = []
for dep in info.get('depends', []):
if not re.match(r'(ir|res|webdav)(\W|$)', dep):
requires.append('trytond_%s >= %s.%s, < %s.%s' %
- (dep, major_version, minor_version, major_version,
- minor_version + 1))
+ (dep, major_version, minor_version, major_version,
+ minor_version + 1))
requires.append('trytond >= %s.%s, < %s.%s' %
- (major_version, minor_version, major_version, minor_version + 1))
+ (major_version, minor_version, major_version, minor_version + 1))
tests_require = ['proteus >= %s.%s, < %s.%s' %
(major_version, minor_version, major_version, minor_version + 1)]
@@ -38,16 +38,16 @@ setup(name='trytond_stock_split',
long_description=read('README'),
author='Tryton',
url='http://www.tryton.org/',
- download_url="http://downloads.tryton.org/" + \
- info.get('version', '0.0.1').rsplit('.', 1)[0] + '/',
+ download_url=("http://downloads.tryton.org/" +
+ info.get('version', '0.0.1').rsplit('.', 1)[0] + '/'),
package_dir={'trytond.modules.stock_split': '.'},
packages=[
'trytond.modules.stock_split',
'trytond.modules.stock_split.tests',
],
package_data={
- 'trytond.modules.stock_split': info.get('xml', []) \
- + ['tryton.cfg', 'locale/*.po'],
+ 'trytond.modules.stock_split': (info.get('xml', [])
+ + ['tryton.cfg', 'view/*.xml', 'locale/*.po']),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
@@ -59,6 +59,7 @@ setup(name='trytond_stock_split',
'Intended Audience :: Manufacturing',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: Bulgarian',
+ 'Natural Language :: Catalan',
'Natural Language :: Czech',
'Natural Language :: Dutch',
'Natural Language :: English',
diff --git a/stock.py b/stock.py
index 143895a..32fe863 100644
--- a/stock.py
+++ b/stock.py
@@ -48,7 +48,6 @@ class Move:
self.write([self], {
'quantity': quantity,
'uom': uom.id,
- 'state': state,
})
remainder -= quantity
if count:
@@ -58,7 +57,6 @@ class Move:
moves.extend(self.copy([self], {
'quantity': quantity,
'uom': uom.id,
- 'state': state,
}))
remainder -= quantity
if count:
@@ -68,8 +66,10 @@ class Move:
moves.extend(self.copy([self], {
'quantity': remainder,
'uom': uom.id,
- 'state': state,
}))
+ self.write(moves, {
+ 'state': state,
+ })
return moves
diff --git a/stock.xml b/stock.xml
index 4ec597d..53dc287 100644
--- a/stock.xml
+++ b/stock.xml
@@ -12,49 +12,19 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.ui.view" id="move_view_form">
<field name="model">stock.move</field>
<field name="inherit" ref="stock.move_view_form"/>
- <field name="arch" type="xml">
- <![CDATA[
- <data>
- <xpath expr="/form/field[@name='state']"
- position="after">
- <button name="split_wizard" string="Split"
- colspan="2"/>
- </xpath>
- </data>
- ]]>
- </field>
+ <field name="name">move_form</field>
</record>
<record model="ir.ui.view" id="move_view_tree">
<field name="model">stock.move</field>
<field name="inherit" ref="stock.move_view_tree"/>
- <field name="arch" type="xml">
- <![CDATA[
- <data>
- <xpath expr="/tree"
- position="inside">
- <button name="split_wizard" string="Split"/>
- </xpath>
- </data>
- ]]>
- </field>
+ <field name="name">move_tree</field>
</record>
<record model="ir.ui.view" id="split_start_view_form">
<field name="model">stock.move.split.start</field>
<field name="type">form</field>
- <field name="arch" type="xml">
- <![CDATA[
- <form string="Split Move" col="6">
- <label name="count"/>
- <field name="count"/>
- <label name="quantity"/>
- <field name="quantity"/>
- <label name="uom"/>
- <field name="uom"/>
- </form>
- ]]>
- </field>
+ <field name="name">split_start_form</field>
</record>
</data>
diff --git a/tests/__init__.py b/tests/__init__.py
index 96d4ef9..2a975fa 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,4 +1,4 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
-from .test_stock_lot import suite
+from .test_stock_split import suite
diff --git a/tests/test_stock_split.py b/tests/test_stock_split.py
index e8311eb..6ae0750 100644
--- a/tests/test_stock_split.py
+++ b/tests/test_stock_split.py
@@ -26,6 +26,7 @@ class StockSplitTestCase(unittest.TestCase):
def setUp(self):
trytond.tests.test_tryton.install_module('stock_split')
self.uom = POOL.get('product.uom')
+ self.template = POOL.get('product.template')
self.product = POOL.get('product.product')
self.location = POOL.get('stock.location')
self.company = POOL.get('company.company')
@@ -50,31 +51,34 @@ class StockSplitTestCase(unittest.TestCase):
'''
with Transaction().start(DB_NAME, USER, context=CONTEXT):
unit, = self.uom.search([('name', '=', 'Unit')])
- product = self.product.create({
- 'name': 'Test Split',
- 'type': 'goods',
- 'cost_price_method': 'fixed',
- 'default_uom': unit.id,
- 'list_price': Decimal(0),
- 'cost_price': Decimal(0),
- })
+ template, = self.template.create([{
+ 'name': 'Test Split',
+ 'type': 'goods',
+ 'cost_price_method': 'fixed',
+ 'default_uom': unit.id,
+ 'list_price': Decimal(0),
+ 'cost_price': Decimal(0),
+ }])
+ product, = self.product.create([{
+ 'template': template.id,
+ }])
input_, = self.location.search([('code', '=', 'IN')])
storage, = self.location.search([('code', '=', 'STO')])
- company, = self.company.search([('name', '=', 'B2CK')])
+ company, = self.company.search([('rec_name', '=', 'B2CK')])
self.user.write([self.user(USER)], {
'main_company': company.id,
'company': company.id,
})
def create_move(quantity):
- move = self.move.create({
- 'product': product.id,
- 'uom': unit.id,
- 'quantity': quantity,
- 'from_location': input_.id,
- 'to_location': storage.id,
- 'company': company.id,
- })
+ move, = self.move.create([{
+ 'product': product.id,
+ 'uom': unit.id,
+ 'quantity': quantity,
+ 'from_location': input_.id,
+ 'to_location': storage.id,
+ 'company': company.id,
+ }])
return move
move = create_move(10)
diff --git a/tryton.cfg b/tryton.cfg
index 0817214..0f74f32 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=2.6.0
+version=2.8.0
depends:
ir
stock
diff --git a/trytond_stock_split.egg-info/PKG-INFO b/trytond_stock_split.egg-info/PKG-INFO
index a7fb59b..f918780 100644
--- a/trytond_stock_split.egg-info/PKG-INFO
+++ b/trytond_stock_split.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
Name: trytond-stock-split
-Version: 2.6.0
+Version: 2.8.0
Summary: Tryton module to split stock move
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: UNKNOWN
License: GPL-3
-Download-URL: http://downloads.tryton.org/2.6/
+Download-URL: http://downloads.tryton.org/2.8/
Description: trytond_stock_split
===================
@@ -53,6 +53,7 @@ Classifier: Intended Audience :: Legal Industry
Classifier: Intended Audience :: Manufacturing
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: Bulgarian
+Classifier: Natural Language :: Catalan
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
diff --git a/trytond_stock_split.egg-info/SOURCES.txt b/trytond_stock_split.egg-info/SOURCES.txt
index d8e3e20..bea2a9c 100644
--- a/trytond_stock_split.egg-info/SOURCES.txt
+++ b/trytond_stock_split.egg-info/SOURCES.txt
@@ -28,4 +28,7 @@ trytond_stock_split.egg-info/dependency_links.txt
trytond_stock_split.egg-info/entry_points.txt
trytond_stock_split.egg-info/not-zip-safe
trytond_stock_split.egg-info/requires.txt
-trytond_stock_split.egg-info/top_level.txt
\ No newline at end of file
+trytond_stock_split.egg-info/top_level.txt
+view/move_form.xml
+view/move_tree.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 c2750a1..bd880d2 100644
--- a/trytond_stock_split.egg-info/requires.txt
+++ b/trytond_stock_split.egg-info/requires.txt
@@ -1,2 +1,2 @@
-trytond_stock >= 2.6, < 2.7
-trytond >= 2.6, < 2.7
\ No newline at end of file
+trytond_stock >= 2.8, < 2.9
+trytond >= 2.8, < 2.9
\ No newline at end of file
diff --git a/view/move_form.xml b/view/move_form.xml
new file mode 100644
index 0000000..8057eb0
--- /dev/null
+++ b/view/move_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="/form/field[@name='state']" position="after">
+ <button name="split_wizard" string="Split" colspan="2"/>
+ </xpath>
+</data>
diff --git a/view/move_tree.xml b/view/move_tree.xml
new file mode 100644
index 0000000..e7d5b40
--- /dev/null
+++ b/view/move_tree.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="/tree" position="inside">
+ <button name="split_wizard" string="Split"/>
+ </xpath>
+</data>
diff --git a/view/split_start_form.xml b/view/split_start_form.xml
new file mode 100644
index 0000000..3f5f83a
--- /dev/null
+++ b/view/split_start_form.xml
@@ -0,0 +1,11 @@
+<?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 string="Split Move" col="6">
+ <label name="count"/>
+ <field name="count"/>
+ <label name="quantity"/>
+ <field name="quantity"/>
+ <label name="uom"/>
+ <field name="uom"/>
+</form>
--
tryton-modules-stock-split
More information about the tryton-debian-vcs
mailing list