Odoo Help


Created additional expense module, i want to add the expense in accounting module. How can i add this as a journal entry?

on 9/19/13, 6:12 AM 1,057 views

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.


Anas Taji

--Anas Taji--
| 6 7 8
Amman, Jordan
--Anas Taji--

Skype: anas.taji-sw

Email: anas.taji@smartway-jo.com

Anas Taji
On 9/19/13, 6:23 AM

You have to deal with two objects:

  1. account.move
  2. 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.

on 9/19/13, 6:36 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 9/19/13, 6:12 AM
Seen: 1057 times
Last updated: 3/16/15, 8:10 AM