Is there a method in odoo Online to create an invoice from an action?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
1
Reply
3877
Views
Hello,
I don't really know the purpose but if you want to create an empty customer invoice.
In python you can do a method like:
def create_empty_invoice(self):
self.env['account.move'].create({'move_type': 'out_invoice'})
Then you can add a button in form view for example calling the method
Hope it will help you
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Mar 23
|
1061 | ||
|
1
Nov 22
|
2442 | ||
Create invoice via xmlrpc
Solved
|
|
1
Nov 22
|
1894 | |
|
1
Sep 20
|
2287 | ||
|
1
Jul 20
|
3576 |