From 7cf965ab31e4d09ff8a7823c00f6c02a8eb20076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 5 Mar 2008 11:14:16 +0100 Subject: [PATCH] Fix xml coding guide lines --- __tryton__.py | 11 +- category.xml | 155 +++++++++++------------- product.xml | 173 ++++++++++++--------------- template.xml | 6 - uom.xml | 321 ++++++++++++++++++++++---------------------------- 5 files changed, 290 insertions(+), 376 deletions(-) delete mode 100644 template.xml diff --git a/__tryton__.py b/__tryton__.py index 5865043cce..dfaaf68bac 100644 --- a/__tryton__.py +++ b/__tryton__.py @@ -1,12 +1,11 @@ { - "name" : "Products", + "name" : "Product", "version" : "0.1", "author" : "B2CK", "category" : "Generic Modules", - "description": "Define products, categories of product, units" - "of measure, categories of units of measure.", - "depends" : ["ir","res"], - "xml" : ["product.xml","category.xml","template.xml","uom.xml"], - "installable": True, + "description": "Define products, categories of product, units" \ + "of measure, categories of units of measure.", + "depends" : ["ir", "res"], + "xml" : ["product.xml", "category.xml", "uom.xml"], } diff --git a/category.xml b/category.xml index a0c82b1299..b5d1410c96 100644 --- a/category.xml +++ b/category.xml @@ -1,90 +1,71 @@ - - - - product.category - tree - - - - - - - ]]> - - - - - product.category - form - - - - - - - - - Product category - ir.action.act_window - product.category - form - - - - - - - - - - - - - - - - - - - Product Category - ir.action.act_window - product.category - form - - - - - - - - - - - - - - - - - + + + product.category + tree + + + + + + + ]]> + + + + product.category + form + + + + + Product Categories + product.category + form + + + + + + + + + + + + + + Product Categories + product.category + form + + + + + + + + + + + + + diff --git a/product.xml b/product.xml index be7cc1e783..68686a6698 100644 --- a/product.xml +++ b/product.xml @@ -1,99 +1,80 @@ - - - - - - product.product - tree - - - - - - - - - - ]]> - - - - - product.product - form - - - - - - Products - ir.action.act_window - product.product - form - - - - - - - - - - - - - - - - - - - - - - Products - ir.action.act_window - product.product - form - - - - - - - - - - - - - - - - - - + + + + product.product + tree + + + + + + + + + + ]]> + + + + product.product + form + + + + + Products + product.product + form + + + + + + + + + + + + + + Products + product.product + form + + + + + + + + + + + + + diff --git a/template.xml b/template.xml deleted file mode 100644 index b13e7d7ae0..0000000000 --- a/template.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/uom.xml b/uom.xml index 588888e6e7..c5ab939649 100644 --- a/uom.xml +++ b/uom.xml @@ -1,184 +1,143 @@ - - - - product.uom - tree - - - - - - - - - - ]]> - - - - - product.uom - form - - - - - - - - Units of measure - ir.action.act_window - product.uom - form - - - - - - - - - - - - - - - - - - - Units of measure - ir.action.act_window - product.uom - form - - - - - - - - - - - - - - - - ------------uom categ--------------- - - - product.uom.category - tree - - - - - - - ]]> - - - - - product.uom.category - form - - - - - - - - Categories of Unit of Measure - ir.action.act_window - product.uom.category - form - - - - - - - - - - - - - - - - - - - Categories of Unit of measure - ir.action.act_window - product.uom.category - form - - - - - - - - - - - - - - - - - + + + product.uom + tree + + + + + + + + + + ]]> + + + + product.uom + form + + + + + Units of Measure + product.uom + form + + + + + + + + + + + + + + Units of Measure + product.uom + form + + + + + + + + + + + + + + product.uom.category + tree + + + + + + + ]]> + + + + product.uom.category + form + + + + + Categories of Unit of Measure + product.uom.category + form + + + + + + + + + + + + + + Categories of Unit of measure + product.uom.category + form + + + + + + + + + + + + +