Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by dreispt
- Loading branch information
Showing
19 changed files
with
829 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
==================================== | ||
Account Check Printing Report DLT103 | ||
==================================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |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/licence-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%2Faccount--payment-lightgray.png?logo=github | ||
:target: https://github.com/OCA/account-payment/tree/12.0/account_check_printing_report_dlt103 | ||
:alt: OCA/account-payment | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/account-payment-12-0/account-payment-12-0-account_check_printing_report_dlt103 | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/96/12.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows you to print DLT103 lined checks. | ||
|
||
See https://www.google.es/search?q=dlt103 | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Installation | ||
============ | ||
|
||
In order to install this module you must first install also the module | ||
'report_paper_wkhtmltopdf_params', available in | ||
https://github.com/OCA/server-tools | ||
|
||
Configuration | ||
============= | ||
|
||
Go to 'Settings / Users / Companies' and assign the check format 'DLT103'. | ||
|
||
Usage | ||
===== | ||
|
||
Go to 'Invoicing / Purchases / Payments'. Select one of the payments with | ||
type 'Check' and print the check. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-payment/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us smashing it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/account-payment/issues/new?body=module:%20account_check_printing_report_dlt103%0Aversion:%2012.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 | ||
~~~~~~~ | ||
|
||
* Eficent | ||
* Serpent Consulting Services Pvt. Ltd. | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Jordi Ballester Alomar <jordi.ballester@eficent.com> | ||
* Lois Rilo Antelo <lois.rilo@eficent.com> | ||
* Héctor Villarreal Ortega <hector.villarreal@eficent.com> | ||
|
||
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. | ||
|
||
This module is part of the `OCA/account-payment <https://github.com/OCA/account-payment/tree/12.0/account_check_printing_report_dlt103>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright 2018 Eficent Business and IT Consulting Services S.L. | ||
# (http://www.eficent.com) | ||
# © 2018 Serpent Consulting Services Pvt. Ltd. | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
'name': 'Account Check Printing Report DLT103', | ||
'version': '12.0.1.0.0', | ||
'license': 'AGPL-3', | ||
'author': "Eficent," | ||
"Serpent Consulting Services Pvt. Ltd.," | ||
"Odoo Community Association (OCA)", | ||
'category': 'Generic Modules/Accounting', | ||
'website': "https://github.com/OCA/account-payment", | ||
'depends': ['account_check_printing_report_base'], | ||
'data': [ | ||
'data/report_paperformat.xml', | ||
'data/report_paperformat_parameter.xml', | ||
'data/account_payment_check_report_data.xml', | ||
'views/report_check_dlt103.xml', | ||
'report/account_check_writing_report.xml', | ||
], | ||
'installable': True, | ||
} |
10 changes: 10 additions & 0 deletions
10
account_check_printing_report_dlt103/data/account_payment_check_report_data.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> | ||
<odoo> | ||
<record id="account_payment_check_report_dlt103" | ||
model="account.payment.check.report"> | ||
<field name="name">dlt103</field> | ||
<field name="report">account_check_printing_report_dlt103.report_check_dlt103</field> | ||
</record> | ||
</odoo> |
20 changes: 20 additions & 0 deletions
20
account_check_printing_report_dlt103/data/report_paperformat.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> | ||
<odoo> | ||
<record id="paperformat_check_dlt103" model="report.paperformat"> | ||
<field name="name">US Check Letter</field> | ||
<field name="default" eval="False" /> | ||
<field name="format">Letter</field> | ||
<field name="page_height">0</field> | ||
<field name="page_width">0</field> | ||
<field name="orientation">Portrait</field> | ||
<field name="margin_top">0</field> | ||
<field name="margin_bottom">0</field> | ||
<field name="margin_left">0</field> | ||
<field name="margin_right">0</field> | ||
<field name="header_line" eval="False" /> | ||
<field name="header_spacing">0</field> | ||
<field name="dpi">90</field> | ||
</record> | ||
</odoo> |
11 changes: 11 additions & 0 deletions
11
account_check_printing_report_dlt103/data/report_paperformat_parameter.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> | ||
<odoo> | ||
<record id="paperformat_dlt103_parameter_disable_smart_shrinking" | ||
model="report.paperformat.parameter"> | ||
<field name="paperformat_id" | ||
ref="account_check_printing_report_dlt103.paperformat_check_dlt103"/> | ||
<field name="name">--disable-smart-shrinking</field> | ||
</record> | ||
</odoo> |
70 changes: 70 additions & 0 deletions
70
account_check_printing_report_dlt103/i18n/account_check_printing_report_dlt103.pot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * account_check_printing_report_dlt103 | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 11.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"Last-Translator: <>\n" | ||
"Language-Team: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: \n" | ||
"Plural-Forms: \n" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.ui.view,arch_db:account_check_printing_report_dlt103.report_check_dlt103 | ||
msgid "<b>Check Amount: </b>" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.ui.view,arch_db:account_check_printing_report_dlt103.report_check_dlt103 | ||
msgid "Balance Due" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.ui.view,arch_db:account_check_printing_report_dlt103.report_check_dlt103 | ||
msgid "Description" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.model.fields,field_description:account_check_printing_report_dlt103.field_report_account_check_printing_report_dlt103_report_check_dlt103_display_name | ||
msgid "Display Name" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.ui.view,arch_db:account_check_printing_report_dlt103.report_check_dlt103 | ||
msgid "Due Date" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.model.fields,field_description:account_check_printing_report_dlt103.field_report_account_check_printing_report_dlt103_report_check_dlt103_id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.model.fields,field_description:account_check_printing_report_dlt103.field_report_account_check_printing_report_dlt103_report_check_dlt103___last_update | ||
msgid "Last Modified on" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.ui.view,arch_db:account_check_printing_report_dlt103.report_check_dlt103 | ||
msgid "Original Amount" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.ui.view,arch_db:account_check_printing_report_dlt103.report_check_dlt103 | ||
msgid "Payment" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.actions.report,name:account_check_printing_report_dlt103.action_report_check_dlt103 | ||
msgid "Payment Check DLT103" | ||
msgstr "" | ||
|
||
#. module: account_check_printing_report_dlt103 | ||
#: model:ir.model,name:account_check_printing_report_dlt103.model_report_account_check_printing_report_dlt103_report_check_dlt103 | ||
msgid "report.account_check_printing_report_dlt103.report_check_dlt103" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Go to 'Settings / Users / Companies' and assign the check format 'DLT103'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
* Jordi Ballester Alomar <jordi.ballester@eficent.com> | ||
* Lois Rilo Antelo <lois.rilo@eficent.com> | ||
* Héctor Villarreal Ortega <hector.villarreal@eficent.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This module allows you to print DLT103 lined checks. | ||
|
||
See https://www.google.es/search?q=dlt103 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
In order to install this module you must first install also the module | ||
'report_paper_wkhtmltopdf_params', available in | ||
https://github.com/OCA/server-tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Go to 'Invoicing / Purchases / Payments'. Select one of the payments with | ||
type 'Check' and print the check. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from . import check_print |
14 changes: 14 additions & 0 deletions
14
account_check_printing_report_dlt103/report/account_check_writing_report.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0"?> | ||
<!-- Copyright 2018 Eficent Business and IT Consulting Services S.L. | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) --> | ||
<odoo> | ||
<report | ||
id="action_report_check_dlt103" | ||
model="account.payment" | ||
string="Payment Check DLT103" | ||
report_type="qweb-pdf" | ||
name="account_check_printing_report_dlt103.report_check_dlt103" | ||
file="account_check_printing_report_dlt103.report_check_dlt103" | ||
paperformat="account_check_printing_report_dlt103.paperformat_check_dlt103"/> | ||
|
||
</odoo> |
15 changes: 15 additions & 0 deletions
15
account_check_printing_report_dlt103/report/check_print.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright 2018 Eficent Business and IT Consulting Services S.L. | ||
# (http://www.eficent.com) | ||
# © 2018 Serpent Consulting Services Pvt. Ltd. | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
from odoo import api, models | ||
|
||
|
||
class ReportCheckPrint(models.AbstractModel): | ||
_name = 'report.account_check_printing_report_dlt103.report_check_dlt103' | ||
_inherit = 'report.account_check_printing_report_base.report_check_base' | ||
|
||
@api.model | ||
def get_report_values(self, docids, data): | ||
return super(ReportCheckPrint, self).get_report_values(docids, data) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.