Account auto fy sequence run scheduler fix

by
Odoo
v 8.0 Third Party 10
Download for v 8.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Social Network (mail)
Community Apps Dependencies
Technical Name account_auto_fy_sequence_run_scheduler_fix
LicenseAGPL-3
Websitehttps://www.trey.es
You bought this module and need support? Click here!

When the module 'account_auto_fy_sequence' is installed when executing the cron 'Run mrp scheduler' it this error ocurrs:

'The system tried to access to fiscal year sequence without specifying the current fiscal year.'

because in the context you do not pass the key 'fiscalyear_id'. This error occurs in the background and is not displayed in the log or to the user but is detected because the stock warehouse orderpoint orders are not executed.

This happens because in the call to the 'run_scheduler' function of the cron 'Run mrp scheduler' that key is not passed in the context.

This module fills that key and assigns the corresponding company to work correctly.

It also filters the sequences so that only those of the user's company are taken into account.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.