all model:
stock_valuation_layers._check_company()
self._check_company()
stock.valuation.layer => account.move
stock_valuation_layers._validate_accounting_entries()
account.move => post
account_moves = self.env['account.move'].sudo().create(am_vals)
account_moves._post()
标签:account,move,odoo,._,moves,valuation,stock From: https://www.cnblogs.com/pythonClub/p/17706623.html