-
- Downloads
[FIX] hr_timesheet: allow specific user to preview invoice
How to reproduce the problem: - Go to Settings -> Users -> choose any user (example Laurie Poiret) - Note the ID of the res.user (example ID = 8) - Go to Contacts -> open the contact with that same ID. - Set that user as a company if not already one. - Go back to Settings -> Users - Open the related partner to the concerned user (visible in debug mode) - Set the parent company of that user as the contact modified before (contact with the ID = 8, in our example) - Log in with that user. - Go to Accounting -> Invoices -> open any invoice - Click on the preview button -> it will load forever. Cause of the problem : the system loops on a wrongly configured domain Solution : the system uses another domain for internal users. (fix inspired from https://github.com/odoo/odoo/commit/3378ca8252d3ac0e22a8aa1632ffc436864b26b7 ) opw-2543174 closes odoo/odoo#77683 Signed-off-by:LTU-Odoo <IT-Ideas@users.noreply.github.com>
Loading
Please register or sign in to comment