Odoo Help

0

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

By
rosey
on 9/19/13, 6:12 AM 887 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.

3

Anas Taji

--Anas Taji--
2203
| 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.

rosey
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.

Register

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)

Stats

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