diff --git a/addons/lunch/lunch_demo.xml b/addons/lunch/lunch_demo.xml index 4f38760b64a..a9b03137bf2 100644 --- a/addons/lunch/lunch_demo.xml +++ b/addons/lunch/lunch_demo.xml @@ -5,6 +5,9 @@ + + + Sandwich diff --git a/addons/lunch/report/report_lunch_order.py b/addons/lunch/report/report_lunch_order.py index 2d89e2196e7..3a0875c1cd1 100644 --- a/addons/lunch/report/report_lunch_order.py +++ b/addons/lunch/report/report_lunch_order.py @@ -45,11 +45,11 @@ class report_lunch_order(osv.osv): create or replace view report_lunch_order_line as ( select min(lo.id) as id, + lo.user_id as user_id, lo.date as date, to_char(lo.date, 'YYYY') as year, to_char(lo.date, 'MM') as month, to_char(lo.date, 'YYYY-MM-DD') as day, - lo.user_id, lo.note as note, sum(lp.price) as price_total diff --git a/addons/lunch/report/groups.xml b/addons/lunch/security/groups.xml similarity index 100% rename from addons/lunch/report/groups.xml rename to addons/lunch/security/groups.xml