コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4105 ビュー

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
3559
0
3月 15
4481
1
6月 19
2784
0
3月 15
3996
1
3月 15
6671