Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
1782 Weergaven

Hello Everyone:

I am writing a server action for Invoice Generation from stock.picking model (from Delivery Orders) to account.invoice.Anyone can help me plz how to code this?

Thank u.

Avatar
Annuleer
Beste antwoord

Hi muhammad,

you can create invoice from delivery order by creating a function. Inside that function you need pass values and invoice_line values. you can refer action_invoice_create and prepare_invoice function inside sale.py in odoo addons, you can use this method to create invoice.

Avatar
Annuleer