[BACKPORT] Add checking for novalidate in account_move_line write method