summaryrefslogtreecommitdiff
path: root/addons/pos_cache
AgeCommit message (Collapse)Author
2021-05-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-19[FIX] pos_cache: load products by batchesIvan Yelizariev
pos_cache is used to speed up opening POS in databases with large number of products. In some cases it's still not enough and thousands of records cannot be cached in a single request, because reading information may take more time than maximum allowed. As a workaround, this commit adds posibility to split request into few small requests. To activate the feature set system parameter ``pos_cache.limit_products_per_request`` to appropriate value depending on your server capacity. --- opw-2439347 closes odoo/odoo#66539 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-12[FIX] pos_cache: add pos to productAdrien Widart
When adding a product to the order, the total will be updated but the orderline will not be displayed To reproduce the error: 1. Go to Point Of Sale 2. New Session 3. Click on a product so it will be added to the order Err: The order's total is correctly updated but the line is not displayed. When displaying an orderline, the system wants to use the product's unit name (`t-esc="props.line.get_unit().name"`). To do so, it uses one specific variable of the current product, `pos`: https://github.com/odoo/odoo/blob/abff1ca94bcc829250b63fd9677890988b796819/addons/point_of_sale/static/src/js/models.js#L1518-L1528 When using the standard Point of Sale, this variable is added on products loading (L446) : https://github.com/odoo/odoo/blob/abff1ca94bcc829250b63fd9677890988b796819/addons/point_of_sale/static/src/js/models.js#L438-L448 However, this variable is not set when using the pos_cache module. OPW-2431221 closes odoo/odoo#64380 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2020-12-07[FIX] pos_cache: make it compatible with onboarding toolIvan Yelizariev
STEPS: * install pos_cache in clean database without demo * open pos * click OK on popup "Would you like to load demo data" closes odoo/odoo#62955 Before: error, products are not loaded even after refreshing After: no errors, products are loaded Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2020-12-07[FIX] pos_cache: fix error on opening POSIvan Yelizariev
STEP: * install pos_cache * create some products (this step is not needed in demo database) * open POS BEFORE: error "TypeError: Object of type 'datetime' is not JSON serializable" AFTER: no errors WHY: * Since Odoo 12 date fields are not strings: https://github.com/odoo/odoo/commit/960360afe478a8f7b9c456721b5591154952a37d * Since Odoo 14 fields lists to read contains write_date: https://github.com/odoo/odoo/commit/c6397ab3b3654da336a4269a81d5d91016baf520 -- see models.js --- opw-2410334 closes odoo/odoo#62952 Signed-off-by: Ivan Yelizariev // IEL <yelizariev@users.noreply.github.com>
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-27[I18N] *: Update translation terms from TransifexMartin Trigaux
Except Spanish, waiting for cleanup closes odoo/odoo#60848 Related: odoo/enterprise#14421 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-21[REV] *: revert fb7407c for spanish translationsOlivier Dony
There was a problem in the Transifex translations for Spanish and all translations were overwritten by mistake with english defaults. This commit reverts all modified es.po files to their previous version while we work to restore the translations on Transifex.
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-05-12[REF] pos_cache: migration to OWL frameworkJoseph Caburnay
2020-03-05[IMP] base: Display searchpanel on ir.module.module viewsYannick Tivisse
Purpose ======= The current kanban view is messy. It is difficult to identify which apps are installed or not. The user can completely miss a module that might have interested him. A search panel would make things way more readable. closes odoo/odoo#44401 Taskid: 2181557 Related: odoo/enterprise#8144 Related: odoo/upgrade#879 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-12-16[I18N] *: export saas-13.1 source termsMartin Trigaux
Without demo data, for the odoo-master transifex project closes odoo/odoo#41935 X-original-commit: dab7670b73506fb3a835695ee3bd735e0c5e5c2b Related: odoo/enterprise#7287 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-12-10[I18N] *: remove es_AR translationsMartin Trigaux
Followup of a425695e The terms were back in 12.0 Courtesy of Juan José Scarafía closes odoo/odoo#41624 X-original-commit: 85d0c7001a997748d7691205bbb8d066597591a5 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-10-09[MERGE] forward port branch 13.0 up to f4105eb9c70Christophe Simonis
2019-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-10-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-25[IMP] * : manifest module categories cleanupVictor Feyens
closes odoo/odoo#35754 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-09-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-20[MERGE] forward port branch saas-12.5 up to 58a83d12228Christophe Simonis
2019-09-17[FIX] *: remove old deprecated modules/functionsJulien Castiaux
PEP-594 is deprecating a bunch of modules. As part of the cleanup, we are also dealing with long deprecated modules, functions and aliases. * `assert_` -> `assertTrue` * `assertEquals` -> `assertEqual` * `assertNotEquals` -> `assertNotEqual` * `assertAlmostEquals` -> `assertAlmostEqual` * `assertRaisesRegexp` -> `assertRaisesRegex` * `assertRegexpMatches` -> `assertRegex` * `base64.encodestring` -> `base64.encodebytes` * `base64.decodestring` -> `base64.decodebytes` * `inspect.getargspec` -> `inspect.signature` * `inspect.formatargspec` -> `inspect.signature` * `logging.warn` -> `logging.warning` closes odoo/odoo#36863 Task: 2003936 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2019-09-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-08-28[IMP] *: unify module manifestsMartin Trigaux
The description should be an action for the user (i.e. "with this module, you can ...") Correct English errors
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-15[MERGE] Forward port of saas-12.4 to master up to 1f5a4649a67908Martin Trigaux
closes odoo/odoo#34850 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-12[MERGE] Forward port of saas-12.3 to saas-12.4 up to 87fc1554d6a1823Martin Trigaux
closes odoo/odoo#34820 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-05[MERGE] forward port branch saas-12.2 up to be5e8fdab80Christophe Simonis
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-06-28[FIX] pos_cache: eval domain before sending it to serverPierre Masereel
Since changes made on 'product.product' model in rev: 30e4d89a62c21e76db651ca54f8c132b96e7668d the domain is not represented as a string, but as a function, and that leads to error as the javascript function is sent to the server instead of a string representing a domain. So we check the type of domain to see if we have to evaluate a function or send the domain as a string closes odoo/odoo#34453 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2019-06-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-06-12[I18N] *: export saas-12.3 source termsMartin Trigaux
closes odoo/odoo#34068 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-06-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-05-12[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-03-20[I18N] export saas-12.2 source termsMartin Trigaux
closes odoo/odoo#31985 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-01-31[MERGE] forward port branch 12.0 up to cb8fefa8999Christophe Simonis
2019-01-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-01-22[FIX] base_gengo, pad, pos_cache: add missing _description on some modelsmreficent
closes odoo/odoo#30412