Port almost all modules to v10 (#305)

Port almost all modules to v10

* Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug #300)
This commit is contained in:
Alexis de Lattre
2016-10-20 01:41:41 +02:00
committed by OCA-git-bot
parent 6cd5634f61
commit 6e7ff469b0
8 changed files with 95 additions and 20 deletions

View File

@@ -22,7 +22,7 @@ The mandate will be copied from the sale order to the invoice.
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/173/9.0
:target: https://runbot.odoo-community.org/runbot/173/10.0
Known issues / Roadmap
======================

View File

@@ -4,7 +4,7 @@
{
'name': 'Account Banking Mandate Sale',
'version': '9.0.1.0.0',
'version': '10.0.1.0.0',
'category': 'Banking addons',
'license': 'AGPL-3',
'summary': "Adds mandates on sale orders",
@@ -18,5 +18,5 @@
'data': [
'views/sale_order.xml',
],
'installable': False,
'installable': True,
}

View File

@@ -0,0 +1,39 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_banking_mandate_sale
#
# Translators:
# Niki Waibel, 2016
msgid ""
msgstr ""
"Project-Id-Version: bank-payment (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-21 10:17+0000\n"
"PO-Revision-Date: 2016-11-01 20:09+0000\n"
"Last-Translator: Niki Waibel\n"
"Language-Team: German (http://www.transifex.com/oca/OCA-bank-payment-10-0/language/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: account_banking_mandate_sale
#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order_commercial_partner_id
msgid "Commercial Entity"
msgstr "Gewerbliche Instanz"
#. module: account_banking_mandate_sale
#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order_mandate_id
msgid "Direct Debit Mandate"
msgstr "Lastschrift Mandat"
#. module: account_banking_mandate_sale
#: model:ir.model,name:account_banking_mandate_sale.model_sale_advance_payment_inv
msgid "Sales Advance Payment Invoice"
msgstr "Verkaufsanzahlungsrechnung"
#. module: account_banking_mandate_sale
#: model:ir.model,name:account_banking_mandate_sale.model_sale_order
msgid "Sales Order"
msgstr "Kundenauftrag"

View File

@@ -4,14 +4,15 @@
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Project-Id-Version: bank-payment (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-01 19:28+0000\n"
"PO-Revision-Date: 2016-07-01 19:28+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"POT-Creation-Date: 2016-12-24 00:21+0000\n"
"PO-Revision-Date: 2016-12-27 12:11+0000\n"
"Last-Translator: Pedro M. Baeza <pedro.baeza@gmail.com>\n"
"Language-Team: Spanish (http://www.transifex.com/oca/OCA-bank-payment-10-0/language/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
@@ -21,7 +22,7 @@ msgstr ""
#. module: account_banking_mandate_sale
#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order_commercial_partner_id
msgid "Commercial Entity"
msgstr ""
msgstr "Entidad comercial"
#. module: account_banking_mandate_sale
#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order_mandate_id
@@ -31,7 +32,7 @@ msgstr "Mandato de adeudo directo"
#. module: account_banking_mandate_sale
#: model:ir.model,name:account_banking_mandate_sale.model_sale_advance_payment_inv
msgid "Sales Advance Payment Invoice"
msgstr ""
msgstr "Ventas. Anticipo pago factura"
#. module: account_banking_mandate_sale
#: model:ir.model,name:account_banking_mandate_sale.model_sale_order

View File

@@ -0,0 +1,38 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_banking_mandate_sale
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: bank-payment (10.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-08-18 00:42+0000\n"
"PO-Revision-Date: 2016-10-19 23:45+0000\n"
"Last-Translator: <>\n"
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/oca/OCA-bank-payment-10-0/language/nl_NL/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl_NL\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: account_banking_mandate_sale
#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order_commercial_partner_id
msgid "Commercial Entity"
msgstr ""
#. module: account_banking_mandate_sale
#: model:ir.model.fields,field_description:account_banking_mandate_sale.field_sale_order_mandate_id
msgid "Direct Debit Mandate"
msgstr ""
#. module: account_banking_mandate_sale
#: model:ir.model,name:account_banking_mandate_sale.model_sale_advance_payment_inv
msgid "Sales Advance Payment Invoice"
msgstr ""
#. module: account_banking_mandate_sale
#: model:ir.model,name:account_banking_mandate_sale.model_sale_order
msgid "Sales Order"
msgstr "Verkooporder"

View File

@@ -2,7 +2,7 @@
# © 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import models, fields, api
from odoo import models, fields, api
class SaleOrder(models.Model):

View File

@@ -1,12 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 Akretion (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
The licence is in the file __openerp__.py
© 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<openerp>
<data>
<odoo>
<record id="view_order_form" model="ir.ui.view">
@@ -14,7 +12,7 @@
<field name="model">sale.order</field>
<field name="inherit_id" ref="account_payment_sale.view_order_form"/>
<field name="arch" type="xml">
<field name="payment_mode_id" position="after">
<field name="fiscal_position_id" position="after">
<field name="commercial_partner_id" invisible="1"/>
<field name="mandate_id"
domain="[('partner_id', '=', commercial_partner_id), ('state', 'in', ('draft', 'valid'))]"/>
@@ -23,5 +21,4 @@
</record>
</data>
</openerp>
</odoo>

View File

@@ -2,7 +2,7 @@
# © 2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from openerp import models, api
from odoo import models, api
class SaleAdvancePaymentInv(models.TransientModel):