Commit Graph
9 Commits
Author SHA1 Message Date
Yannick Tivisse 7778031977 [IMP] lunch: Remove lunch.product.report model
The cross join with res.users caused dramatic performances issues.

TaskID: 2586326
2021-07-16 12:02:56 +02:00
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
Nicolas Martinelli 3d63c15a56 [MIGR] lunch: migration to the new API, cleaning and new
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
2015-04-23 10:27:08 +02:00
Thibault Delavallée 058d403309 [MOV] lunch: moved files according to new specifications in order
to prepare the migration to the new API. Some files have not been renamed
because they will disappear soon.
2015-04-23 10:27:08 +02:00
Leonardo Donelli 4a0b13ed92 [REF] remove vim modelines and resulting trailing blank lines
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Vir (Open ERP) 0763d0d588 [ADD] idea, lunch : lunch order analysis and vote reports added
bzr revid: vir@tinyerp.com-20100622122604-7t4i0d2durfqz8n1
2010-06-22 17:56:04 +05:30
Vir (Open ERP) e01abccc4c [ADD] lunch : Moduled added from trunk extra addons with new menu structure
bzr revid: vir@tinyerp.com-20100118125211-r3nfcsikheh76tkj
2010-01-18 18:22:11 +05:30
Christophe c88a24de96 remove duplicated addons with extra-addons
bzr revid: christophe@taupe-20081027110647-6cgfo0fo7q9w4ifm
2008-10-27 12:06:47 +01:00
Priyesh c3ba63722f modified files of process
bzr revid: solanki.priyesh@gmail.com-20081021132847-5vf9d0djh3fhmc9a
2008-10-21 18:58:47 +05:30