跳至內容
選單
此問題已被標幟
1 回覆
4091 瀏覽次數

When I create an Invoice (account.invoice) by code which doesn't showing outstanding payment . On the other hand while creating  thorough erp which shows the outstanding payment of  customer. How to solve it ? odoo version 11

頭像
捨棄
作者 最佳答案

This is happening because I didn't give  'type': 'out_invoice', in invoice create function

inv = inv_obj.create({'partner_id': self.customer.id,
'invoice_line_ids': line_ids,
'name': self.name,
'type': 'out_invoice',
})
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
1月 17
3548
0
3月 15
4472
1
6月 19
2777
0
3月 15
3984
1
3月 15
6655