Odoo Help


This community 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.


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

on 9/19/14, 8:35 AM 735 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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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