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 25, 2023
1 parent 88f3654 commit a778eef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
_commit: v1.14.2
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
Expand All @@ -19,6 +18,4 @@ repo_description: 'TODO: add repo description.'
repo_name: report-print-send
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 a778eef

Please sign in to comment.