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] product_pricelist_direct print #1860

Open
wants to merge 82 commits into
base: 18.0
Choose a base branch
from

Conversation

bosd
Copy link
Contributor

@bosd bosd commented Jan 25, 2025

depends on: #1864

carlosdauden and others added 30 commits January 23, 2025 20: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
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/
@bosd
Copy link
Contributor Author

bosd commented Jan 28, 2025

This option is not working yet. It adds all items from the db.
image

Edit: Fixed now 💚

@bosd bosd force-pushed the 18.0-mig-product_pricelist_direct_print branch from 7f9d6a6 to 872d12b Compare February 2, 2025 09:48
@bosd bosd marked this pull request as ready for review February 2, 2025 09:54
Ömer KÜLAK and others added 23 commits February 2, 2025 15:12
 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
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/
…ing an product category, include its child categories.
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% (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/
@bosd bosd force-pushed the 18.0-mig-product_pricelist_direct_print branch from 9768b82 to 57b3eaa Compare February 2, 2025 14:13
Copy link

@Dranyel-Bosd Dranyel-Bosd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🥇

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.