summaryrefslogtreecommitdiff
path: root/addons/lunch/models/__init__.py
diff options
context:
space:
mode:
authorRomainLibert <rli@odoo.com>2018-10-25 14:43:19 +0000
committerYannick Tivisse <yti@odoo.com>2019-01-18 15:33:04 +0000
commit855c6dac25fccaf9312543022001ed0b360d6e13 (patch)
tree97e6943a15acd84e277ac910799e98cafb30cf22 /addons/lunch/models/__init__.py
parent84029de47cab518834674bca71898d3798e30010 (diff)
[IMP] lunch: automatize lunch orders
We would like to automatize lunch as currently all orders are manually ordered and validated, and a cash move has to be manually created each time you want to credit the wallet of some user. 1/ In this commit we add a new widget that comes with the kanban view and will allow to take orders in a friendly manner. 2/ We also add a lunch.supplier model this also allows you to configure an automatic ordering via email. 3/ Introduces new lunch.location model to replace res.partner on suppliers 4/ New mail template for automatic ordering 5/ Add the concept of new products (mark a product as new until some date) 6/ The toppings are now defined by product category 7/ Lunch.order removed, lunch.order.line renamed into lunch.order 8/ New SQL report to get the wallet content (aggregate of lunch.cashmove and lunch.order) 9/ New setting to allow negative wallet (aka overdraft) 10/ Application now remembers what notes and toppings you last ordered with your product 11/ You can change your location using the widget on the kanban view 12/ Edition of the order can be done until the order is arrived TaskID: 1856876 TaskID: 1916105 closes odoo/odoo#30028
Diffstat (limited to 'addons/lunch/models/__init__.py')
-rw-r--r--addons/lunch/models/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/addons/lunch/models/__init__.py b/addons/lunch/models/__init__.py
index f99750c87d0..94739d3cf9f 100644
--- a/addons/lunch/models/__init__.py
+++ b/addons/lunch/models/__init__.py
@@ -1,6 +1,12 @@
# -*- coding: utf-8 -*-
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import lunch_alert
from . import lunch_cashmove
+from . import lunch_location
from . import lunch_order
from . import lunch_product
+from . import lunch_supplier
+from . import res_company
+from . import res_config_settings
+from . import res_users