Hello,
I have the following problem:
I have started work on an OpenERP module used for quality control, and one requirement for it to work is having linked quality parameters. Each parameter record has a field called 'formula' where I should be able to calculate the value for the parameter based on a dependent parameter.
For example, if I have a 'weight' parameter and a 'tolerance' parameter, I would like to have a 'foreign substance' parameter, where I would calculate the values for the 'foreign substance' parameter through the formula field, for instance 'weight'/'tolerance'.
The formula field would contain text that would be executed as Python code.
My question is, how would I indicate to the 'foreign substance' parameter that it should take into account the values of the other two when calculating its values?
Best regards, Stjepan