This question has been flagged
3 Replies
2269 Views

I have two model cash.cash and another is cashout.cashout

cash.cash have two field x and y ,  cashout.cashout have two field p and q

Now i need calculate within  x and p

how to do it?

please give me a example

Avatar
Discard

How are they related?

Is there any relationship between those two models or they are just separate models ?

Best Answer

If there is a relationship between these two models, then you can access the fields through the relationship. If there is no relationship between these fields, you might consider a transitory model that inherited from the two models and has a computed field that produces the calculation.

Avatar
Discard