问题内容: I have this method: @api.multi @api.depends('order_picking', 'order_picking.isbn', 'contract_worksheet', 'state') def accounting_scenarios(self): for record in self: if not len(record.transporter): raise Warning('Please Enter Transporter !') el […]