Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.0][MIG] mig product pricelist direct print #1804

Draft
wants to merge 68 commits into
base: 18.0
Choose a base branch
from

Conversation

bealdav
Copy link
Member

@bealdav bealdav commented Dec 6, 2024

No description provided.

carlosdauden and others added 30 commits December 6, 2024 14:22
Print price list for future date
Print price list for N last ordered products
Send report by email to each partner selected
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
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
legalsylvain and others added 29 commits December 6, 2024 14:22
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
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/
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 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/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

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/
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/
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/
- 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/
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/tr/
 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 : OCA#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/
@bealdav bealdav changed the title [MIG][18.0] mig product pricelist direct print [18.0][MIG] mig product pricelist direct print Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.