Skip to content

Commit

Permalink
[ADD] base_report_to_printer: Add neutralization queries
Browse files Browse the repository at this point in the history
Since 16.0 of codebase there is a new function "Neutralization" that runs all neutralization queries that basically deactivate ir_cron, ir_mail_server and other production stuff. With this PR i ADD neutralization queries  that deactivates printing server and printer during neutralization .
  • Loading branch information
micheledic committed Jul 26, 2023
1 parent 88f3654 commit d3a474f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ repo_slug: report-print-send
repo_website: https://github.com/OCA/report-print-send
travis_apt_packages: []
travis_apt_sources: []

3 changes: 3 additions & 0 deletions base_report_to_printer/data/neutralize.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# pylint: disable=file-not-used
update printing_printer set active=false;
update printing_server set active=false;

0 comments on commit d3a474f

Please sign in to comment.