I want to modify some data in my invoice based on the fiscal_position_id field, but I don't know how to trigger an event when a new invoice is created from a quote. How can I do it?
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
1848
Views
Hi Rafael:
Activate developer mode, go to Settings > Technical > Automation > Automated Actions and create an automated action that is triggered on the "On Creation" of an Invoice record.
Make sure you select the following in the automated action:
Model: Journal Entry
Trigger: On Creation
Apply on: Type = "out_invoice"
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
Nov 24
|
1480 | ||
|
1
Nov 24
|
1185 | ||
|
2
Sep 24
|
1046 | ||
Update stock quantity
Solved
|
|
1
Aug 24
|
2450 | |
|
3
Aug 24
|
2681 |