Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] contract_mandate: Migration to 10.0 #113

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions contract_mandate/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

================
Contract Mandate
================

This module allows to set a mandate mode on contract for creating the invoices
with this mandate.

Configuration
=============

Your user should be a Sales Manager or Accountant.

Usage
=====

#. Go to *Sales > Sales > Contracts*.
#. Create one.
#. Select a partner to which invoice.
#. Select a mandate.
#. Click on **Generate recurring invoices automatically** checkbox.
#. Add a product to invoice.
#. If you create an invoice, new invoice will have the selected mandate.


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

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/contract/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.

Credits
=======

Contributors
------------

* Carlos Dauden <carlos.dauden@tecnativa.com>


Maintainer
----------

.. 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.
3 changes: 3 additions & 0 deletions contract_mandate/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

from . import models
23 changes: 23 additions & 0 deletions contract_mandate/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
# Copyright 2017 Carlos Dauden - Tecnativa <carlos.dauden@tecnativa.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
'name': 'Contract Mandate',
'summary': 'Mandate in contracts and their invoices',
'version': '10.0.1.0.0',
'author': 'Tecnativa, '
'Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/contract',
'depends': [
'contract_payment_mode',
'account_banking_mandate',
],
'category': 'Sales Management',
'license': 'AGPL-3',
'data': [
'views/contract_view.xml',
],
'installable': True,
'auto_install': True,
}
53 changes: 53 additions & 0 deletions contract_mandate/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_mandate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-20 02:51+0000\n"
"PO-Revision-Date: 2017-10-20 02:51+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_required
msgid ""
"Activate this option if this payment method requires your customer to sign a"
" direct debit mandate with your company."
msgstr ""

#. module: contract_mandate
#: model:ir.model,name:contract_mandate.model_account_analytic_account
msgid "Analytic Account"
msgstr "Compte analític"

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_commercial_partner_id
msgid "Commercial Entity"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_id
msgid "Direct Debit Mandate"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_id
msgid ""
"If mandate required in payment method and not set mandate, invoice takes the"
" first valid mandate"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_required
msgid "Mandate Required"
msgstr ""
54 changes: 54 additions & 0 deletions contract_mandate/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_mandate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Rudolf Schnapka <rs@techno-flex.de>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-20 02:51+0000\n"
"PO-Revision-Date: 2017-10-20 02:51+0000\n"
"Last-Translator: Rudolf Schnapka <rs@techno-flex.de>, 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: de\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_required
msgid ""
"Activate this option if this payment method requires your customer to sign a"
" direct debit mandate with your company."
msgstr ""

#. module: contract_mandate
#: model:ir.model,name:contract_mandate.model_account_analytic_account
msgid "Analytic Account"
msgstr "Kostenstelle"

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_commercial_partner_id
msgid "Commercial Entity"
msgstr "Kommerzielle Einheit"

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_id
msgid "Direct Debit Mandate"
msgstr "Lastschrift-Mandat"

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_id
msgid ""
"If mandate required in payment method and not set mandate, invoice takes the"
" first valid mandate"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_required
msgid "Mandate Required"
msgstr ""
53 changes: 53 additions & 0 deletions contract_mandate/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_mandate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-20 02:51+0000\n"
"PO-Revision-Date: 2017-10-20 02:51+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: el_GR\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_required
msgid ""
"Activate this option if this payment method requires your customer to sign a"
" direct debit mandate with your company."
msgstr ""

#. module: contract_mandate
#: model:ir.model,name:contract_mandate.model_account_analytic_account
msgid "Analytic Account"
msgstr "Αναλυτικός Λογαριασμός"

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_commercial_partner_id
msgid "Commercial Entity"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_id
msgid "Direct Debit Mandate"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_id
msgid ""
"If mandate required in payment method and not set mandate, invoice takes the"
" first valid mandate"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_required
msgid "Mandate Required"
msgstr ""
58 changes: 58 additions & 0 deletions contract_mandate/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_mandate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-20 02:51+0000\n"
"PO-Revision-Date: 2017-10-20 02:51+0000\n"
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>, 2017\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_required
msgid ""
"Activate this option if this payment method requires your customer to sign a"
" direct debit mandate with your company."
msgstr ""
"Active esta opción si el método de pago requiere que su cliente firme un "
"mandato con su compañía."

#. module: contract_mandate
#: model:ir.model,name:contract_mandate.model_account_analytic_account
msgid "Analytic Account"
msgstr "Cuenta analítica"

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_commercial_partner_id
msgid "Commercial Entity"
msgstr "Entidad comercial"

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_id
msgid "Direct Debit Mandate"
msgstr "Mandato adeudo directo"

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_id
msgid ""
"If mandate required in payment method and not set mandate, invoice takes the"
" first valid mandate"
msgstr ""
"Si el mandato es requerido en el método de pago y no está informado en el "
"contrato, la factura coge el primer mandato válido"

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_required
msgid "Mandate Required"
msgstr "Mandato requerido"
53 changes: 53 additions & 0 deletions contract_mandate/i18n/es_MX.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * contract_mandate
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-10-20 02:51+0000\n"
"PO-Revision-Date: 2017-10-20 02:51+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_MX\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_required
msgid ""
"Activate this option if this payment method requires your customer to sign a"
" direct debit mandate with your company."
msgstr ""

#. module: contract_mandate
#: model:ir.model,name:contract_mandate.model_account_analytic_account
msgid "Analytic Account"
msgstr "Cuenta analítica"

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_commercial_partner_id
msgid "Commercial Entity"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_id
msgid "Direct Debit Mandate"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,help:contract_mandate.field_account_analytic_account_mandate_id
msgid ""
"If mandate required in payment method and not set mandate, invoice takes the"
" first valid mandate"
msgstr ""

#. module: contract_mandate
#: model:ir.model.fields,field_description:contract_mandate.field_account_analytic_account_mandate_required
msgid "Mandate Required"
msgstr ""
Loading