summaryrefslogtreecommitdiff
path: root/addons/pos_discount
AgeCommit message (Collapse)Author
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
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
2020-12-17[FIX] point_of_sale: discount product with taxPierre Masereel
When you are using a discount product with a tax, you get a traceback when trying to add the discount. It is caused by a typo and is fixed here. closes odoo/odoo#63545 Signed-off-by: pimodoo <pimodoo@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-09-01[I18N] export saas-13.5 source termsMartin Trigaux
Without demo data closes odoo/odoo#56839 Related: odoo/enterprise#12821 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-06-30[FIX] point_of_sale, pos_discount: install discount when session openNicolas Martinelli
Commit 4c4adf472453de65e45e fixed the `pos_discount` installation in case of a session is already opened. However, this breaks the following condition: https://github.com/odoo/odoo/blob/8aa952d18acca5a0ac3b32579e812158e641c13c/addons/point_of_sale/views/point_of_sale_dashboard.xml#L67 The `current_session_id` is always filled in for any user, so the badge is not shown anymore. We can keep the same logic than the mentioned commit but without impacting the computation of `current_session_id`. closes odoo/odoo#53412 closes odoo/odoo#53858 X-original-commit: 7e0e89cbf5d09c106936a582e27af527535103f6 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-06-12[IMP] point_of_sale: Hide tips and discount productsAntoine Prieels
Hide the tips and discount products from the ProductScreen. TaskID: 2276054
2020-05-12[REF] pos_discount: migration to OWL frameworkPierre Masereel
2020-05-08[FIX] pos_discount: correctly get discount amountAndrea Grazioso (agr-odoo)
Activate a language which has comma as decimal separator Go into POS settings, activate 'Global Discount'. Open POS session, add some product and use global discount. Input some number with decimals and confirm. Discount will be not applied This occur because of javascript type coercion: Math.min(100, "11.0") -> 11 Math.min(100, "11,0") -> NaN So in locales with thousands separator the statement would produce different results. Forcing float parsing fix the issue opw-2243482 closes odoo/odoo#50900 X-original-commit: 84a6c2a59c59b88b0ad7b1f9112d331fa2a505c5 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2020-03-30[FIX] point_of_sale, pos_discount: install discount when session openPierre Masereel
Whe a pos session is opened, it is impossible to install discount anymore, because the module tries to set a default value for the product discount. To fi this error, we are setting the default value, only on config that are closed. closes odoo/odoo#48576 X-original-commit: 4c4adf472453de65e45e71f0cbd22a36ef2ed0db Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
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-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-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-13[FIX] point_of_sale: default global discountRobin Heinz
Change the default value of the miscellaneous product to a discount product. When the module pos_discount is installed, the default value will now be the discount product. closes odoo/odoo#36665 Task: bug fix Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2019-09-18[FIX] pos_discount: don't show multiple pricesPierre Masereel
When you add a discount, the price is changed on the product, and so when you have enabled options to display the discount, the product is shown as discounted. So we are modifying the lst_price too (like for tip) to avoid having differences between prices. closes odoo/odoo#37089 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2019-09-16[FIX] *: correct typos, improve wordingMartin Trigaux
Courtesy of translators closes odoo/odoo#36953 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-09-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-12[FIX] pos_discount: get price based on total without taxPierre Masereel
When you are applying a discount, the base amount is the one tax included which is wrong as we'll apply the tax of the discount product on it. So we are basing the discount computation on the total without taxes and then apply the tax configured on the product. It doesn't work with multiple taxes, but will be handled in future developement in odoo. closes odoo/odoo#36798 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
2019-09-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-08-27[FIX] point_of_sale: force load discount productPierre Masereel
When you set up a discount product on your pos config and also some available categories, it is possible that the discount product is not loaded in the point of sale, which lead to an error. Now we are forcing the loading of the discount product to allow using it even if it is not in the allowed categories, as we don't want to create a discount product for each category if we want to use both features. TASK-ID: 2057436
2019-08-13[I18N] *: export saas-12.4 source termsMartin Trigaux
2019-07-26[MERGE] forward port branch saas-12.3 up to 40e8b67179fChristophe Simonis
2019-07-24[MERGE] Forward port of saas-12.2 to saas-12.3 up to 860ab5a1c28baMartin Trigaux
closes odoo/odoo#35119 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-07-23[MERGE] Forward port of 12.0 to saas-12.2 up to 5e4c1b370123deeMartin Trigaux
2019-07-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-06-27[MERGE] forward port branch saas-12.3 up to 0247d2f35fdChristophe Simonis
2019-06-27[MERGE] forward port branch saas-12.2 up to 465909f0fdeChristophe Simonis
2019-06-27[MERGE] forward port branch 12.0 up to cd21c016b06Christophe Simonis
2019-06-27[FIX] pos_discount: change customerNicolas Martinelli
- Enable general discounts for POS - Create a POS session - Add a product - Create a general discount of 10% - Change the customer The discount is reset to the product price. When changing the customer, the prices are reset: https://github.com/odoo/odoo/blob/3b1699e02d4483913159681bf7e10839e6493244/addons/point_of_sale/static/src/js/screens.js#L1251 In the case of a global discount, the price is therefore reset to the product price in: https://github.com/odoo/odoo/blob/3b1699e02d4483913159681bf7e10839e6493244/addons/point_of_sale/static/src/js/models.js#L2304 To avoid this, we set the price as manually set. Conceptually, this is indeed the case since we manually chose the percentage, therefore the price. opw-2009761 closes odoo/odoo#34416 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-07-14[I18N] Update translation terms from TransifexOdoo Translation Bot
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-19[I18N] Update translation terms from TransifexOdoo Translation Bot