i was add record to invoice_line_ids in account.invoice from code
now i want to filter the uom_id field like onchange do in normal add product
i was add record to invoice_line_ids in account.invoice from code
now i want to filter the uom_id field like onchange do in normal add product
Hello Omer Ahmed,
Please find a first description related corrections,
self .invoice_line_ids = [(4, line.id)]
As per your question, You need to return the domain return in the Onchange then find the following solution:
Example: (In this list which condition you need to use)
return {'domain': {'uom_id': [('id', '=', product_id.uom_id)] }}
Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|
filter_partner not working
Rozwiązane
|
1
wrz 23
|
2735 | ||
|
0
maj 21
|
3959 | |||
|
1
paź 20
|
6024 | |||
|
1
maj 24
|
6067 | |||
|
3
mar 24
|
2903 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.