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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
2600
Vues
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"
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
3
sept. 25
|
2747 | ||
|
0
août 25
|
350 | ||
|
1
août 25
|
2413 | ||
|
2
juil. 25
|
8178 | ||
|
2
juil. 25
|
4614 |