From 791660b12ee76edaf84b62d3c8f5f17614b7370f Mon Sep 17 00:00:00 2001 From: Murtuza Saleh Date: Fri, 24 May 2019 18:14:47 +0530 Subject: [PATCH] [MIG][12.0] l10n_us_check_writing_address --- l10n_us_check_writing_address/README.rst | 106 ++++++++++++++---- l10n_us_check_writing_address/__init__.py | 6 +- l10n_us_check_writing_address/__manifest__.py | 19 ++-- .../account_payment_check_report_data.xml | 18 --- .../i18n/l10n_us_check_writing_address.pot | 78 ------------- .../models/__init__.py | 2 - .../models/res_partner.py | 5 +- .../readme/CONFIGURE.rst | 4 + .../readme/CONTRIBUTORS.rst | 5 + .../readme/CREDITS.rst | 12 ++ .../readme/DESCRIPTION.rst | 29 +++++ .../readme/USAGE.rst | 7 ++ .../report/account_check_writing_report.xml | 30 ----- .../report/report_check_base_bottom.xml | 81 ------------- .../report/report_check_base_middle.xml | 80 ------------- .../report/report_check_base_top.xml | 81 ------------- 16 files changed, 156 insertions(+), 407 deletions(-) delete mode 100644 l10n_us_check_writing_address/data/account_payment_check_report_data.xml delete mode 100644 l10n_us_check_writing_address/i18n/l10n_us_check_writing_address.pot create mode 100644 l10n_us_check_writing_address/readme/CONFIGURE.rst create mode 100644 l10n_us_check_writing_address/readme/CONTRIBUTORS.rst create mode 100644 l10n_us_check_writing_address/readme/CREDITS.rst create mode 100644 l10n_us_check_writing_address/readme/DESCRIPTION.rst create mode 100644 l10n_us_check_writing_address/readme/USAGE.rst delete mode 100644 l10n_us_check_writing_address/report/account_check_writing_report.xml delete mode 100644 l10n_us_check_writing_address/report/report_check_base_bottom.xml delete mode 100644 l10n_us_check_writing_address/report/report_check_base_middle.xml delete mode 100644 l10n_us_check_writing_address/report/report_check_base_top.xml diff --git a/l10n_us_check_writing_address/README.rst b/l10n_us_check_writing_address/README.rst index cd4b5813..9bdbb872 100644 --- a/l10n_us_check_writing_address/README.rst +++ b/l10n_us_check_writing_address/README.rst @@ -1,6 +1,29 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg +==================================== +US Check Printing with Payee Address +==================================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fl10n--usa-lightgray.png?logo=github + :target: https://github.com/OCA/l10n-usa/tree/11.0/l10n_us_check_writing_address + :alt: OCA/l10n-usa +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/l10n-usa-11-0/l10n-usa-11-0-l10n_us_check_writing_address + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/203/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| =================================== US Check Writing with Payee Address @@ -16,9 +39,31 @@ Supported formats * Check in the middle: Peachtree standard * Check at the bottom: ADP standard +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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. + +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. + +**Table of contents** + +.. contents:: + :local: + Configuration ============= + You can configure the output (layout, stubs informations, etc.) in company settings, and manage the checks numbering (if you use pre-printed checks without numbers) in the journal settings. @@ -26,6 +71,7 @@ without numbers) in the journal settings. Usage ===== + To use this module, you need to: #. Go to Accounting > Purchases > Payments @@ -33,31 +79,41 @@ To use this module, you need to: check #. Check the check option, register the payment and print the check -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/203/10.0 - Bug Tracker =========== -Bugs are tracked on `GitHub 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 `_. +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 `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* Open Source Integrators Contributors ------------- +~~~~~~~~~~~~ + * Bhavesh Odedra * Sandip Mangukiya +* Sudarshan Kadalazhi +* Murtuza Saleh + +Other credits +~~~~~~~~~~~~~ + + +Images +------ + +* Odoo Community Association: `Icon `_. Funders ------- @@ -66,17 +122,27 @@ The development of this module has been financially supported by: * Ursa Information Systems -Maintainer ----------- - -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org +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. -To contribute to this module, please visit https://odoo-community.org. +.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px + :target: https://github.com/max3903 + :alt: max3903 + +Current `maintainer `__: + +|maintainer-max3903| + +This module is part of the `OCA/l10n-usa `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/l10n_us_check_writing_address/__init__.py b/l10n_us_check_writing_address/__init__.py index b62336ac..1cdf7db6 100644 --- a/l10n_us_check_writing_address/__init__.py +++ b/l10n_us_check_writing_address/__init__.py @@ -1,5 +1,5 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Ursa Information Systems +# Copyright 2019 Open Source Integrators +# # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from . import models \ No newline at end of file +from . import models diff --git a/l10n_us_check_writing_address/__manifest__.py b/l10n_us_check_writing_address/__manifest__.py index 8e8f2798..871ca4ef 100644 --- a/l10n_us_check_writing_address/__manifest__.py +++ b/l10n_us_check_writing_address/__manifest__.py @@ -1,24 +1,21 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Ursa Information Systems +# Copyright 2019 Open Source Integrators +# # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'US Check Printing with Payee Address', 'summary': 'Print US Checks', - 'version': '10.0.1.0.0', + 'version': '11.0.1.0.0', 'license': 'AGPL-3', - 'author': 'Ursa Information Systems, Odoo Community Association (OCA)', + 'author': 'Open Source Integrators, Odoo Community Association (OCA)', 'category': 'Localization/Checks Printing', - 'maintainer': 'Ursa Information Systems', - 'website': 'http://www.ursainfosystems.com', + 'maintainer': 'Open Source Integrators', + 'website': 'https://github.com/OCA/l10n-usa', 'depends': [ 'account_check_printing_report_base', ], 'data': [ - 'report/account_check_writing_report.xml', - 'report/report_check_base_top.xml', - 'report/report_check_base_middle.xml', - 'report/report_check_base_bottom.xml', - 'data/account_payment_check_report_data.xml', ], + 'development_sattus': 'Beta', + 'maintainers': ['max3903'], 'installable': True, } diff --git a/l10n_us_check_writing_address/data/account_payment_check_report_data.xml b/l10n_us_check_writing_address/data/account_payment_check_report_data.xml deleted file mode 100644 index d47a33cd..00000000 --- a/l10n_us_check_writing_address/data/account_payment_check_report_data.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - Top - l10n_us_check_writing_address.report_check_base_top - - - Middle - l10n_us_check_writing_address.report_check_base_middle - - - Bottom - l10n_us_check_writing_address.report_check_base_bottom - - diff --git a/l10n_us_check_writing_address/i18n/l10n_us_check_writing_address.pot b/l10n_us_check_writing_address/i18n/l10n_us_check_writing_address.pot deleted file mode 100644 index b6cd542c..00000000 --- a/l10n_us_check_writing_address/i18n/l10n_us_check_writing_address.pot +++ /dev/null @@ -1,78 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * l10n_us_check_writing_address -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 10.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: l10n_us_check_writing_address -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_bottom -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_middle -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_top -msgid "Check Amount:" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_bottom -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_middle -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_top -msgid "Balance Due" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_bottom -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_middle -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_top -msgid "Description" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_bottom -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_middle -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_top -msgid "Due\n" -" Date" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_bottom -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_middle -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_top -msgid "Original Amount" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.model,name:l10n_us_check_writing_address.model_res_partner -msgid "Partner" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_bottom -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_middle -#: model:ir.ui.view,arch_db:l10n_us_check_writing_address.report_check_base_top -msgid "Payment" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.actions.report.xml,name:l10n_us_check_writing_address.action_report_check_base_bottom -msgid "Payment Check Bottom" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.actions.report.xml,name:l10n_us_check_writing_address.action_report_check_base_middle -msgid "Payment Check Middle" -msgstr "" - -#. module: l10n_us_check_writing_address -#: model:ir.actions.report.xml,name:l10n_us_check_writing_address.action_report_check_base_top -msgid "Payment Check Top" -msgstr "" - diff --git a/l10n_us_check_writing_address/models/__init__.py b/l10n_us_check_writing_address/models/__init__.py index a563cb28..88fed283 100644 --- a/l10n_us_check_writing_address/models/__init__.py +++ b/l10n_us_check_writing_address/models/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Ursa Information Systems # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import res_partner diff --git a/l10n_us_check_writing_address/models/res_partner.py b/l10n_us_check_writing_address/models/res_partner.py index 4cb9c5dd..97d9e959 100644 --- a/l10n_us_check_writing_address/models/res_partner.py +++ b/l10n_us_check_writing_address/models/res_partner.py @@ -1,11 +1,10 @@ -# -*- coding: utf-8 -*- -# Copyright 2017 Ursa Information Systems +# Copyright 2019 Open Source Integrators +# # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import api, models - DEFAULT_ADDRESS_FORMAT = "%(street)s\n" \ "%(street2)s\n" \ "%(city)s %(state_code)s %(zip)s\n" \ diff --git a/l10n_us_check_writing_address/readme/CONFIGURE.rst b/l10n_us_check_writing_address/readme/CONFIGURE.rst new file mode 100644 index 00000000..07993f77 --- /dev/null +++ b/l10n_us_check_writing_address/readme/CONFIGURE.rst @@ -0,0 +1,4 @@ + +You can configure the output (layout, stubs informations, etc.) in company +settings, and manage the checks numbering (if you use pre-printed checks +without numbers) in the journal settings. diff --git a/l10n_us_check_writing_address/readme/CONTRIBUTORS.rst b/l10n_us_check_writing_address/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..0282fd77 --- /dev/null +++ b/l10n_us_check_writing_address/readme/CONTRIBUTORS.rst @@ -0,0 +1,5 @@ + +* Bhavesh Odedra +* Sandip Mangukiya +* Sudarshan Kadalazhi +* Murtuza Saleh diff --git a/l10n_us_check_writing_address/readme/CREDITS.rst b/l10n_us_check_writing_address/readme/CREDITS.rst new file mode 100644 index 00000000..a6d241f2 --- /dev/null +++ b/l10n_us_check_writing_address/readme/CREDITS.rst @@ -0,0 +1,12 @@ + +Images +------ + +* Odoo Community Association: `Icon `_. + +Funders +------- + +The development of this module has been financially supported by: + +* Ursa Information Systems diff --git a/l10n_us_check_writing_address/readme/DESCRIPTION.rst b/l10n_us_check_writing_address/readme/DESCRIPTION.rst new file mode 100644 index 00000000..9faedad8 --- /dev/null +++ b/l10n_us_check_writing_address/readme/DESCRIPTION.rst @@ -0,0 +1,29 @@ +=================================== +US Check Writing with Payee Address +=================================== + +This module allows to print your payments on pre-printed check paper. +This module adds the address to the Payee section of a check. + +Supported formats +----------------- + +* Check on top: Quicken / QuickBooks standard +* Check in the middle: Peachtree standard +* Check at the bottom: ADP standard + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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. + +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. diff --git a/l10n_us_check_writing_address/readme/USAGE.rst b/l10n_us_check_writing_address/readme/USAGE.rst new file mode 100644 index 00000000..89d71d8d --- /dev/null +++ b/l10n_us_check_writing_address/readme/USAGE.rst @@ -0,0 +1,7 @@ + +To use this module, you need to: + +#. Go to Accounting > Purchases > Payments +#. Create a new payment with a payment method (journal) configured to print + check +#. Check the check option, register the payment and print the check diff --git a/l10n_us_check_writing_address/report/account_check_writing_report.xml b/l10n_us_check_writing_address/report/account_check_writing_report.xml deleted file mode 100644 index 7ec9b174..00000000 --- a/l10n_us_check_writing_address/report/account_check_writing_report.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - - diff --git a/l10n_us_check_writing_address/report/report_check_base_bottom.xml b/l10n_us_check_writing_address/report/report_check_base_bottom.xml deleted file mode 100644 index 92383a91..00000000 --- a/l10n_us_check_writing_address/report/report_check_base_bottom.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - diff --git a/l10n_us_check_writing_address/report/report_check_base_middle.xml b/l10n_us_check_writing_address/report/report_check_base_middle.xml deleted file mode 100644 index 21f41da5..00000000 --- a/l10n_us_check_writing_address/report/report_check_base_middle.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - diff --git a/l10n_us_check_writing_address/report/report_check_base_top.xml b/l10n_us_check_writing_address/report/report_check_base_top.xml deleted file mode 100644 index 31efc703..00000000 --- a/l10n_us_check_writing_address/report/report_check_base_top.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - -