mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[ADD] date_entry fields on line model to be used by report or in next MP on filter group by
This commit is contained in:
@@ -48,6 +48,10 @@ class CreditControlLine(orm.Model):
|
||||
readonly=True,
|
||||
states={'draft': [('readonly', False)]}),
|
||||
|
||||
'date_entry': fields.related('move_line_id', 'date', type='date',
|
||||
string='Entry date',
|
||||
store=True, readonly=True),
|
||||
|
||||
'date_sent': fields.date('Sent date',
|
||||
readonly=True,
|
||||
states={'draft': [('readonly', False)]}),
|
||||
|
||||
Reference in New Issue
Block a user