cleanup
deals with readonly many2one and many2many; also fixes bug when editing after post without reload