Let's say I create 2 integers in Studio:
x_studio_1
x_studio_2
How do I add them up together?
x_studio_total = x_studio_1 + x_studio_2
Does something like this work?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Let's say I create 2 integers in Studio:
x_studio_1
x_studio_2
How do I add them up together?
x_studio_total = x_studio_1 + x_studio_2
Does something like this work?
Yes, it's quite simple to do with Computed Fields:
Select the field x_studio_total and then click on “More”
(Screenshot for illustration only, your field name is different)
for record in self:
record['x_studio_total'] = record.x_studio_1 + record.x_studio_2
Then save your changes.
Hi,
Define the x_studio_total as a compute field .
See: https://www.youtube.com/watch?v=uKlafP54WsM
Thanks
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up