Tryton - Issues

 

Message45503

Author semarie
Recipients ced
Date 2018-12-25.10:20:50
Content
and a question: in get_payment_aggregated() I am using:
    cls(group_id).currency_digits
to retreive the number of digits to quantize the amounts.

Should the method uses @fields.depends('currency_digits') decorator ?

I am unsure. The fields have the dependency to 'currency_digits' at class level, and the method is used for compute the value of the fields.
History
Date User Action Args
2018-12-25 10:20:50semariesetmessageid: <1545729650.96.0.709569901439.issue7890@tryton.org>
2018-12-25 10:20:50semariesetrecipients: + ced
2018-12-25 10:20:50semarielinkissue7890 messages
2018-12-25 10:20:50semariecreate

Showing 10 items. Show all history (warning: this could be VERY long)