This question has been flagged

How do i stop the system "Odoo 10" from posting the journal entries automatically when validating the invoice.

I can't find the option "Autopost Created Moves". What is the alternative for it in odoo 10

Avatar
Discard
Author Best Answer

Hi, @subbarao

I am not trying to stop the creation of the journal entry, i am trying to stop autoposting them. i want them to be created with the status Unposted. this could be done in odoo 10 by unchecking the checkbox "Autopost Created Moves"

Avatar
Discard
Author Best Answer

Hi, @subbarao

I am not trying to stop the creation of the journal entry, i am trying to stop autoposting them. i want them to be created with the status Unposted. this could be done in odoo 10 by unchecking the checkbox "Autopost Created Moves"

Avatar
Discard

okay then you can get the code from action_move_create function ending,

move.post() just comment it

Author

Thank you, Subbarao. that will do it, i believe

Best Answer

Hello

Don't stop creation of journal entries automatically when validating the invoice. It may disturb the work flow.

To stock move creation from invoice check the action_move_create  function.

Avatar
Discard
Best Answer

Hello

Don't stop creation of journal entries automatically when validating the invoice. It may disturb the work flow.

To stock move creation from invoice check the action_move_create  function.

Avatar
Discard