摘要: all model: stock_valuation_layers._check_company()self._check_company() stock.valuation.layer => account.move stock_valuation_layers._validate_account 阅读全文
posted @ 2023-09-16 13:19 CrossPython 阅读(14) 评论(0) 推荐(0) 编辑
摘要: def action_validate(self): self.ensure_one() if float_is_zero(self.scrap_qty, precision_rounding=self.product_uom_id.rounding): raise UserError(_('You 阅读全文
posted @ 2023-09-16 11:47 CrossPython 阅读(11) 评论(0) 推荐(0) 编辑