Hi everyone.
I have to update everytime one field's value based on another object's field. How to achieve it.Please share ur ideas.Thanks in advance.
Hi everyone.
I have to update everytime one field's value based on another object's field. How to achieve it.Please share ur ideas.Thanks in advance.
Yes u can go to create method in that model check condition and update value.
@api.model
def create(self, vals):
if values[u'key1'] = 'Something':
values[u'key2'] = 'update value'
<remaining code>
Create an account today to enjoy exclusive features and engage with our awesome community!
साइन अप करें| Related Posts | Replies | डेटा देखने का तरीका | ऐक्टिविटी | |
|---|---|---|---|---|
|
10
मई 20
|
10649 | |||
|
1
जन॰ 16
|
8192 | |||
|
0
जन॰ 26
|
14 | |||
|
1
जन॰ 25
|
26383 | |||
|
1
मई 21
|
7842 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.