Hi,
I want the exact time of approval of a form to be displayed in the log form.
track_visibility a button?
please help me.
Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I want the exact time of approval of a form to be displayed in the log form.
track_visibility a button?
please help me.
Thanks.
Hi,
track_visibility is not a button. if you want to know each and every detail when you change a state add track_visibility='onchange' on your field definition.ie for eg:
state = fields.Selection([
('draft', 'Draft'),
('pending', 'Pending'),
('authorized', 'Authorized'),
('done', 'Done'),
('refunding', 'Refunding'),
('refunded', 'Refunded'),
('error', 'Error'),
('cancel', 'Canceled')], 'Status',
copy=False, default='draft',track_visibility='onchange')
if you are using Odoo 13 we use tracking=True
just have a look at the https://www.odoo.com/documentation/13.0/reference/mixins.html
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up
See this: https://www.youtube.com/watch?v=7lFvNCIZzkg&list=PLqRRLx0cl0hoJhjFWkFYowveq2Zn55dhM&index=12