Odoo Help


How to stop making journal entry for stock movement by openerp irrespective of product inventory valuation value?

on 9/19/14, 8:35 AM 1,045 views

In openerp  journal entry generation for stock movements decided by the product field "Inventory valuation". It has tow values 1. periodical (manual) 2. Realtime (Automated). If we select 2nd option, there is a journal entry generated when stock movement is there with this product. I am developing a module, that don't require jornal entry eventhough eventhough the product inventory valuation value is "Realtime (Automated)" . I am using below three functions to move the stock.


inventry_line_obj = self.pool.get('stock.inventory.line')

inventry_line_obj.create(cr , uid, line_data, context=context)

inventry_obj.action_confirm(cr, uid, [inventory_id], context=context)
inventry_obj.action_done(cr, uid, [inventory_id], context=context)


Please suggest function that make moves and not generate the journal entries. OR Give me a peace of code. That generate stock moves without generating journal entry irrespective of the product inventory valuation value.

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

1 follower(s)


Asked: 9/19/14, 8:35 AM
Seen: 1045 times
Last updated: 3/16/15, 8:10 AM