summaryrefslogtreecommitdiff
path: root/addons/product_matrix
AgeCommit message (Collapse)Author
2021-05-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-14[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-14[FIX] web, purchase_product_matrix: can open twice the matrixAaron Bohy
Let's assume the following scenario with 'purchase_product_matrix' module installed: - create a new Purchase Order - add a line in the one2many - select "Customizable desk" as product - [the desk matrix opens] - close the matrix - select "Conference chair" instead - [the desk matrix opens, whereas it should be the chair one] It didn't work because of a small bug in the FieldOne2Many. This field is configured to be reset when any other field in the view changes. The product configurator feature relies on that. However, when another field changes, the One2Many didn't update its internal state with the new record (and it skipped the rendering, which is fine). The matrix product configurator thus read an obsolete value in the internal of the one2many. Since the internal state is now always up-to-date, we can directly read there the grid information, instead of looking inside other fields that have been updated (attempt done in [1]) It would be nice to rethink the whole product configurator stuff in master, to make it more robust, maybe when converting it to owl? [1] https://github.com/odoo/odoo/commit/21bcafc053be7f80eed7a684fee2dc1e3caaafa5 opw~2421798 closes odoo/odoo#64552 Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-10[I18N] Update translation terms from TransifexOdoo Translation Bot
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-29[I18N] *: export 14.0 source termsMartin Trigaux
Including demo data this time closes odoo/odoo#58821 Related: odoo/enterprise#13682 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-24[FIX] product_matrix: error raised on order grid with foreign currencyJorge Pinna Puissant
- Create a price list with a foreign currency; - Create a product with some variants; - Configure the variants and make at least one of the variants with extra price; - Set the 'Sales Variant Selection' with 'Order Grid Entry'; - Create a new quotation with the foreign currency price list; - Add the product just created to the quotation. Before this commit, an error is raised, because the currency convert need a valid company id. Now, the order grid entry is shown. opw-2329658 closes odoo/odoo#58412 X-original-commit: bf325b60d24b7045e8bfb3f16be2476889368926 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
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-07-29[FIX] product_matrix: matrix edition on a new record.Victor Feyens
Probably since recent js framework changes, when trying to modify the matrix of a product on a new SO (not saved), a js error was raised (wrong qweb template rendering). This is due to a wrong check when loading the matrix data, in the case of a new record, the data wasn't correctly updated on all widgets, resulting in an opening of the matrix with the results of the last matrix changes (since the information is transferred in the same field). This commit: * Ensures that the correct data is taken to open the matrix (solving the main problem of matrix update on new records) * Improves test coverage to cover untested buggy situation * Fixes another error found while improving test coverage: The edition of existing quantities was wrongly creating new lines, instead of updating existing ones. Simplify lines comparison to ensure the matrix won't generate two lines for the same variant combination. closes odoo/odoo#54917 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-02-13[I18N] export saas-12.3 source termsMartin Trigaux
closes odoo/odoo#45285 X-original-commit: bb281e98f52a2716f00d43a07446a08df698c1dd Related: odoo/enterprise#8413 Signed-off-by: Martin Trigaux (mat) <mat@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-11-27[ADD] (*_)_product_matrix: test toursVictor Feyens
closes odoo/odoo#40971 X-original-commit: d729460f5fc72aa70e0a024e1dff281299eed0e3 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2019-11-21[FIX] web,product_matrix: Do not trigger event on parents.Victor Feyens
X-original-commit: 127a75ed5c746291f9b0b7466d8935c83abc32a0
2019-11-21[FIX] product_matrix: ensure the data is taken from a targeted widget.Victor Feyens
X-original-commit: 44462e11ddba648d64fb75997e3f87a877c642eb
2019-10-07[I18N] *: export 13.0 source termsMartin Trigaux
closes odoo/odoo#38028 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-30[IMP] product(_matrix): clean demo product for matrixAntoine Vandevenne (anv)
Before this commit, the product 'My Company Tshirt' had too much PTAL and PTAV which lead to an overloaded matrix. This commit removes the 'Sleeves' attribute, reorder the other attributes and remove the Size attributes '2XL' and '3XL'. task-2052537 closes odoo/odoo#37543 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-09-30[IMP] product(_matrix), *: add configurator hint to template nameAntoine Vandevenne (anv)
Before this commit, it wasn't easy to find a demo product template that opens either with the product configurator or with the matrix from a list view. To fix that, this commit appends '(CONFIG)' to the name of all demo product templates that open with the product configurator and '(GRID)' to all demo product templates that open with the matrix. task-2052537
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-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-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-08-26[REF] product, *: save product.template.attribute.value on variantsSébastien Theys
* account, hr_expense, mrp, sale, sale_product_configurator, stock_account, website_sale, website_sale_comparison Before this commit, the `product.attribute.value` were stored on the variants. This required filtering of attribute lines to find the appropriate matching `product.template.attribute.value` that were used in most of the business code, such as when computing the `price_extra`. This also prevented to have multiple attribute lines for the same attribute, which is needed to handle use cases such as grape varieties for wine products. This will be done in the following commit. After this commit, the combination of `product.template.attribute.value` will be directly stored on the product variant. Other changes ============= Add `combination_indices` on product, which allows to quickly find a variant matching a combination (1 simple indexed equality query as opposed to 1 query with as many joins as there are attribute lines), and to add an easy SQL constraint to ensure active combination uniqueness. Add active field on `product.template.attribute.line` and `product.template.attribute.value`, with the same behavior as variants: They become archived if they can't be unlinked. This allows to keep the database consistent, such as archived variants correctly keeping all their values, sales order lines keeping their custom and no_variant. This is done with the help of `ondelete=restrict` on the corresponding m2m fields, and the `unlink` methods falling back to archiving when `unlink` is restricted. Part of task-1912579 PR: #32946
2019-08-26[I18N] *: export saas-12.5 source termsMartin Trigaux
That will be used a the basis for the future 13.0 version Without demo data closes odoo/odoo#36057 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-08-20[IMP] *_product_matrix: UIVictor Feyens
2019-08-20[FIX] product_matrix : multiple extra pricesVictor Feyens
2019-08-09[FIX] product_matrix : templates with one attribute line.Victor Feyens
Don't show "Not Available" as Line header when there is only one attribute line on the product.template. closes odoo/odoo#35586 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-08-07[ADD] (sale/purchase)_product_matrixVictor Feyens