Files
odoo_source/addons/lunch/security/ir.model.access.csv
T
RomainLibert 855c6dac25 [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
2019-01-18 15:33:04 +00:00

1.7 KiB

1idnamemodel_id/idgroup_id/idperm_readperm_writeperm_createperm_unlink
2cashmove_userCashmove usermodel_lunch_cashmovegroup_lunch_user1000
3cashmove_managerCashmove usermodel_lunch_cashmovegroup_lunch_manager1111
4order_userOrder Line usermodel_lunch_ordergroup_lunch_user1111
5order_managerOrder Line usermodel_lunch_ordergroup_lunch_manager1111
6product_userProduct usermodel_lunch_productgroup_lunch_user1000
7product_managerProduct usermodel_lunch_productgroup_lunch_manager1111
8product_category_userProduct category usermodel_lunch_product_categorygroup_lunch_user1000
9product_category_managerProduct category usermodel_lunch_product_categorygroup_lunch_manager1111
10lunch_alert_accessaccess_lunch_alert_usermodel_lunch_alertbase.group_user1000
11lunch_alert_useraccess_lunch_alert_lunch_usermodel_lunch_alertgroup_lunch_user1111
12lunch_alert_manageraccess_lunch_alert_managermodel_lunch_alertgroup_lunch_manager1111
13lunch_cashmove_report_manageraccess_lunch_cashmove_reportmodel_lunch_cashmove_reportbase.group_user1000
14lunch_location_useraccess_lunch_locationmodel_lunch_locationgroup_lunch_user1100
15lunch_location_manageraccess_lunch_locationmodel_lunch_locationgroup_lunch_manager1111
16lunch_topping_useraccess_lunch_toppingmodel_lunch_toppinggroup_lunch_user1000
17lunch_topping_manageraccess_lunch_toppingmodel_lunch_toppinggroup_lunch_manager1111
18lunch_supplier_userLunch Supplier User Rightsmodel_lunch_suppliergroup_lunch_user1000
19lunch_supplier_managerLunch Supplier Manager Rightsmodel_lunch_suppliergroup_lunch_manager1111
20lunch_product_report_useraccess_lunch_product_reportmodel_lunch_product_reportgroup_lunch_user1100