Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
7067 Ansichten

Hello, I have a field called department and another field called head of department,

I want to auto filled the head of department if a department is selected from the list of the departments.

Please how do I implement that in OpenERP 7.0?

Avatar
Verwerfen
Beste Antwort

This has to do with the on_change function. It is very widely used in many modules. I would suggest you look at the code of one of those to understand how it works. As an example, you can see that if you create a customer and specify a State for its address, the country will be populated automatically.

Avatar
Verwerfen
Autor

Thanks but please can you give me examples of the modules in which it was used because am new to OpenERP?