Skip to Content
Menu
This question has been flagged
2 Replies
2544 Views

Hello friends!!

Please, who can help me really?!

I want to know how to know the difference between an on_change when i click on the field and an on_change when i click on the CREATE BUTTON.

Please, i need an answer.

Thanks a lot in advance.

Avatar
Discard
Best Answer

on_change , as the name sais is triggered by changing the cell value...  

- on_change when i click on the field - is actualy triggered if you change the cell value and leave that cell , while
- on_change triggered after create button - is because some cells have default values, so on create the cell value is changed from Null to default....

hope it helps a bit

Avatar
Discard
Best Answer

There is no on_change after create button. The on_change only works when your field has an on_change attribute and you change the value of that field. When you are saving your data it's called functions, you can check function fields on Odoo.

Avatar
Discard
Related Posts Replies Views Activity
1
Aug 23
12547
1
Aug 23
11050
1
Jul 23
7228
4
Apr 23
8676
2
Feb 23
17597