In Odoo Version:
Am trying to call the write method of different object in one of the Button functionality persent in Other Object...
In Earlier version, whenever a write method is called, either manually or systematically irrespective of Values list, all the Functional fields present in that object will be recomputed again.... Whereas in this version it is not happening.. Any idea why it is so, or am i missing something...
Let me take classic example:
In Sale Object: [in which a button is placed]
def button_method(self):
....
self.lead_id.write({})
So when button is triggered in Sale Object, along with other functionality, it will just call a dummy write for Lead in order to trigger the functional fields present in Lead object... which works perfectly in Earlier Version, including V8 Alpha but not in Odoo V8
Note:
- If I manage to pass a values for Write method, then it triggers the Functional field
- And this code works great in older version...
- functional field is not having dependency property also