Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

I'm having model with date and one2many field it contains many2one field from Product table.

Now i want to display only active products in one2many table based on inactive date.


For example.

Record 1 -> date 20-12-18 and (product 1 and product 2 in on2many)

Record 2 -> date 22-12-18 and (product 1 and product 2 in on2many)

Record 3 -> date 23-12-18 and (product 2 in on2many)

Record 4 -> date 23-12-18 and (product 1 in on2many)

product 1 inactive in 22-12-18. Now i want display product 1 in records 1 and 2 but not in record 4.

How is it possible ?

Thanks!

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lut 25
18
2
lip 24
7862
3
sie 20
14997
1
lip 18
9587
2
mar 15
6782