Odoo Help


How to define Domain based on selected line ? OdooV8

Ajeng Shilvie
on 2/14/15, 12:15 AM 832 views

FIRST RECORD In One2many field

when i select many2one field that refer to 'stock.production.lot' it will show all the serial number


when i select many2one field again , the previous item that already selected MUST not shows in the list.

How can i do that ? I use SQL_CONSTRAINT but it run only when i hit button save . I just want to put a domain in many2one field so it prevent to have same value on line record ,

Sorry for my bad English ,

Thanks Advance, if anyone know how to solve it, it will really help me.


Ajeng Shilvie
on 4/5/15, 4:11 AM

Thank you.

Cyril Gaspard (GEM)
on 4/5/15, 10:58 AM


| 6 5 7
Lodz, Poland

On 4/4/15, 8:04 AM

Thank You Zbik :)

Ajeng Shilvie
on 4/5/15, 4:10 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 2/14/15, 12:15 AM
Seen: 832 times
Last updated: 4/5/15, 10:58 AM