Skip to content

Commit

Permalink
[12.0][MIG] account_check_printing_report_base
Browse files Browse the repository at this point in the history
  • Loading branch information
Abraham Anes committed Jun 13, 2019
1 parent de1729f commit 3d75db8
Show file tree
Hide file tree
Showing 11 changed files with 529 additions and 23 deletions.
68 changes: 47 additions & 21 deletions account_check_printing_report_base/README.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,38 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: https://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

==================================
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
============

Expand All @@ -32,10 +56,6 @@ Usage
* For automatic check printing when validating payment, mark the field in
the journal associated.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/96/11.0

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

Expand All @@ -45,39 +65,45 @@ Known issues / Roadmap
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 smash it by providing detailed and welcomed feedback.
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
=======

Images
------
Authors
~~~~~~~

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
* 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>

Maintainer
----------
Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

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

This module is maintained by the OCA.

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.

To contribute to this module, please visit https://odoo-community.org.
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.
2 changes: 1 addition & 1 deletion account_check_printing_report_base/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

{
"name": "Account Check Printing Report Base",
"version": "11.0.1.2.0",
"version": "12.0.1.0.0",
"license": "AGPL-3",
"author": "Eficent,"
"Serpent Consulting Services Pvt. Ltd.,"
Expand Down
4 changes: 4 additions & 0 deletions account_check_printing_report_base/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
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.
5 changes: 5 additions & 0 deletions account_check_printing_report_base/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* 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>
2 changes: 2 additions & 0 deletions account_check_printing_report_base/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module provides the basic framework for check printing, and a sample
layout.
3 changes: 3 additions & 0 deletions account_check_printing_report_base/readme/INSTALL.rst
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
2 changes: 2 additions & 0 deletions account_check_printing_report_base/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* When print check automatically in the payment validation process, the wizard
remains opened.
4 changes: 4 additions & 0 deletions account_check_printing_report_base/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* 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.
2 changes: 1 addition & 1 deletion account_check_printing_report_base/report/check_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_paid_lines(self, payments):
return lines

@api.multi
def get_report_values(self, docids, data=None):
def _get_report_values(self, docids, data=None):
model = self.env.context.get('active_model', 'account.payment')
objects = self.env[model].browse(docids)
paid_lines = self.get_paid_lines(objects)
Expand Down
Loading

0 comments on commit 3d75db8

Please sign in to comment.