Fix signature compatibility issues for create() and write()

On account.move.line, create() and write() have additional arguments so
we have to use the @cr_uid... decorators.