odoo to account move

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()


posted @ 2023-09-16 13:19  CrossPython  阅读(15)  评论(0编辑  收藏  举报