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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
filter_partner not working
Diselesaikan
|
|
1
Sep 23
|
1210 | |
|
0
Mei 21
|
2563 | ||
|
1
Okt 20
|
4521 | ||
|
1
Mei 24
|
4568 | ||
How to filter a many2many field on the Contact?
Diselesaikan
|
|
3
Mar 24
|
1422 |