From 4628ad873130f29ee50e627df52235e647b6ba9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 10 Mar 2013 20:57:00 +0100 Subject: [PATCH] Use separate XML files for views --- MANIFEST.in | 1 + bom.xml | 115 +++-------------------------- configuration.xml | 9 +-- product.xml | 45 +---------- production.xml | 82 +------------------- setup.py | 2 +- stock.xml | 13 +--- view/assign_failed_form.xml | 10 +++ view/bom_form.xml | 15 ++++ view/bom_input_form.xml | 15 ++++ view/bom_input_list.xml | 9 +++ view/bom_list.xml | 7 ++ view/bom_output_form.xml | 15 ++++ view/bom_output_list.xml | 9 +++ view/bom_tree_open_start_form.xml | 12 +++ view/bom_tree_open_tree_form.xml | 6 ++ view/bom_tree_tree.xml | 9 +++ view/configuration_form.xml | 7 ++ view/location_form.xml | 10 +++ view/product_bom_form.xml | 11 +++ view/product_bom_list.xml | 7 ++ view/product_bom_list_sequence.xml | 7 ++ view/product_form.xml | 11 +++ view/production_form.xml | 54 ++++++++++++++ view/production_list.xml | 12 +++ 25 files changed, 246 insertions(+), 247 deletions(-) create mode 100644 view/assign_failed_form.xml create mode 100644 view/bom_form.xml create mode 100644 view/bom_input_form.xml create mode 100644 view/bom_input_list.xml create mode 100644 view/bom_list.xml create mode 100644 view/bom_output_form.xml create mode 100644 view/bom_output_list.xml create mode 100644 view/bom_tree_open_start_form.xml create mode 100644 view/bom_tree_open_tree_form.xml create mode 100644 view/bom_tree_tree.xml create mode 100644 view/configuration_form.xml create mode 100644 view/location_form.xml create mode 100644 view/product_bom_form.xml create mode 100644 view/product_bom_list.xml create mode 100644 view/product_bom_list_sequence.xml create mode 100644 view/product_form.xml create mode 100644 view/production_form.xml create mode 100644 view/production_list.xml diff --git a/MANIFEST.in b/MANIFEST.in index 501657d122..f040e5e2bc 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/bom.xml b/bom.xml index 1ccc688703..5ec740ed32 100644 --- a/bom.xml +++ b/bom.xml @@ -6,35 +6,13 @@ this repository contains the full copyright notices and license terms. --> production.bom tree - - - - - - ]]> - + bom_list production.bom form - - - @@ -78,36 +56,12 @@ this repository contains the full copyright notices and license terms. --> production.bom.input tree - - - - - - - - ]]> - + bom_input_list production.bom.input form - - - @@ -129,36 +83,12 @@ this repository contains the full copyright notices and license terms. --> production.bom.output tree - - - - - - - - ]]> - + bom_output_list production.bom.output form - - - @@ -181,46 +111,19 @@ this repository contains the full copyright notices and license terms. --> production.bom.tree tree childs - - - - - - - - ]]> - + bom_tree_tree production.bom.tree.open.start form - - - production.bom.tree.open.tree form - - - - - ]]> - + bom_tree_open_tree_form diff --git a/configuration.xml b/configuration.xml index 11350526df..172dae59e1 100644 --- a/configuration.xml +++ b/configuration.xml @@ -7,14 +7,7 @@ this repository contains the full copyright notices and license terms. --> production.configuration form - - - product.product-production.bom tree - - - - - - ]]> - + product_bom_list product.product-production.bom tree - - - - - - ]]> - + product_bom_list_sequence product.product-production.bom form - - - product.product - - - - - - - - - ]]> - + product_form diff --git a/production.xml b/production.xml index 12ab11f6e4..e59b88f98a 100644 --- a/production.xml +++ b/production.xml @@ -56,79 +56,13 @@ this repository contains the full copyright notices and license terms. --> production tree - - - - - - - - - - - ]]> - + production_list production form - - -