I know how to track of certain events:
What is the _track proprerty of mail.thread model used for ?
I need to track reports print time, is it possible? Have any ideas?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I know how to track of certain events:
What is the _track proprerty of mail.thread model used for ?
I need to track reports print time, is it possible? Have any ideas?
you can track fields with track_visibility property.
class claim_submitted(osv.osv):
_name = "claim_submitted"
_description = "claims submitted"
_inherit = ['mail.thread', 'ir.needaction_mixin']
_columns = { 'note':fields.text('Description'),
'verified_id':fields.many2one('res.users','Verified employee'),
'verified_date':fields.date('Verified date:'),
'approved_id':fields.many2one('res.users','Verified employee'),
'approved_date':fields.date('Approved date:'),
'cancelled_id':fields.many2one('res.users','Verified employee'),
'cancel_date':fields.date('Cancellation date:'),
'state': fields.selection([
('draft', 'Draft'),
('verify', 'Verified'),
('cancel', 'Cancelled'),
('done', 'Approved')],
'Status',
readonly=True, track_visibility='onchange',),
}
this will track the field status if the value in the field is changed
I am not interested in tracking the status but in tracking print action
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
2
okt. 25
|
3287 | |||
|
1
okt. 25
|
1071 | |||
|
1
aug. 25
|
1738 | |||
|
1
apr. 25
|
2391 | |||
|
0
okt. 24
|
1913 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Hello, did you find a solution for this