From c0971be90be548938f8957489dccd3b1eb9caedd Mon Sep 17 00:00:00 2001 From: Arnaud Pineux Date: Tue, 6 Nov 2012 16:55:23 +0100 Subject: [PATCH] [FIX]some changes bzr revid: api@openerp.com-20121106155523-vhpbuw6lfniqqgeu --- addons/lunch/lunch_demo.xml | 44 +++---- addons/lunch/report/groups.xml | 11 ++ addons/lunch/report/order.rml | 4 +- .../lunch/report/report_lunch_order_view.xml | 41 ------ addons/lunch/security/groups.xml | 119 ------------------ 5 files changed, 35 insertions(+), 184 deletions(-) create mode 100644 addons/lunch/report/groups.xml delete mode 100644 addons/lunch/security/groups.xml diff --git a/addons/lunch/lunch_demo.xml b/addons/lunch/lunch_demo.xml index dedd6af8fed..4f38760b64a 100644 --- a/addons/lunch/lunch_demo.xml +++ b/addons/lunch/lunch_demo.xml @@ -26,44 +26,44 @@ True - - Club + + Cheese And Ham 3.30 - Jambon, Fromage, Salade, Tomates, comcombres, oeufs + Cheese, Ham, Salad, Tomatoes, cucumbers, eggs - - Le Campagnard + + The Country 3.30 - Brie, Miel, Cerneaux de noix + Brie, Honey, Walnut Kernels - - Le Pâté Crème + + Tuna 2.50 - + Tuna, Mayonnaise - Fromage Gouda + Gouda Cheese 2.50 - + - - Poulet Curry + + Chicken Curry 2.60 - + @@ -71,7 +71,7 @@ 6.90 - Tomates, Mozzarella + Tomatoes, Mozzarella @@ -79,23 +79,23 @@ 7.40 - Tomates fraiches, Basilic, Mozzarella + Fresh Tomatoes, Basil, Mozzarella - Pâtes Bolognese + Bolognese Pasta 7.70 - + - Pâtes Napoli + Napoli Pasta 7.70 - Tomates, Basilic + Tomatoes, Basil @@ -138,7 +138,7 @@ confirmed - +Champignons + +Mushrooms @@ -148,7 +148,7 @@ cancelled - +Salade +Tomates +Comcombres + +Salad +Tomatoes +Cucumbers diff --git a/addons/lunch/report/groups.xml b/addons/lunch/report/groups.xml new file mode 100644 index 00000000000..75ab0836b12 --- /dev/null +++ b/addons/lunch/report/groups.xml @@ -0,0 +1,11 @@ + + + + + Lunch / Manager + + + Lunch / User + + + diff --git a/addons/lunch/report/order.rml b/addons/lunch/report/order.rml index b09b59bb96b..1ab52a88bda 100644 --- a/addons/lunch/report/order.rml +++ b/addons/lunch/report/order.rml @@ -149,10 +149,10 @@ [[ formatLang(lines.date,date='True') ]] - [[ (lines.product and lines.product.name) or '' ]] + [[ (lines.product_id and lines.product_id.name) or '' ]] - [[ lines.descript]] + [[ lines.note]] [[ lines.price ]] [[ (o.company_id and o.company_id.currency_id and o.company_id.currency_id.symbol) or '' ]] diff --git a/addons/lunch/report/report_lunch_order_view.xml b/addons/lunch/report/report_lunch_order_view.xml index b916cab79f9..f7bfdcd7395 100644 --- a/addons/lunch/report/report_lunch_order_view.xml +++ b/addons/lunch/report/report_lunch_order_view.xml @@ -2,47 +2,6 @@ - - report.lunch.order.tree - report.lunch.order.line - - - - - - - - - - - - - - - report.lunch.order.search - report.lunch.order.line - - - - - - - - - - - - - - - - Lunch Order Analysis - report.lunch.order.line - form - tree - - {'search_default_month':1,'search_default_User':1} - diff --git a/addons/lunch/security/groups.xml b/addons/lunch/security/groups.xml deleted file mode 100644 index bf6fb63ad30..00000000000 --- a/addons/lunch/security/groups.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - - Lunch / Manager - - - Lunch / User - - - - - lunch orders - - - - - - - - - lunch orders - - - - - - - - - lunch order lines - - - - - - - - - lunch order lines - - - - - - - - - lunch cashmoves - - - - - - - - - lunch cashmoves - - - - - - - - - lunch products - - - - - - - - - lunch products - - - - - - - - - lunch products - - - - - - - - - lunch products - - - - - - - - - lunch alerts - - - - - - - - - lunch alerts - - - - - - -