Commit Graph

24 Commits

Author SHA1 Message Date
OCA Transbot
95bb8e90be Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/
2021-11-14 11:47:54 +00:00
oca-travis
1680e91111 [UPD] Update base_report_to_printer.pot 2021-11-14 11:41:48 +00:00
OCA Transbot
88f05b3c93 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/
2021-11-09 15:24:45 +00:00
oca-travis
fec4fc4f02 [UPD] Update base_report_to_printer.pot 2021-11-09 14:44:39 +00:00
OCA Transbot
831eb76d02 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/
2021-08-31 10:39:30 +00:00
oca-travis
2c56844901 [UPD] Update base_report_to_printer.pot 2021-08-31 10:16:59 +00:00
Pedro Castro Silva
4227efd3d0 Translated using Weblate (Portuguese)
Currently translated at 100.0% (140 of 140 strings)

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/pt/
2021-03-15 18:45:55 +00:00
educasilva
19affac71c Translated using Weblate (Portuguese)
Currently translated at 100.0% (140 of 140 strings)

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/pt/
2021-03-15 16:20:28 +00:00
Marcel Savegnago
ac4fe7e654 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (140 of 140 strings)

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/pt_BR/
2021-03-14 22:45:54 +00:00
OCA Transbot
0e0b3f290e Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/
2020-12-15 15:41:59 +00:00
oca-travis
f79266e4e5 [UPD] Update base_report_to_printer.pot 2020-12-15 14:00:03 +00:00
OCA Transbot
ab879c3b45 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/
2020-08-16 11:45:09 +00:00
OCA Transbot
5320d7d3a0 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: report-print-send-12.0/report-print-send-12.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-12-0/report-print-send-12-0-base_report_to_printer/
2019-06-16 11:15:58 +00:00
oca-travis
720fece886 [UPD] Update base_report_to_printer.pot 2019-05-13 17:37:09 +00:00
Enric Tobella
725a0c18d3 Translated using Weblate (Spanish)
Currently translated at 99.3% (139 of 140 strings)

Translation: report-print-send-11.0/report-print-send-11.0-base_report_to_printer
Translate-URL: https://translation.odoo-community.org/projects/report-print-send-11-0/report-print-send-11-0-base_report_to_printer/es/
2019-05-12 20:52:38 +12:00
oca-travis
c71eb94763 [UPD] Update base_report_to_printer.pot 2019-05-12 20:52:38 +12:00
OCA Transbot
3ba1f854ab OCA Transbot updated translations from Transifex 2019-05-12 20:52:38 +12:00
OCA Transbot
67763c03d1 OCA Transbot updated translations from Transifex 2019-05-12 20:52:38 +12:00
OCA Transbot
8a9a16e92e OCA Transbot updated translations from Transifex 2019-05-12 20:52:38 +12:00
Sylvain GARANCHER
96f2ea85fc [MIG] base_report_to_printer: Migrate to v11.0 2019-05-12 20:52:38 +12:00
OCA Transbot
af9b613cad OCA Transbot updated translations from Transifex 2019-05-12 20:52:38 +12:00
Dave Lasley
b41ad5987c [MIG] base_report_to_printer: Upgrade to v9 2019-05-12 20:52:38 +12:00
Guewen Baconnier
e027233638 Do no longer returns a PDF when a report is printed
Instead, a notification is displayed to the user.
When report.get_pdf() is called on a report that must be printer,
it will print the report *and* returns the pdf, thus code that
calls directly report.get_pdf() will print the pdf on the printer
as expected.

Fixes #16
2019-05-12 20:52:38 +12:00
Guewen Baconnier
799f8974df base_calendar passed away
Migrate ir_report.py to new API

Migrate printing.py to new API

Migrate res_users.py to new API

Migrate report_xml_action.py to new API

Migrate wizard/update_printers.py to new API

Better view for wizard

Recursion when calling a method with old-style api signature from browse

Remove the Lock because it is useless on multiprocess

Replace it by a database lock so the different processes are
all aware of the lock and the last update timestamp.

browse is called often enough to call the update routine (even too much)

Implements the print on the new 'report' model

Restore the print capability on deprecated reports

Update copyrights

Improve form view, add search view for printers

Update translations, add a string to URI so it is uppercased

missing api decorator

We need the report in print_document and print options (needed in
printer_tray)

Move the 'skip_update' right in the browse, it prevents a loop

See https://github.com/odoo/odoo/issues/3644

Also, it helps to have the value set/read in context close to each
other.

Avoid to hits the database too many times to check if the list of
printers needs to be refreshed.

Keep the last update datetime in cache and invalidate this datetime if is
is older than POLL_INTERVAL.  Thus, one process won't hit the DB more
than 1 time every POLL_INTERVAL (10 seconds currently) to check if it
needs to update the list.

Refresh the list of printers every 15 seconds instead of 10

Extract a method so it will be easier to override in printer_tray

Error on installation of the module

Invalidate the cache when the table is created so the table_exists()
method returns a fresh value after creation of the table

Use a cron instead of threads to update printers status

The implementation with threads was blocking the loading of the
server in multiprocess.  Using a cron will lower the frequency of
the updates but at least it is simple and reliable.

Fixes #14

Do not write the printer status if it has not changed

Avoid unnecessary UPDATE every minute

Clean the XML file (remove eval, reindent)

Give access to models to all users for reading

So they are able to print
2019-05-12 20:52:38 +12:00