Skip to Content
Menu
This question has been flagged
3 Replies
2407 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
Related Posts Replies Views Activity
2
Sep 20
5167
2
Nov 24
1855
2
Oct 24
343
2
Aug 24
361
3
Jul 24
6440