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
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
filter_partner not working
Résolu
|
1
sept. 23
|
2721 | ||
|
0
mai 21
|
3948 | |||
|
1
oct. 20
|
6013 | |||
|
1
mai 24
|
6057 | |||
|
3
mars 24
|
2894 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.