summaryrefslogtreecommitdiff
path: root/addons/pos_cache/models/pos_cache.py
AgeCommit message (Collapse)Author
2019-07-17[REM] *: calls to @api.multiAdrian Torres
Multi is the default api for methods, it is not necessary to explicitly decorate methods with it, adds clutter and most people use it because they see that the rest of the code uses it. Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
2019-07-05[REM] *: remove calls to `api.one` and adapt codeAdrian Torres
Adapt all code that was using `api.one` to recordset-style method and remove any and all calls to `api.one` in preparation for its removal.
2019-07-04[FIX] *: sudo() -> with_user()Raphael Collet
2019-01-22[FIX] base_gengo, pad, pos_cache: add missing _description on some modelsmreficent
closes odoo/odoo#30412
2017-11-22[FIX] pos_cache: P3 compatibilityVictor Tabuenca Calvo
2017-10-13[MERGE] forward port branch saas-16 up to 8ee9024a4c8Christophe Simonis
2017-10-12[10.0][FIX] pos_cache: unable to refresh cache in a multi-company contextRaphael Collet
2017-08-28[IMP] pos_cache: use JSON instead of pickle for the cache formatRaphael Collet
2016-10-19[MERGE] forward port branch saas-12 up to 00f4547Christophe Simonis
2016-10-19[FIX] pos_cache: use base64 for attachment contentMartin Trigaux
an ir.attachment expects base64 content Closes #13878
2016-08-20[MERGE] forward port branch saas-12 up to 9ad5f26Christophe Simonis
2016-08-10[IMP] various: use odoo for imports instead of openerp and update class namesThibault Delavallée
2016-08-05[IMP] force attachment storage for some binary fieldsFabien Meghazi
2016-07-25[FIX] pos_cache: fix rare deserialization problemsOlivier Dony
Fixes opw-683800
2016-02-05[FIX] pos_cache: take into account language of the compute userJoren Van Onder
Otherwise you'll always end up with untranslated product names. Fixes #10736
2015-09-25[ADD] pos_cache: add pos_cache ported to v9 from odoo-extraJoren Van Onder
Originally written by Nicolas Seinlet <nse@odoo.com>. Provides pos.config with a product.product cache. This adds a ported and refactored pos_cache from odoo-extra: - Adapt to changes in web and point_of_sale since 8.0 - Refactor the load_server_data function, so it isn't copy pasted but cleanly patched into the load_server_data super. - Make the cron inactive by default. - Also remove retrying the write 5 times, when it fails we'll just have to wait until the cron triggers again (an hour from then). - Store the product.product fields and domain on pos_cache. When cache is requested from the pos with a different field or domain it'll automatically recompute. Necessary for when someone would install a module that modifies these things in the pos after a cache has been generated. - Have multiple caches per pos_config per user - Make the module adhere to the Odoo Coding Guidelines.