My Bolletta needed to sport a "Total" field that had to be the sum of a field in its lines.
I arranged a draft of a couple clculated field/on_change method and then I tested it in proteus. My draft works ! In [7]: boll.totale /home/catonano/tributi/env/lib/python3.6/site-packages/trytond/model/fields/function.py:100: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec() if 'names' in inspect.getargspec(method)[0]: Out[7]: 2016.014 I don' t undertsand the warning becaus I don' t know how the code underneath is layed out, but do you see the number 2016.014 ? That' s my total !! This is a way saner cycle than creating the xml for the fields, then logging in the client, open all the windows to reach the new field !! -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/6ac0abf0-e971-4a72-8df2-ddde49e6b064%40googlegroups.com.
