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
1.7 KiB
1.7 KiB
| 1 | id | name | model_id/id | group_id/id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | cashmove_user | Cashmove user | model_lunch_cashmove | group_lunch_user | 1 | 0 | 0 | 0 |
| 3 | cashmove_manager | Cashmove user | model_lunch_cashmove | group_lunch_manager | 1 | 1 | 1 | 1 |
| 4 | order_user | Order Line user | model_lunch_order | group_lunch_user | 1 | 1 | 1 | 1 |
| 5 | order_manager | Order Line user | model_lunch_order | group_lunch_manager | 1 | 1 | 1 | 1 |
| 6 | product_user | Product user | model_lunch_product | group_lunch_user | 1 | 0 | 0 | 0 |
| 7 | product_manager | Product user | model_lunch_product | group_lunch_manager | 1 | 1 | 1 | 1 |
| 8 | product_category_user | Product category user | model_lunch_product_category | group_lunch_user | 1 | 0 | 0 | 0 |
| 9 | product_category_manager | Product category user | model_lunch_product_category | group_lunch_manager | 1 | 1 | 1 | 1 |
| 10 | lunch_alert_access | access_lunch_alert_user | model_lunch_alert | base.group_user | 1 | 0 | 0 | 0 |
| 11 | lunch_alert_user | access_lunch_alert_lunch_user | model_lunch_alert | group_lunch_user | 1 | 1 | 1 | 1 |
| 12 | lunch_alert_manager | access_lunch_alert_manager | model_lunch_alert | group_lunch_manager | 1 | 1 | 1 | 1 |
| 13 | lunch_cashmove_report_manager | access_lunch_cashmove_report | model_lunch_cashmove_report | base.group_user | 1 | 0 | 0 | 0 |
| 14 | lunch_location_user | access_lunch_location | model_lunch_location | group_lunch_user | 1 | 1 | 0 | 0 |
| 15 | lunch_location_manager | access_lunch_location | model_lunch_location | group_lunch_manager | 1 | 1 | 1 | 1 |
| 16 | lunch_topping_user | access_lunch_topping | model_lunch_topping | group_lunch_user | 1 | 0 | 0 | 0 |
| 17 | lunch_topping_manager | access_lunch_topping | model_lunch_topping | group_lunch_manager | 1 | 1 | 1 | 1 |
| 18 | lunch_supplier_user | Lunch Supplier User Rights | model_lunch_supplier | group_lunch_user | 1 | 0 | 0 | 0 |
| 19 | lunch_supplier_manager | Lunch Supplier Manager Rights | model_lunch_supplier | group_lunch_manager | 1 | 1 | 1 | 1 |
| 20 | lunch_product_report_user | access_lunch_product_report | model_lunch_product_report | group_lunch_user | 1 | 1 | 0 | 0 |