8.0 account default draft move

Port account default draft move and account constraint to 8.0
Can be replaced by `@api.constrains('line_id')` on the method. `'line_id'` seems wrong to me though, shouldn't it be `'journal_id', 'period_id', 'date'`?