Odoo Help

0

How to change the structure of GL entries generated by Sales Invoice?

By
Petre Chitashvili
on 5/10/13, 5:06 AM 1,246 views

Greetings,

I would like to change the default structure for GL entries that get generated by Sales Invoices. Currently, Sales Invoice posts the following entries into the GL: Dr(AccountA) Eur 100, Dr(AccountB) Eur 200, Cr(AccountC) Eur 300

whereas I would like to change it to Dr(AccountA1) Eur 50, Dr(AccountA2) Eur 50, Dr(AccountB) Eur 200, Cr(AccountC) Eur 300

Please suggest how this type of change can be made.

Thanks. Petre

1
filsystem
On 5/10/13, 5:24 AM

You can override 'finalize_invoice_move_lines(cr, uid, invoice, move_lines)' that is a hook method to be overridden in additional modules to verify and possibly alter the move lines to be created by an invoice, for special cases.

You can find this function in account module.

Thanks,

Thanks filsys for your answer.

DIGY LLC, Petre Chitashvili
on 5/10/13, 6:24 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: 5/10/13, 5:06 AM
Seen: 1246 times
Last updated: 3/16/15, 8:10 AM