Skip to content

[16.0][FIX] base_report_to_printer: neutralization scripts#435

Open
Vicent-C6 wants to merge 1 commit into
OCA:16.0from
Studio73:16.0-fix-base_report_to_printer-neutralization
Open

[16.0][FIX] base_report_to_printer: neutralization scripts#435
Vicent-C6 wants to merge 1 commit into
OCA:16.0from
Studio73:16.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 force-pushed the 16.0-fix-base_report_to_printer-neutralization branch from 0de22c0 to ed230d8 Compare March 5, 2026 10:26
@pedrobaeza pedrobaeza added this to the 16.0 milestone Mar 16, 2026
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