D:\odoo\odoo16\addons\stock_account\models\stock_valuation_layer.py _validate_accounting_entries if am_vals: print(am_vals) print('-------------------------------------') for each in am_vals: each['move_type'] = 'in_goods' print(am_vals) account_moves = self.env['account.move'].sudo().create(am_vals)
标签:account,move,am,print,odoo,vals,post From: https://www.cnblogs.com/pythonClub/p/17590761.html