I created a simple custom module for expense adding. I want to add the amount to accounting module. How can i add expense amount as a journal entry? I'm new in openerp python. I dont know the code for it. please help me anyone.
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
2611
Vues
You have to deal with two objects:
- account.move
- account.move.line
You can have a look at action_move_line_create
method under <openERP Directory>/openerp/addons/account_voucher/account_voucher.py
Good Luck..%
Hi Anas,thanks for your response. I have a starting trouble. Please help. from where i start with the code.
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'inscrire