From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/lunch/views/lunch_alert_views.xml | 120 +++++++++ addons/lunch/views/lunch_cashmove_views.xml | 106 ++++++++ addons/lunch/views/lunch_location_views.xml | 82 ++++++ addons/lunch/views/lunch_orders_views.xml | 251 ++++++++++++++++++ addons/lunch/views/lunch_product_views.xml | 390 ++++++++++++++++++++++++++++ addons/lunch/views/lunch_supplier_views.xml | 123 +++++++++ addons/lunch/views/lunch_templates.xml | 42 +++ addons/lunch/views/lunch_views.xml | 25 ++ addons/lunch/views/res_config_settings.xml | 45 ++++ 9 files changed, 1184 insertions(+) create mode 100644 addons/lunch/views/lunch_alert_views.xml create mode 100644 addons/lunch/views/lunch_cashmove_views.xml create mode 100644 addons/lunch/views/lunch_location_views.xml create mode 100644 addons/lunch/views/lunch_orders_views.xml create mode 100644 addons/lunch/views/lunch_product_views.xml create mode 100644 addons/lunch/views/lunch_supplier_views.xml create mode 100644 addons/lunch/views/lunch_templates.xml create mode 100644 addons/lunch/views/lunch_views.xml create mode 100644 addons/lunch/views/res_config_settings.xml (limited to 'addons/lunch/views') diff --git a/addons/lunch/views/lunch_alert_views.xml b/addons/lunch/views/lunch_alert_views.xml new file mode 100644 index 00000000..27fa6d93 --- /dev/null +++ b/addons/lunch/views/lunch_alert_views.xml @@ -0,0 +1,120 @@ + + + + lunch.alert.search + lunch.alert + + + + + + + + + + + + + lunch.alert.tree + lunch.alert + + + + + + + + + + + + + lunch.alert.form + lunch.alert + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ + + lunch.alert.kanban + lunch.alert + + + + +
+
+
+
+ +
+ + to + on + + +
+
+
+ +
+
+
+
+
+
+
+
+ + + Lunch Alerts + lunch.alert + + tree,form,kanban + ['|', ('active', '=', True), ('active', '=', False)] + {} + + +

+ Create new lunch alerts +

+
+
+
diff --git a/addons/lunch/views/lunch_cashmove_views.xml b/addons/lunch/views/lunch_cashmove_views.xml new file mode 100644 index 00000000..de3ad7ae --- /dev/null +++ b/addons/lunch/views/lunch_cashmove_views.xml @@ -0,0 +1,106 @@ + + + + lunch.cashmove.search + lunch.cashmove + + + + + + + + + + + + lunch.cashmove.tree + lunch.cashmove + + + + + + + + + + + + + lunch.cashmove.form + lunch.cashmove + +
+ + + + + + + + +
+
+
+ + + lunch.cashmove.kanban + lunch.cashmove + + + + + + + + + +
+
+
+ + + +
+
+ + + +
+
+
+
+ + +
+
+
+ +
+
+
+
+
+
+
+
+
+ + + Cash Moves + lunch.cashmove + tree,kanban,form + + + +

+ Register a payment +

+ Payments are used to register liquidity movements. You can process those payments by your own means or by using installed facilities. +

+
+
+
diff --git a/addons/lunch/views/lunch_location_views.xml b/addons/lunch/views/lunch_location_views.xml new file mode 100644 index 00000000..1a921732 --- /dev/null +++ b/addons/lunch/views/lunch_location_views.xml @@ -0,0 +1,82 @@ + + + + lunch.location.view.search + lunch.location + + + + + + + + + + lunch.location.view.form + lunch.location + +
+ + + + + + + + + +
+
+
+ + + lunch.location.view.form + lunch.location + + + + + + + + + + + lunch.location.view.kanban + lunch.location + + + + +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+
+
+ + + Lunch Locations + lunch.location + tree,form,kanban + + + +

+ To see some locations, create one using the create button +

+
+
+
diff --git a/addons/lunch/views/lunch_orders_views.xml b/addons/lunch/views/lunch_orders_views.xml new file mode 100644 index 00000000..9ea8265c --- /dev/null +++ b/addons/lunch/views/lunch_orders_views.xml @@ -0,0 +1,251 @@ + + + + + lunch.order.search + lunch.order + + + + + + + + + + + + + + + + + + + + + + + + lunch.order.tree + lunch.order + + +
+
+ + + + + + + + + + + + + +
+
+
+ + + Product category Kanban + lunch.product.category + + + + + +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ + + + + + + + lunch.product.category.search + lunch.product.category + + + + + + + + + + Products + lunch.product + tree,kanban,form + +

+ Create a new product for lunch +

+ A product is defined by its name, category, price and vendor. +

+
+
+ + + Order Your Lunch + lunch.product.report + kanban,tree + + + [('supplier_id.available_today', '=', True), '|', ('user_id', '=', False), ('user_id', '=', uid)] + +

+ There is no product available today +

+ To see some products, check if your vendors are available today and that you have configured some products +

+
+
+ + + Product Categories + lunch.product.category + tree,form,kanban + + +

+ Create a new product category +

+ Here you can access all categories for the lunch products. +

+
+
+ diff --git a/addons/lunch/views/lunch_supplier_views.xml b/addons/lunch/views/lunch_supplier_views.xml new file mode 100644 index 00000000..73393736 --- /dev/null +++ b/addons/lunch/views/lunch_supplier_views.xml @@ -0,0 +1,123 @@ + + + + lunch.supplier.view.tree + lunch.supplier + + + + + + + + + + + lunch.supplier.view.form + lunch.supplier + +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+
+
+ + + lunch.supplier.view.kanban + lunch.supplier + + + + + + + + +
+
+ +
    +
  • +
  • +
  • ,
  • +
  • +
+
+
+
+
+
+
+
+ + + lunch.supplier.view.search + lunch.supplier + + + + + + + + + + + Vendors + lunch.supplier + kanban,tree,form + + +
diff --git a/addons/lunch/views/lunch_templates.xml b/addons/lunch/views/lunch_templates.xml new file mode 100644 index 00000000..ff943deb --- /dev/null +++ b/addons/lunch/views/lunch_templates.xml @@ -0,0 +1,42 @@ + + + + + + + + + + diff --git a/addons/lunch/views/lunch_views.xml b/addons/lunch/views/lunch_views.xml new file mode 100644 index 00000000..4a720e8f --- /dev/null +++ b/addons/lunch/views/lunch_views.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/addons/lunch/views/res_config_settings.xml b/addons/lunch/views/res_config_settings.xml new file mode 100644 index 00000000..27e79e30 --- /dev/null +++ b/addons/lunch/views/res_config_settings.xml @@ -0,0 +1,45 @@ + + + + res.config.settings.view.form.inherit.lunch + res.config.settings + + + + +
+ +

Lunch

+
+
+
+ Lunch Overdraft + +
+ Maximum overdraft that your employees can reach +
+
+
+
+
+
+
+
+
+
+
+
+ + + Settings + ir.actions.act_window + res.config.settings + + form + inline + {'module' : 'lunch', 'bin_size': False} + +
-- cgit v1.2.3