El 28/02/17 a les 13:20, 'Artem Braga' via tryton ha escrit:
How and where history of the Model can be activated?
You have to set the _history attribute to true. See:

http://doc.tryton.org/4.2/trytond/doc/ref/models/models.html?highlight=history#trytond.model.ModelSQL._history

and you can pick and example from here:

http://hg.tryton.org/modules/account_invoice_history/file/72f6fad18382/party.py

Hope it helps.

PS: Please follow the rules of this mailing list by nottop-posting on it, see https://groups.tryton.org/netiquette

This is just a warning but if you don't follow the rules, we will stop answering the questions.

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
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/64e72388-cd18-ad3e-e1fe-6d7095fe9329%40koolpi.com.

Reply via email to