Skip to content

Conversation

@yankinmax
Copy link
Contributor

@yankinmax yankinmax commented Dec 15, 2025

oihane and others added 30 commits December 15, 2025 13:03
Currently translated at 100.0% (17 of 17 strings)

Translation: product-attribute-11.0/product-attribute-11.0-product_supplierinfo_for_customer
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-11-0/product-attribute-11-0-product_supplierinfo_for_customer/es/
…tion

That action window is for showing directly product.supplierinfo, so no
product template source and no `id` field. The rest of modifications on the act_window
are also nonsense.
…ext key is needed in act_window

Or the product template won't be shown there.
josep-tecnativa and others added 23 commits December 15, 2025 13:06
Currently translated at 100.0% (54 of 54 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_supplierinfo_for_customer
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_supplierinfo_for_customer/it/
Currently translated at 100.0% (56 of 56 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_supplierinfo_for_customer
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_supplierinfo_for_customer/es/
Currently translated at 100.0% (56 of 56 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_supplierinfo_for_customer
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_supplierinfo_for_customer/it/
The search method was inherited because it was called in the
_name_search that is inherited in the product.product model in this same
module, now in v17 the method that is being called by _name_search is
search_fetch so this must be fixed in order to correctly display the
name of a product.
Currently translated at 100.0% (55 of 55 strings)

Translation: product-attribute-17.0/product-attribute-17.0-product_supplierinfo_for_customer
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_supplierinfo_for_customer/it/
Currently translated at 94.6% (53 of 56 strings)

Translation: product-attribute-17.0/product-attribute-17.0-product_supplierinfo_for_customer
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-17-0/product-attribute-17-0-product_supplierinfo_for_customer/it/
…del search

When searching for products in a comodel, the results are obtained via
the `_name_search` method over `product.product`. Currently, this search
is not retrieving all matching results.

This issue occurs because the parameters for the `_name_search` method
changed in Odoo v17, and during the migration, this was not adapted. As
a result, when the method is called, it only retrieves 100 results due
to the default limit not being handled correctly.

This commit updates the overridden `_name_search` method to match the
new method signature in Odoo v17 and properly handle the `limit`
parameter. This ensures that all matching products are returned during
renamed from product_supplierinfo_for_customer
This change complements the migration and aligns with the this commit odoo/odoo@c2d47b9

- move the tests for product name_search from product_supplierinfo_for_customer_sale(product_customerinfo_sale)
…omer info

Now, in the sale order, the product template is displayed by default. This update adds the ability to search for product templates using customer info.

Reference: odoo/odoo#155449
- Changed invisible to column_invisible in list views.
- Show or hide product_id and product_template_id depending on whether the view is for product.template or product.product.
- Created a specific view for product.product to pass default values via context to product_tmpl_id and prevent errors when passing an ID from product.product to product.template.
- Removed group="base.group_multi_company" from product_tmpl_id as it was incorrectly applied.
Help texts incorrectly mentioned "vendor" instead of "customer" for fields:
   - customer_product_name
   - customer_product_code
   - quantity (min_qty)
   - price
   - validity (date_start/date_end)

Popup windows when adding customer info lines showed generic titles like "Create Customer" instead of clearer titles like "Create Customer Info".
When creating customer info from a specific product variant, the product variant field was not pre-populated.
Currently translated at 100.0% (55 of 55 strings)

Translation: product-attribute-18.0/product-attribute-18.0-product_customerinfo
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_customerinfo/it/
@yankinmax yankinmax force-pushed the 19.0-mig-product_customerinfo branch 4 times, most recently from 150b6f1 to 9b8e02d Compare December 15, 2025 12:26
@yankinmax yankinmax force-pushed the 19.0-mig-product_customerinfo branch from 9b8e02d to c897c1f Compare December 15, 2025 12:48
@yankinmax yankinmax mentioned this pull request Dec 15, 2025
72 tasks
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.