摘要:
all model: stock_valuation_layers._check_company()self._check_company() stock.valuation.layer => account.move stock_valuation_layers._validate_account 阅读全文
摘要:
def action_validate(self): self.ensure_one() if float_is_zero(self.scrap_qty, precision_rounding=self.product_uom_id.rounding): raise UserError(_('You 阅读全文