mirror of
https://github.com/OCA/report-print-send.git
synced 2025-02-16 07:11:31 +02:00
[IMP] base_report_to_printer: Avoid writing on printing printers/jobs if no change
The cron (by default) every minute, updates the printing.printer and printing.job records from the cups server. The field values rarely change, so we can prevent many updates in database. Also, writing on `printing_printer.server_id` triggers another update on the printing.job records as the model has a stored related field.
This commit is contained in:
committed by
John Herholz
parent
10ed2b6d3f
commit
002c8421cd
@@ -7,7 +7,7 @@
|
||||
|
||||
{
|
||||
"name": "Report to printer",
|
||||
"version": "14.0.1.0.0",
|
||||
"version": "14.0.1.0.1",
|
||||
"category": "Generic Modules/Base",
|
||||
"author": "Agile Business Group & Domsense, Pegueroles SCP, NaN,"
|
||||
" LasLabs, Camptocamp, Odoo Community Association (OCA),"
|
||||
|
||||
Reference in New Issue
Block a user