Skip to content

Conversation

@Vicent-S73
Copy link

@Vicent-S73 Vicent-S73 commented Dec 18, 2025

Even with odoo neutralize script executed reports where still being sent to printers.

On one side the search for users behaviours finds them even though the printers where deactivated, thus the need to a add an active field to this model and set it to false in the script.

On the other side the general printer configured in a report needs to be cleaned or it will otherwise be found and used for printing.

The second commits is for:
- The tests are designed to check the API response, but the problem is that two requests are made within a short time interval. A mock would be appropriate if what was being checked was not the response from api.labelary.

image

@Vicent-S73 Vicent-S73 changed the title [18.0][FIX] base_report_to_printer: neutralization scripts [17.0][FIX] base_report_to_printer: neutralization scripts Dec 18, 2025
@Vicent-S73 Vicent-S73 force-pushed the 17.0-fix-base_report_to_printer-neutralization branch from 5b3d0f4 to 07972c0 Compare December 18, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants