Help

0

Smartbutton for showing offers which contains active product

Avatar
Jakob Bader

Hey Odoo Community,


I would like to add a smartbutton in product.template to get a list view of all offers where the active product is in one of the order lines. 


I only need help with the context and/or domain value where only the results are showing where product_id = active_id.

The button is already working and showing my new created action / view. Of course with all offers and order because i have not managed to filter correctly.


Greetings Jakob    

Avatar
Discard