Syncing from upstream OCA/product-attribute (18.0) - #1413
Merged
Conversation
…t for pricelist (#290)
Print price list for future date Print price list for N last ordered products Send report by email to each partner selected
…_ordered_products_to_print
Ported from commit b317151 TT27367
When we check the price of any product, the date that we pass on the context has to be a Datetime value or None. With this change we avoid to pass a False. Here you have the reference to the code that check that https://github.com/OCA/OCB/blob/13.0/addons/product/models/product.py#L599-L600 TT29935
… products TT30596
In a multicompany environment we need to contextualize the report company. Otherwise, the pricelists will be printed with the header and data of the current user's default company, which can be incoherent. TT32544
This fix a compatibility issue with product_pricelist_supplierinfo if the wizard date isn't set. TT32729
…add new fields + Adjust cherry-picks to v14 + Give formats to add_extra_info method
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-15.0/product-attribute-15.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_pricelist_direct_print/
…pricelist prices vat excl or vat incl + group by any product field
- Improve wizard display, grouping fields by context - Harmonize fields names : Use only 'positive' option 'show' and remove 'hide' option - Set date as required, simplifying algorithm - Split product_pricelist_direct_print into product_pricelist_direct_print and product_pricelist_direct_print_xlsx
Currently translated at 84.6% (55 of 65 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/it/
Currently translated at 100.0% (65 of 65 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/es/
Currently translated at 84.6% (55 of 65 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/it/
…n compute The _compute_product_price method is missing the depends line, causing it not to be recomputed during the same report, thus all products result in the same price
Currently translated at 84.6% (55 of 65 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/it/
- Include context keys for avoiding mail operations overhead.
Currently translated at 100.0% (65 of 65 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/it/
Blank product_attribute_values on changing show_variants
…t' object has no attribute 'show_attribute_values'
…ut administration permision Steps to reproduce the problem: 1. Log in with a user without Administration permision 2. Open Pricelist Print wizard An error about permisions is desplayed
… that doesn't belong to 'Administration/Access Rights' try to print pricelists. Fix : #1655
…ing an product category, include its child categories.
Currently translated at 100.0% (66 of 66 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/it/
…fields With this change we are sure that the prices shown on the report has the correct precision.
… to print in report TT49004
[IMP] product_pricelist_direct_print: pre-commit execution
- Standard procedure. - [IMP] Add advanced print button - [IMP] Add option to show Sales Description - [FIX] typo product_pricelist_print_view - [IMP]Improve string Show only defined products - [IMP] Pretty Filename: Use pricelist- name instead of report.pdf in emails.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 18.0 #1413 +/- ##
==========================================
- Coverage 94.15% 93.41% -0.74%
==========================================
Files 391 396 +5
Lines 6262 6562 +300
Branches 491 536 +45
==========================================
+ Hits 5896 6130 +234
- Misses 261 304 +43
- Partials 105 128 +23 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
bt_gitbot