Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
Social Network (mail)
|
Community Apps Dependencies | Show |
Technical Name |
account_auto_fy_sequence_run_scheduler_fix |
License | AGPL-3 |
Website | https://www.trey.es |
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