Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
69bd9df
[ADD] printing_auto_base
jbaudoux Jun 21, 2023
7396ff8
[IMP] printing_auto_base: log or raise
mt-software-de Jul 14, 2023
3b6d2e5
[FIX] printing_auto_base: don't print twice
TDu Sep 15, 2023
1661d25
[FIX] printing_auto_base: collect all attachments
jbaudoux Sep 19, 2023
9192459
[FIX] printing_auto_base: bound to model
jbaudoux Dec 6, 2024
072e2fe
[FIX] printing_auto_base: use odoo_test_helper
jbaudoux Dec 6, 2024
9a726b7
[FIX] printing_auto_base: use proper Error
jbaudoux Dec 6, 2024
6767c0a
[UPD] Update printing_auto_base.pot
Dec 17, 2024
0c3da07
[BOT] post-merge updates
OCA-git-bot Dec 17, 2024
85923e1
Added translation using Weblate (Italian)
mymage Dec 28, 2024
c783198
[IMP] printing_auto_base: pre-commit auto fixes
florentx Jul 9, 2025
7bb5b7a
[MIG] printing_auto_base: Migration to 18.0
florentx Jul 9, 2025
05b9f32
[UPD] Update printing_auto_base.pot
Jul 15, 2025
3b936cd
Translated using Weblate (Italian)
mymage Jul 23, 2025
0477db4
[FIX] printing_auto_base: error should be readonly and not copied
ivantodorovich Jul 23, 2025
ed37a02
[BOT] post-merge updates
OCA-git-bot Jul 25, 2025
a6ad1d0
[IMP] printing_auto_base: use MagicMock for print_document test
florentx Aug 21, 2025
68d461c
[BOT] post-merge updates
OCA-git-bot Aug 25, 2025
d4bd530
printing_auto_base: Add sequence field to printing auto
grindtildeath Sep 26, 2025
55013b5
[UPD] Update printing_auto_base.pot
Sep 29, 2025
893ad9c
[BOT] post-merge updates
OCA-git-bot Sep 29, 2025
bc12a62
Update translation files
weblate Sep 29, 2025
71c380e
Translated using Weblate (Italian)
mymage Oct 2, 2025
c345500
[MIG] printing_auto_base: migration to V19
JordiMForgeFlow Dec 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 96 additions & 0 deletions printing_auto_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==================
Printing Auto Base
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:01c1d324f32a529bb0df28fc4d0b2336f2766ed314386725fdd3bd1a7e41b1ea
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Freport--print--send-lightgray.png?logo=github
:target: https://github.com/OCA/report-print-send/tree/19.0/printing_auto_base
:alt: OCA/report-print-send
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/report-print-send-19-0/report-print-send-19-0-printing_auto_base
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/report-print-send&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

Base module to support automatic printing of a report or attachments.

Check other repo like stock-logistics-reporting module
printingauto_stock_picking for printing documents related to a stock
transfer.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/report-print-send/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/report-print-send/issues/new?body=module:%20printing_auto_base%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* BCIM
* MT Software

Contributors
------------

- Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
- Michael Tietz (MT Software) <mtietz@mt-software.de>
- Camptocamp
- Christopher Hansen <christopher.hansen@raumschmiede.de>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-jbaudoux| image:: https://github.com/jbaudoux.png?size=40px
:target: https://github.com/jbaudoux
:alt: jbaudoux

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-jbaudoux|

This module is part of the `OCA/report-print-send <https://github.com/OCA/report-print-send/tree/19.0/printing_auto_base>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions printing_auto_base/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions printing_auto_base/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2022 Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Printing Auto Base",
"author": "BCIM, MT Software, Odoo Community Association (OCA)",
"maintainers": ["jbaudoux"],
"category": "Warehouse Management",
"data": [
"security/ir.model.access.csv",
"views/printing_auto.xml",
],
"depends": [
"base_report_to_printer_cups",
],
"license": "AGPL-3",
"version": "19.0.1.0.0",
"website": "https://github.com/OCA/report-print-send",
}
211 changes: 211 additions & 0 deletions printing_auto_base/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * printing_auto_base
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-10-02 21:43+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.10.4\n"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__action_on_error
msgid "Action on error"
msgstr "Azione o errore"

#. module: printing_auto_base
#: model:ir.model.fields.selection,name:printing_auto_base.selection__printing_auto__data_source__attachment
msgid "Attachment"
msgstr "Allegato"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__attachment_domain
msgid "Attachment domain"
msgstr "Dominio allegato"

#. module: printing_auto_base
#. odoo-python
#: code:addons/printing_auto_base/models/printing_auto.py:0
msgid "Attachment domain is not set"
msgstr "Il dominio allegato non è definito"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto_mixin__auto_printing_ids
msgid "Auto Printing Configuration"
msgstr "Configurazione stampa automatica"

#. module: printing_auto_base
#: model:ir.model.fields,help:printing_auto_base.field_printing_auto__data_source
msgid ""
"Choose to print the result of an odoo report or a pre-existing attachment "
"(useful for labels received from carriers that are recorded on the picking "
"as an attachment)"
msgstr ""
"Scegliere se stampare il risultato di un resoconto Odoo o di un allegato "
"preesistente (utile per le etichette ricevute dai corrieri che vengono "
"registrate nel prelievo come allegato)"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__condition
msgid "Condition"
msgstr "Condizione"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__create_uid
msgid "Created by"
msgstr "Creato da"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__create_date
msgid "Created on"
msgstr "Creato il"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__data_source
msgid "Data source"
msgstr "Origine dati"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: printing_auto_base
#: model:ir.model.fields,help:printing_auto_base.field_printing_auto__condition
msgid "Give a domain that must be valid for printing this"
msgstr "Fornire un dominio che deve essere valido per stampare questo"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__id
msgid "ID"
msgstr "ID"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__write_uid
msgid "Last Updated by"
msgstr "Ultimo aggiornamento di"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__write_date
msgid "Last Updated on"
msgstr "Ultimo aggiornamento il"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__name
msgid "Name"
msgstr "Nome"

#. module: printing_auto_base
#. odoo-python
#: code:addons/printing_auto_base/models/printing_auto.py:0
msgid "No attachment was found."
msgstr "Nessun allegato trovato."

#. module: printing_auto_base
#. odoo-python
#: code:addons/printing_auto_base/models/printing_auto.py:0
msgid "No printer configured to print this {}."
msgstr "Nessuna stampante configurata per stampare questo {}."

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__nbr_of_copies
msgid "Number of Copies"
msgstr "Numero di copie"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__printer_id
msgid "Printer"
msgstr "Stampante"

#. module: printing_auto_base
#: model:ir.model,name:printing_auto_base.model_printing_auto
msgid "Printing Auto"
msgstr "Stampa automatica"

#. module: printing_auto_base
#: model:ir.model,name:printing_auto_base.model_printing_auto_mixin
msgid "Printing Auto Mixin"
msgstr "Mixin stampante automatica"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto_mixin__printing_auto_error
msgid "Printing error"
msgstr "Errore di stampa"

#. module: printing_auto_base
#: model:ir.model.fields.selection,name:printing_auto_base.selection__printing_auto__action_on_error__raise
msgid "Raise an Exception"
msgstr "Genera un'eccezione"

#. module: printing_auto_base
#: model:ir.model.fields.selection,name:printing_auto_base.selection__printing_auto__action_on_error__log
msgid "Record an error"
msgstr "Registra un errore"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__record_change
msgid "Record change"
msgstr "Modifica record"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__model
msgid "Related Document Model"
msgstr "Modello documento correlato"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__report_id
#: model:ir.model.fields.selection,name:printing_auto_base.selection__printing_auto__data_source__report
msgid "Report"
msgstr "Resoconto"

#. module: printing_auto_base
#. odoo-python
#: code:addons/printing_auto_base/models/printing_auto.py:0
msgid "Report is not set"
msgstr "Il resoconto on è impostato"

#. module: printing_auto_base
#: model:ir.model.fields,help:printing_auto_base.field_printing_auto__record_change
msgid ""
"Select on which document the report must be executed. Use a path using a "
"dotted notation starting from any record field. For example, if your record "
"is a stock.picking, you can access the next picking with 'move_lines."
"move_dest_ids.picking_id'"
msgstr ""
"Selezionare il documento su cui deve essere eseguito il resoconto. Utilizza "
"un percorso con notazione puntata a partire da qualsiasi campo del record. "
"Ad esempio, se il record è \"stock.picking\", si può accedere al prelievo "
"successivo con \"move_lines.move_dest_ids.picking_id\""

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__sequence
msgid "Sequence"
msgstr "Sequenza"

#. module: printing_auto_base
#. odoo-python
#: code:addons/printing_auto_base/models/printing_auto.py:0
msgid "The Record change could not be applied because: %s"
msgstr "La modifica del record non si può applicare perché: %s"

#. module: printing_auto_base
#: model:ir.model.fields,field_description:printing_auto_base.field_printing_auto__printer_tray_id
msgid "Tray"
msgstr "Vassoio"

#. module: printing_auto_base
#. odoo-python
#: code:addons/printing_auto_base/models/printing_auto_mixin.py:0
msgid "{name}: {count} document(s) sent to printer {printer}"
msgstr "{name}: {count} document(s) invia alla stampante {printer}"

#~ msgid "Last Modified on"
#~ msgstr "Ultima modifica il"
Loading