Skip to content

[17.0][FIX] base_report_to_printer: neutralization scripts#434

Open
Vicent-C6 wants to merge 2 commits into
OCA:17.0from
Studio73:17.0-fix-base_report_to_printer-neutralization
Open

[17.0][FIX] base_report_to_printer: neutralization scripts#434
Vicent-C6 wants to merge 2 commits into
OCA:17.0from
Studio73:17.0-fix-base_report_to_printer-neutralization

Conversation

@Vicent-C6
Copy link
Copy Markdown

@Vicent-C6 Vicent-C6 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-C6 Vicent-C6 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-C6 Vicent-C6 force-pushed the 17.0-fix-base_report_to_printer-neutralization branch from 5b3d0f4 to 07972c0 Compare December 18, 2025 14:49
@Reyes4711-S73 Reyes4711-S73 force-pushed the 17.0-fix-base_report_to_printer-neutralization branch from 5ba0d77 to 44df254 Compare March 18, 2026 08:35
Copy link
Copy Markdown

@Reyes4711-S73 Reyes4711-S73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Vicent-C6 Vicent-C6 force-pushed the 17.0-fix-base_report_to_printer-neutralization branch from 44df254 to ff4e735 Compare March 18, 2026 08:35
@Reyes4711-S73 Reyes4711-S73 force-pushed the 17.0-fix-base_report_to_printer-neutralization branch 2 times, most recently from 44df254 to 4430d26 Compare March 18, 2026 08:44
@Reyes4711-S73 Reyes4711-S73 force-pushed the 17.0-fix-base_report_to_printer-neutralization branch from 4430d26 to f69ea39 Compare March 18, 2026 08:45
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.

3 participants