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

[12.0][FIX] fix product.template related fields #173

Open
wants to merge 1 commit into
base: 12.0
Choose a base branch
from

Conversation

huguesdk
Copy link

make product.template.product_variant_id a stored computed field to avoid the following error when setting the print_category_id or to_print related fields:

non-stored field product.template.product_variant_id cannot be searched.

make product.template.product_variant_id a stored computed field to
avoid the following error when setting the print_category_id or to_print
related fields: "non-stored field product.template.product_variant_id
cannot be searched."
@legalsylvain legalsylvain added this to the 12.0 milestone Dec 3, 2023
@legalsylvain
Copy link
Member

Hello @huguesdk ! Je vais laisser la PR ouverte. la cible c'est désormais la V16, ou j'ai mis le module dans l'OCA.
ça joue ?
https://github.com/OCA/product-attribute/tree/16.0/product_print_category#product---print-categories

Copy link

codecov bot commented Dec 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6e3c82c) 85.62% compared to head (a00f0c6) 85.62%.
Report is 7 commits behind head on 12.0.

Additional details and impacted files
@@           Coverage Diff           @@
##             12.0     #173   +/-   ##
=======================================
  Coverage   85.62%   85.62%           
=======================================
  Files         149      149           
  Lines        2330     2331    +1     
  Branches      360      360           
=======================================
+ Hits         1995     1996    +1     
  Misses        266      266           
  Partials       69       69           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@huguesdk
Copy link
Author

huguesdk commented Dec 7, 2023

ok, fine for me. i’ll test and create a similar pr for version 16 on the oca repo then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants