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
- Financeiro
- Inventário
- PoS
- Project
- MRP
Esta pergunta foi sinalizada
1
Responder
2604
Visualizações
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"
Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-sePublicações relacionadas | Respostas | Visualizações | Atividade | |
---|---|---|---|---|
|
3
set. 25
|
2760 | ||
|
0
ago. 25
|
365 | ||
|
1
ago. 25
|
2424 | ||
|
2
jul. 25
|
8186 | ||
|
2
jul. 25
|
4620 |