summaryrefslogtreecommitdiff
path: root/addons/lunch/tests
AgeCommit message (Collapse)Author
2019-11-05[IMP] lunch: Adapt tests to work with/without demo dataYannick Tivisse
2019-10-09[FIX] lunch: avoid rewriting idsRomainLibert
The wrong order was used in the row_number call, which lead to ids changing when writing on `is_favorite` closes odoo/odoo#38278 X-original-commit: 28ebe6d4849a692d234b4c256332525aa71132e5 Signed-off-by: Romain Libert (rli) <rli@odoo.com>
2019-08-21[FIX] lunch: fix lunch product reportRomainLibert
closes odoo/odoo#35904 Signed-off-by: Romain Libert (rli) <rli@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.
2019-01-08Revert "[FIX] lunch: fix lunch_supplier test"Yannick Tivisse
This reverts commit 37212fe655e7e2b2df6fcdfb9d08fcc970e7735b.
2019-01-08Revert "[IMP] lunch: reintroduce lunch_alerts, change display of wizard"Yannick Tivisse
This reverts commit 6f5dc5733fa387a410166afb24339bb2a4a88019.
2018-12-05[FIX] lunch: fix lunch_supplier testRomainLibert
In https://github.com/odoo/odoo/commit/e8ac4d79964b852f21e272bc804d151b5b356791 we introduced an error in the test_search_available_today which broke the test before 10 am everyday closes odoo/odoo#29265
2018-12-06[IMP] lunch: reintroduce lunch_alerts, change display of wizardRomainLibert
We want to be able to use alerts in order to display a message to the users. We want to have a minimal display in the wizard. We want to link the toppings to the categories instead of the suppliers. closes odoo/odoo#29301
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-09-21[CHG] *: "family" names of admin & demo usersXavier Morel
avw/fp? request 58fc4e440952bde533c8aa1dc8b6fc2440a05337 changed various demo data, including putting more "realistic" names in for the administrator and demo users in demo mode. This is apparently inconvenient when actually demo-ing Odoo as it's harder to see at a glance whether the current user is the administrator or "regular" (demo) user of the db, though this should have less impact since the userification of the admin (2f7c03d9ca5809b65dc6eaa778064668d34fcd2e).
2018-08-15[FIX] lunch: tests broken on 2018-08-15, and magick mock issues with ↵Fabien Pinckaers
relativedelta
2018-08-10[ADD] lunch: tests for the new behaviorMartin Trigaux
And make sure multiple alerts combine correctly
2018-07-25[IMP] base: Improve partners/employees demo dataYannick Tivisse
- Update all the pictures - Rename the partners with a name that is easy to say for an English speaker (No more 'Agwoleight') - Update all the addresses/phone numbers in the american format - Unify the demo data with the new theme (Wood shop/manufacture,...)
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2016-08-10[IMP] various: use odoo for imports instead of openerp and update class namesThibault 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
2015-01-19[MERGE] forward port of branch 8.0 up to 0aab81cChristophe Simonis
2015-01-15[FIX] remove deprecated checks/fast_suite test attributes from standard modulesXavier Morel
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2014-07-06[MERGE] new v8 api by rcoRaphael Collet
A squashed merge is required as the conversion of the apiculture branch from bzr to git was not correctly done. The git history contains irrelevant blobs and commits. This branch brings a lot of changes and fixes, too many to list exhaustively. - New orm api, objects are now used instead of ids - Environements to encapsulates cr uid context while maintaining backward compatibility - Field compute attribute is a new object oriented way to define function fields - Shared browse record cache - New onchange protocol - Optional copy flag on fields - Documentation update - Dead code cleanup - Lots of fixes
2012-12-06[IMP] use the openerp namespace.Vo Minh Thu
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-11-05LunchArnaud Pineux
bzr revid: api@openerp.com-20121105135548-nfrnj63a01tz61y9
2012-11-05LunchArnaud Pineux
bzr revid: api@openerp.com-20121105110147-mts2pt2b0vr29kfh