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

I am using a controller to listen for jsonrpc calls to my odoo server. The call with the right parameters creates a sale.order, accordingly sale.order.line objects, confirms the sale.order and calls so._create_invoices() to get an account.move object. 

Now I want this account.move to be paid. How can I achieve this? I unfortunately do not quite understand how the models account.move, account.move.line, account.payment, account.partial.reconcile and others are connected to each other in a way, that I can manipulate them?

アバター
破棄
著作者 最善の回答

I am now constructing a account.payment object from default values with some extra input.

Then I simply call .post() on the account.payment object and the rest is odoo magic.

アバター
破棄
最善の回答

What extra input are that Demming?

アバター
破棄
関連投稿 返信 ビュー 活動
1
11月 24
1381
1
5月 24
4076
4
2月 24
5106
1
4月 23
2724
7
2月 23
9302