Skip to content

Commit

Permalink
[MIG] base_report_to_printer: Migrate to v11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain GARANCHER authored and glitchov committed Dec 7, 2022
1 parent 713218f commit 44f6d9d
Show file tree
Hide file tree
Showing 23 changed files with 182 additions and 481 deletions.
12 changes: 6 additions & 6 deletions base_report_to_printer/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,23 @@

{
'name': "Report to printer",
'version': '10.0.1.0.1',
'version': '11.0.1.0.1',
'category': 'Generic Modules/Base',
'author': "Agile Business Group & Domsense, Pegueroles SCP, NaN,"
" LasLabs, Odoo Community Association (OCA)",
'website': 'http://www.agilebg.com',
'license': 'AGPL-3',
"depends": ['report'],
"depends": ['web'],
'data': [
'data/printing_data.xml',
'security/security.xml',
'views/assets.xml',
'views/printing_printer_view.xml',
'views/printing_printer.xml',
'views/printing_server.xml',
'views/printing_job.xml',
'views/printing_report_view.xml',
'views/res_users_view.xml',
'views/ir_actions_report_xml_view.xml',
'views/printing_report.xml',
'views/res_users.xml',
'views/ir_actions_report.xml',
'wizards/printing_printer_update_wizard_view.xml',
],
'installable': True,
Expand Down
4 changes: 2 additions & 2 deletions base_report_to_printer/data/printing_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- properties -->
<record forcecreate="True" id="property_printing_action_id" model="ir.property">
<field name="name">property_printing_action_id</field>
<field name="fields_id" search="[('model', '=', 'ir.actions.report.xml'), ('name', '=', 'property_printing_action_id')]"/>
<field name="fields_id" search="[('model', '=', 'ir.actions.report'), ('name', '=', 'property_printing_action_id')]"/>
<field name="value" eval="'printing.action,' + str(printing_action_2)"/>
</record>

Expand All @@ -25,7 +25,7 @@
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field eval="False" name="doall"/>
<field eval="'printing.server'" name="model"/>
<field name="model_id" ref="base_report_to_printer.model_printing_server"/>
<field eval="'action_update_jobs'" name="function"/>
<field eval="'()'" name="args"/>
</record>
Expand Down
302 changes: 0 additions & 302 deletions base_report_to_printer/i18n/base_report_to_printer.pot

This file was deleted.

3 changes: 1 addition & 2 deletions base_report_to_printer/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# -*- coding: utf-8 -*-

from . import ir_actions_report_xml
from . import ir_actions_report
from . import printing_action
from . import printing_job
from . import printing_printer
from . import printing_server
from . import printing_report_xml_action
from . import report
from . import res_users
Loading

0 comments on commit 44f6d9d

Please sign in to comment.