更新时间:2022-06-15 22:25:58
请尝试以下数据结构并传递给创建方法 account.payment 模型.
Please try the following data structure and pass to create method account.payment model.
{ invoice_ids: [ [ 4, "Invoice Id", 'None' ] ],
default_invoice_ids: [ [ 4, "Invoice Id", 'None' ] ],
amount: 'Amount',
payment_date: '2019-05-21 02:55:52',
payment_type: 'inbound',
has_invoices: true,
currency_id: 1,
journal_id: 6,
payment_method_id: 1,
partner_id: 226,
partner_type: 'customer',
communication: 'INV/2019/0141/44',
name: 'INV/2019/0141/44' }