summaryrefslogtreecommitdiff
path: root/addons/lunch/data/lunch_data.xml
AgeCommit message (Collapse)Author
2019-12-31[FIX] lunch: The lunch mail template is not using the correct languageGoffin Simon
Steps to reproduce the bug: - Creante a vendor V with a lang in French - Set lang English on your user U - Log with U - Create a lunch.order.line for V - Click on Lunch: Order meals Bug: The email was sent in the lang of U instead of V. opw:2155628 closes odoo/odoo#42543 X-original-commit: 8708ef16608dd8b6cdcad066e31f70f6262af205 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2019-10-10[FIX] lunch: don't update or recreate initial dataChristophe Simonis
closes odoo/odoo#38317 X-original-commit: b50bccb28973bf939ac34c6aabe69bc3d3da8734 Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-11[IMP] lunch: Improve the product dashboardRomainLibert
The default image for the lunch product should be the one from the category (added an image on the categories). In case there is no image either on the product either on the category, in the kanban view there should be a specific image (fork and knife image) Added some data in order to always have something displayed in the kanban view Fixed the layout of the dashboard Bug fix, in `_check_wallet` there was a flush missing Bug fix, `product_id` should be a many2one, not an integer field and the orm should be used in order to avoid problems when favoriting products This is a back2basics task Task 2048246 closes odoo/odoo#35632 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-10[IMP] lunch: clean the controlpanel actionsHiral Bhavsar
- For the model 'lunch.order', rename the actions menu 'Lunch: Receive meals' by 'Mark as received' and 'Lunch: Cancel meals' by 'Cancel'. - For the model 'lunch.product', remove the action menu 'Lunch: Archive/Restore products' Linked to task 1984526 Related to PR #33720
2019-06-10[FIX] generic: fix typo in email templates.Prakash Prajapati
Replace the email template content form if you have any question to if you have any questions. task-1962924 Closes #33520 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-01-18[IMP] lunch: automatize lunch ordersRomainLibert
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-08Revert "[IMP] lunch: automatize lunch orders"Yannick Tivisse
This reverts commit f727b8f0b57aad49f2ea8c54600ab73bbd02570f.
2018-12-04[IMP] lunch: automatize lunch ordersRomainLibert
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. In this commit we add a new widget that comes with the kanban view and will allow to take orders in a friendly manner. We also add a lunch.supplier model and an integration with the hr module in order to filter what products you can order depending on your working location, this also allows you to configure an automatic ordering via email. TaskID: 1856876
2018-08-10[ADD] lunch: order generates an email for the supplierMartin Trigaux
Confirming orders must now be done per supplier and will open an email composition wizard with the different orders
2017-08-28[ADD] base: direct support for binding an action to a modelRaphael Collet
2017-01-03[IMP] various: add module name in server action nameThibault Delavallée
Purpose is to ease their ordering and understanding.
2016-11-18[FIX] *: convert action server to new syntaxJeremy Kersten
Use record / records instead of deprecated locals
2016-08-10[MIG] lunch: migrate server actions in new APIThibault Delavallée
2015-04-23[MIGR] lunch: migration to the new API, cleaning and newNicolas Martinelli
widget for displaying previous orders. Detailed changes : - previous order is not a computed field, with its own custom widget that has been designed according the new spec for widgets; - useless wizards have been removed, and replaced by some server actions that perform the same action with less code and views; - removed deprecated or incomplete reporting; - some renaming to follow the new specifications of module coding