Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2 Besvarelser
4867 Visninger

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?

Avatar
Kassér
Forfatter Bedste svar

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.

Avatar
Kassér
Bedste svar

What extra input are that Demming?

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
nov. 24
1414
1
maj 24
4108
4
feb. 24
5256
1
apr. 23
2747
7
feb. 23
9371