Skip to content

Commit

Permalink
Merge 3d75db8 into 883839a
Browse files Browse the repository at this point in the history
  • Loading branch information
Abraham Anes committed Jun 13, 2019
2 parents 883839a + 3d75db8 commit 518a826
Show file tree
Hide file tree
Showing 31 changed files with 1,583 additions and 0 deletions.
109 changes: 109 additions & 0 deletions account_check_printing_report_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
==================================
Account Check Printing Report Base
==================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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_base
: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_base
: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 provides the basic framework for check printing, and a sample
layout.

**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 desired check format.
This module proposes a basic layout, but other modules such as
"account_check_printing_report_dlt103" provide formats adjusted to known
check formats such as DLT103.

Usage
=====

* Go to 'Invoicing / Purchases / Payments'. Select one of the payments with
type 'Check' and print the check.
* For automatic check printing when validating payment, mark the field in
the journal associated.

Known issues / Roadmap
======================

* When print check automatically in the payment validation process, the wizard
remains opened.

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_base%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.
* Ursa Information Systems

Contributors
~~~~~~~~~~~~

* Jordi Ballester Alomar <jordi.ballester@eficent.com>
* Lois Rilo Antelo <lois.rilo@eficent.com>
* Sandip Mangukiya <smangukiya@ursainfosystems.com>
* Luis M. Ontalba <luis.martinez@tecnativa.com>
* Manuel Marquez <mmarquez@iterativo.do>

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_base>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
7 changes: 7 additions & 0 deletions account_check_printing_report_base/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
from . import report
31 changes: 31 additions & 0 deletions account_check_printing_report_base/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2016 Eficent Business and IT Consulting Services S.L.
# (http://www.eficent.com)
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
# Copyright 2017 Tecnativa.
# Copyright 2018 iterativo.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Account Check Printing Report Base",
"version": "12.0.1.0.0",
"license": "AGPL-3",
"author": "Eficent,"
"Serpent Consulting Services Pvt. Ltd.,"
"Ursa Information Systems,"
"Odoo Community Association (OCA)",
"category": "Generic Modules/Accounting",
"website": "https://github.com/OCA/account-payment",
"depends": ["account_check_printing",
"report_wkhtmltopdf_param"],
"data": [
"security/ir.model.access.csv",
"data/report_paperformat.xml",
"data/account_payment_check_report_data.xml",
"views/account_journal_view.xml",
"views/report_check_base.xml",
"views/res_company_view.xml",
"views/account_payment_check_report_view.xml",
"report/account_check_writing_report.xml",
],
"installable": True,
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="account_payment_check_report_base"
model="account.payment.check.report">
<field name="name">Base</field>
<field name="report">account_check_printing_report_base.report_check_base</field>
</record>
</odoo>
18 changes: 18 additions & 0 deletions account_check_printing_report_base/data/report_paperformat.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="paperformat_check" model="report.paperformat">
<field name="name">US Bank Check</field>
<field name="default" eval="True"/>
<field name="format">custom</field>
<field name="page_height">297</field>
<field name="page_width">210</field>
<field name="orientation">Portrait</field>
<field name="margin_top">3</field>
<field name="margin_bottom">3</field>
<field name="margin_left">3</field>
<field name="margin_right">3</field>
<field name="header_line" eval="False"/>
<field name="header_spacing">3</field>
<field name="dpi">80</field>
</record>
</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="paperformat_base_parameter_disable_smart_shrinking"
model="report.paperformat.parameter">
<field name="paperformat_id"
ref="account_check_printing_report_base.paperformat_check"/>
<field name="name">--disable-smart-shrinking</field>
</record>
</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_check_printing_report_base
#
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_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base_journal
msgid "<b>Check Amount:</b>"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_journal_check_print_auto
msgid "Automatic check printing"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base_journal
msgid "Balance Due"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.account_payment_check_report_form
#: model:ir.ui.view,arch_db:account_check_printing_report_base.account_payment_check_report_tree
msgid "Check Layout"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.actions.act_window,name:account_check_printing_report_base.action_account_payment_check_report
#: model:ir.ui.menu,name:account_check_printing_report_base.account_payment_check_report_menu
msgid "Check Layouts"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_journal_check_layout_id
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_res_company_check_layout_id
msgid "Check format"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.res_company_form_view_inherited
msgid "Check printing layout"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model,name:account_check_printing_report_base.model_res_company
msgid "Companies"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report_create_uid
msgid "Created by"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report_create_date
msgid "Created on"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,help:account_check_printing_report_base.field_account_journal_check_print_auto
msgid "Default check for the company is printed automatically when invoice payment is validated"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base_journal
msgid "Description"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report_display_name
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_report_account_check_printing_report_base_report_check_base_display_name
msgid "Display Name"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base
msgid "Due\n"
" Date"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base_journal
msgid "Due\n"
" Date JOURNAL"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report_id
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_report_account_check_printing_report_base_report_check_base_id
msgid "ID"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model,name:account_check_printing_report_base.model_account_journal
msgid "Journal"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report___last_update
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_report_account_check_printing_report_base_report_check_base___last_update
msgid "Last Modified on"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report_write_uid
msgid "Last Updated by"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report_write_date
msgid "Last Updated on"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report_name
msgid "Name"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base_journal
msgid "Original Amount"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base
#: model:ir.ui.view,arch_db:account_check_printing_report_base.report_check_base_journal
msgid "Payment"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.actions.report,name:account_check_printing_report_base.action_report_check_base
msgid "Payment Check Base"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.actions.report,name:account_check_printing_report_base.action_report_check_base_journal
msgid "Payment Check Base Journal"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model,name:account_check_printing_report_base.model_account_payment
msgid "Payments"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model,name:account_check_printing_report_base.model_account_register_payments
msgid "Register payments on multiple invoices"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model.fields,field_description:account_check_printing_report_base.field_account_payment_check_report_report
msgid "Report name"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model,name:account_check_printing_report_base.model_account_payment_check_report
msgid "account.payment.check.report"
msgstr ""

#. module: account_check_printing_report_base
#: model:ir.model,name:account_check_printing_report_base.model_report_account_check_printing_report_base_report_check_base
msgid "report.account_check_printing_report_base.report_check_base"
msgstr ""

Loading

0 comments on commit 518a826

Please sign in to comment.