Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4881 Переглядів

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?

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лист. 24
1420
1
трав. 24
4111
4
лют. 24
5275
1
квіт. 23
2750
7
лют. 23
9372