8.0 account default draft move

Port account default draft move and account constraint to 8.0
Better to use self.env.context, as this is the official way. The other variable may dissapear or change its meaning as it is a private one.