hr_timesheet_invoice: Permit modification of invoiced timesheet lines

The existing code wouldn't even permit to remove the invoice association
in case the invoice is cancelled...
This commit is contained in:
Harald Welte 2020-12-10 17:37:33 +01:00
parent 36ecb63f2c
commit 59041f1780
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class account_analytic_line(osv.osv):
}
def write(self, cr, uid, ids, vals, context=None):
self._check_inv(cr, uid, ids, vals)
#self._check_inv(cr, uid, ids, vals)
return super(account_analytic_line,self).write(cr, uid, ids, vals,
context=context)