From b5ca9344bb427d0fb0757797da54da613b5ba2ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Fri, 18 Apr 2014 14:53:38 +0200
Subject: [PATCH 01/42] [ADD] account_partner_required
---
account_partner_required/__init__.py | 23 ++++
account_partner_required/__openerp__.py | 46 +++++++
account_partner_required/account.py | 96 ++++++++++++++
account_partner_required/account_view.xml | 24 ++++
account_partner_required/tests/__init__.py | 30 +++++
.../tests/test_account_partner_required.py | 120 ++++++++++++++++++
6 files changed, 339 insertions(+)
create mode 100644 account_partner_required/__init__.py
create mode 100644 account_partner_required/__openerp__.py
create mode 100644 account_partner_required/account.py
create mode 100644 account_partner_required/account_view.xml
create mode 100644 account_partner_required/tests/__init__.py
create mode 100644 account_partner_required/tests/test_account_partner_required.py
diff --git a/account_partner_required/__init__.py b/account_partner_required/__init__.py
new file mode 100644
index 00000000..22c8fe29
--- /dev/null
+++ b/account_partner_required/__init__.py
@@ -0,0 +1,23 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Account partner required module for OpenERP
+# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# @author Stéphane Bidoul
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+import account
diff --git a/account_partner_required/__openerp__.py b/account_partner_required/__openerp__.py
new file mode 100644
index 00000000..ed9f8259
--- /dev/null
+++ b/account_partner_required/__openerp__.py
@@ -0,0 +1,46 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Account partner required module for OpenERP
+# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# @author Stéphane Bidoul
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+{
+ 'name': 'Account partner required',
+ 'version': '0.1',
+ 'category': 'Generic Modules/Accounting',
+ 'license': 'AGPL-3',
+ 'description': """This module adds an option "partner policy"
+on account types.
+
+You have the choice between 3 policies : optional (the default),
+always (require a partner), and never (forbid a partner).
+
+This module is useful to enforce a partner on account move lines on
+customer and supplier accounts.
+
+Module developed by Stéphane Bidoul ,
+inspired by Alexis de Lattre 's
+account_analytic_required module.
+""",
+ 'author': 'ACSONE SA/NV',
+ 'website': 'http://acsone.eu/',
+ 'depends': ['account'],
+ 'data': ['account_view.xml'],
+ 'installable': True,
+}
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
new file mode 100644
index 00000000..5c7053b3
--- /dev/null
+++ b/account_partner_required/account.py
@@ -0,0 +1,96 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Account partner required module for OpenERP
+# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# @author Stéphane Bidoul
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+from openerp.osv import orm, fields
+from openerp.tools.translate import _
+
+
+class account_account_type(orm.Model):
+ _inherit = "account.account.type"
+
+ _columns = {
+ 'partner_policy': fields.selection([
+ ('optional', 'Optional'),
+ ('always', 'Always'),
+ ('never', 'Never')
+ ], 'Policy for partner field',
+ help="Set the policy for the partner field : if you select "
+ "'Optional', the accountant is free to put a partner "
+ "on an account move line with this type of account ; "
+ "if you select 'Always', the accountant will get an error "
+ "message if there is no partner ; if you select 'Never', "
+ "the accountant will get an error message if a partner "
+ "is present."),
+ }
+
+ _defaults = {
+ 'partner_policy': 'optional',
+ }
+
+
+class account_move_line(orm.Model):
+ _inherit = "account.move.line"
+
+ def check_partner_required(self, cr, uid, ids, vals, context=None):
+ if 'account_id' in vals or 'partner_id' in vals or \
+ 'debit' in vals or 'credit' in vals:
+ if isinstance(ids, (int, long)):
+ ids = [ids]
+ for move_line in self.browse(cr, uid, ids, context):
+ if move_line.debit == 0 and move_line.credit == 0:
+ continue
+ policy = move_line.account_id.user_type.partner_policy
+ if policy == 'always' and not move_line.partner_id:
+ raise orm.except_orm(_('Error :'),
+ _("Partner policy is set to 'Always' "
+ "with account %s '%s' but the "
+ "partner is missing in the account "
+ "move line with label '%s'." %
+ (move_line.account_id.code,
+ move_line.account_id.name,
+ move_line.name)))
+ elif policy == 'never' and move_line.partner_id:
+ raise orm.except_orm(_('Error :'),
+ _("Partner policy is set to 'Never' "
+ "with account %s '%s' but the "
+ "account move line with label '%s' "
+ "has a partner '%s'." %
+ (move_line.account_id.code,
+ move_line.account_id.name,
+ move_line.name,
+ move_line.partner_id.name)))
+
+ def create(self, cr, uid, vals, context=None, check=True):
+ line_id = super(account_move_line, self).create(cr, uid, vals,
+ context=context,
+ check=check)
+ self.check_partner_required(cr, uid, line_id, vals, context=context)
+ return line_id
+
+ def write(self, cr, uid, ids, vals, context=None, check=True,
+ update_check=True):
+ res = super(account_move_line, self).write(cr, uid, ids, vals,
+ context=context,
+ check=check,
+ update_check=update_check)
+ self.check_partner_required(cr, uid, ids, vals, context=context)
+ return res
diff --git a/account_partner_required/account_view.xml b/account_partner_required/account_view.xml
new file mode 100644
index 00000000..3f94ad52
--- /dev/null
+++ b/account_partner_required/account_view.xml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+ account_partner_required.account_type_form
+ account.account.type
+
+
+
+
+
+
+
+
+
+
diff --git a/account_partner_required/tests/__init__.py b/account_partner_required/tests/__init__.py
new file mode 100644
index 00000000..7b4043fc
--- /dev/null
+++ b/account_partner_required/tests/__init__.py
@@ -0,0 +1,30 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Account partner required module for OpenERP
+# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# @author Stéphane Bidoul
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+from . import test_account_partner_required
+
+fast_suite = [
+]
+
+checks = [
+ test_account_partner_required,
+]
diff --git a/account_partner_required/tests/test_account_partner_required.py b/account_partner_required/tests/test_account_partner_required.py
new file mode 100644
index 00000000..79af6ed0
--- /dev/null
+++ b/account_partner_required/tests/test_account_partner_required.py
@@ -0,0 +1,120 @@
+# -*- encoding: utf-8 -*-
+##############################################################################
+#
+# Account partner required module for OpenERP
+# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# @author Stéphane Bidoul
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see .
+#
+##############################################################################
+
+from datetime import datetime
+
+from openerp.tests import common
+from openerp.osv import orm
+
+
+class test_account_partner_required(common.TransactionCase):
+
+ def setUp(self):
+ super(test_account_partner_required, self).setUp()
+ self.account_obj = self.registry('account.account')
+ self.account_type_obj = self.registry('account.account.type')
+ self.move_obj = self.registry('account.move')
+ self.move_line_obj = self.registry('account.move.line')
+
+ def _create_move(self, with_partner, amount=100):
+ date = datetime.now()
+ period_id = self.registry('account.period').find(self.cr, self.uid, date, context={'account_period_prefer_normal': True})[0]
+ move_vals = {
+ 'journal_id': self.ref('account.sales_journal'),
+ 'period_id': period_id,
+ 'date': date,
+ }
+ move_id = self.move_obj.create(self.cr, self.uid, move_vals)
+ self.move_line_obj.create(self.cr, self.uid,
+ {'move_id': move_id,
+ 'name': '/',
+ 'debit': 0,
+ 'credit': amount,
+ 'account_id': self.ref('account.a_sale'),
+ })
+ move_line_id = self.move_line_obj.create(self.cr, self.uid,
+ {'move_id': move_id,
+ 'name': '/',
+ 'debit': amount,
+ 'credit': 0,
+ 'account_id': self.ref('account.a_recv'),
+ 'partner_id': self.ref('base.res_partner_1') if with_partner else False,
+ })
+ return move_line_id
+
+ def _set_partner_policy(self, policy, aref='account.a_recv'):
+ account_type = self.account_obj.browse(self.cr, self.uid,
+ self.ref(aref)).user_type
+ self.account_type_obj.write(self.cr, self.uid, account_type.id,
+ {'partner_policy': policy})
+
+ def test_optional(self):
+ self._create_move(with_partner=False)
+ self._create_move(with_partner=True)
+
+ def test_always_no_partner(self):
+ self._set_partner_policy('always')
+ with self.assertRaises(orm.except_orm):
+ self._create_move(with_partner=False)
+
+ def test_always_no_partner_0(self):
+ # accept missing partner when debit=credit=0
+ self._set_partner_policy('always')
+ self._create_move(with_partner=False, amount=0)
+
+ def test_always_with_partner(self):
+ self._set_partner_policy('always')
+ self._create_move(with_partner=True)
+
+ def test_never_no_partner(self):
+ self._set_partner_policy('never')
+ self._create_move(with_partner=False)
+
+ def test_never_with_partner(self):
+ self._set_partner_policy('never')
+ with self.assertRaises(orm.except_orm):
+ self._create_move(with_partner=True)
+
+ def test_never_with_partner_0(self):
+ # accept partner when debit=credit=0
+ self._set_partner_policy('never')
+ self._create_move(with_partner=True, amount=0)
+
+ def test_always_remove_partner(self):
+ # remove partner when policy is always
+ self._set_partner_policy('always')
+ line_id = self._create_move(with_partner=True)
+ with self.assertRaises(orm.except_orm):
+ self.move_line_obj.write(self.cr, self.uid, line_id,
+ {'partner_id': False})
+
+ def test_change_account(self):
+ self._set_partner_policy('always', aref='account.a_pay')
+ line_id = self._create_move(with_partner=False)
+ # change account to a_pay with policy always but missing partner
+ with self.assertRaises(orm.except_orm):
+ self.move_line_obj.write(self.cr, self.uid, line_id,
+ {'account_id': self.ref('account.a_pay')})
+ # change account to a_pay with policy always with partner -> ok
+ self.move_line_obj.write(self.cr, self.uid, line_id,
+ {'account_id': self.ref('account.a_pay'),
+ 'partner_id': self.ref('base.res_partner_1')})
From 8cf103cf5c93e5cffaa97a0f51462c78eebba8ff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Fri, 18 Apr 2014 15:03:11 +0200
Subject: [PATCH 02/42] flake8
---
account_partner_required/account.py | 16 ++++-----
.../tests/test_account_partner_required.py | 35 ++++++++++---------
2 files changed, 26 insertions(+), 25 deletions(-)
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
index 5c7053b3..3f5d4b59 100644
--- a/account_partner_required/account.py
+++ b/account_partner_required/account.py
@@ -29,9 +29,9 @@ class account_account_type(orm.Model):
_columns = {
'partner_policy': fields.selection([
- ('optional', 'Optional'),
- ('always', 'Always'),
- ('never', 'Never')
+ ('optional', 'Optional'),
+ ('always', 'Always'),
+ ('never', 'Never')
], 'Policy for partner field',
help="Set the policy for the partner field : if you select "
"'Optional', the accountant is free to put a partner "
@@ -81,16 +81,16 @@ class account_move_line(orm.Model):
def create(self, cr, uid, vals, context=None, check=True):
line_id = super(account_move_line, self).create(cr, uid, vals,
- context=context,
- check=check)
+ context=context,
+ check=check)
self.check_partner_required(cr, uid, line_id, vals, context=context)
return line_id
def write(self, cr, uid, ids, vals, context=None, check=True,
update_check=True):
res = super(account_move_line, self).write(cr, uid, ids, vals,
- context=context,
- check=check,
- update_check=update_check)
+ context=context,
+ check=check,
+ update_check=update_check)
self.check_partner_required(cr, uid, ids, vals, context=context)
return res
diff --git a/account_partner_required/tests/test_account_partner_required.py b/account_partner_required/tests/test_account_partner_required.py
index 79af6ed0..4a286a20 100644
--- a/account_partner_required/tests/test_account_partner_required.py
+++ b/account_partner_required/tests/test_account_partner_required.py
@@ -37,7 +37,9 @@ class test_account_partner_required(common.TransactionCase):
def _create_move(self, with_partner, amount=100):
date = datetime.now()
- period_id = self.registry('account.period').find(self.cr, self.uid, date, context={'account_period_prefer_normal': True})[0]
+ period_id = self.registry('account.period').find(
+ self.cr, self.uid, date,
+ context={'account_period_prefer_normal': True})[0]
move_vals = {
'journal_id': self.ref('account.sales_journal'),
'period_id': period_id,
@@ -45,27 +47,26 @@ class test_account_partner_required(common.TransactionCase):
}
move_id = self.move_obj.create(self.cr, self.uid, move_vals)
self.move_line_obj.create(self.cr, self.uid,
- {'move_id': move_id,
- 'name': '/',
- 'debit': 0,
- 'credit': amount,
- 'account_id': self.ref('account.a_sale'),
- })
- move_line_id = self.move_line_obj.create(self.cr, self.uid,
- {'move_id': move_id,
- 'name': '/',
- 'debit': amount,
- 'credit': 0,
- 'account_id': self.ref('account.a_recv'),
- 'partner_id': self.ref('base.res_partner_1') if with_partner else False,
- })
+ {'move_id': move_id,
+ 'name': '/',
+ 'debit': 0,
+ 'credit': amount,
+ 'account_id': self.ref('account.a_sale')})
+ move_line_id = self.move_line_obj.create(
+ self.cr, self.uid,
+ {'move_id': move_id,
+ 'name': '/',
+ 'debit': amount,
+ 'credit': 0,
+ 'account_id': self.ref('account.a_recv'),
+ 'partner_id': self.ref('base.res_partner_1') if with_partner else False})
return move_line_id
def _set_partner_policy(self, policy, aref='account.a_recv'):
account_type = self.account_obj.browse(self.cr, self.uid,
- self.ref(aref)).user_type
+ self.ref(aref)).user_type
self.account_type_obj.write(self.cr, self.uid, account_type.id,
- {'partner_policy': policy})
+ {'partner_policy': policy})
def test_optional(self):
self._create_move(with_partner=False)
From c4f14b1d59640e053c2933c55400ac6e67c1c2d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Sat, 19 Apr 2014 12:32:37 +0200
Subject: [PATCH 03/42] [IMP] add policy column in account type tree view
---
account_partner_required/account_view.xml | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/account_partner_required/account_view.xml b/account_partner_required/account_view.xml
index 3f94ad52..85d1c453 100644
--- a/account_partner_required/account_view.xml
+++ b/account_partner_required/account_view.xml
@@ -1,7 +1,7 @@
@@ -20,5 +20,16 @@
+
+ account_partner_required.account_type_tree
+ account.account.type
+
+
+
+
+
+
+
+
From c307f35a93a70c635ff0a33c77bda438c621761c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Sat, 19 Apr 2014 12:32:54 +0200
Subject: [PATCH 04/42] [IMP] local import
---
account_partner_required/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/account_partner_required/__init__.py b/account_partner_required/__init__.py
index 22c8fe29..5cb88930 100644
--- a/account_partner_required/__init__.py
+++ b/account_partner_required/__init__.py
@@ -2,7 +2,7 @@
##############################################################################
#
# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# Copyright (C) 2014 Acsone (http://acsone.eu).
# @author Stéphane Bidoul
#
# This program is free software: you can redistribute it and/or modify
@@ -20,4 +20,4 @@
#
##############################################################################
-import account
+from . import account
From 907760dee3ecfbcce0eb1ea72ac00c463565a404 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Sat, 19 Apr 2014 12:33:10 +0200
Subject: [PATCH 05/42] [IMP] header comments
---
account_partner_required/__openerp__.py | 2 +-
account_partner_required/account.py | 2 +-
account_partner_required/tests/__init__.py | 2 +-
account_partner_required/tests/test_account_partner_required.py | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/account_partner_required/__openerp__.py b/account_partner_required/__openerp__.py
index ed9f8259..961c36f3 100644
--- a/account_partner_required/__openerp__.py
+++ b/account_partner_required/__openerp__.py
@@ -2,7 +2,7 @@
##############################################################################
#
# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# Copyright (C) 2014 Acsone (http://acsone.eu).
# @author Stéphane Bidoul
#
# This program is free software: you can redistribute it and/or modify
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
index 3f5d4b59..58c1d24f 100644
--- a/account_partner_required/account.py
+++ b/account_partner_required/account.py
@@ -2,7 +2,7 @@
##############################################################################
#
# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# Copyright (C) 2014 Acsone (http://acsone.eu).
# @author Stéphane Bidoul
#
# This program is free software: you can redistribute it and/or modify
diff --git a/account_partner_required/tests/__init__.py b/account_partner_required/tests/__init__.py
index 7b4043fc..0654dbcb 100644
--- a/account_partner_required/tests/__init__.py
+++ b/account_partner_required/tests/__init__.py
@@ -2,7 +2,7 @@
##############################################################################
#
# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# Copyright (C) 2014 Acsone (http://acsone.eu).
# @author Stéphane Bidoul
#
# This program is free software: you can redistribute it and/or modify
diff --git a/account_partner_required/tests/test_account_partner_required.py b/account_partner_required/tests/test_account_partner_required.py
index 4a286a20..824df11b 100644
--- a/account_partner_required/tests/test_account_partner_required.py
+++ b/account_partner_required/tests/test_account_partner_required.py
@@ -2,7 +2,7 @@
##############################################################################
#
# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu). All Rights Reserved
+# Copyright (C) 2014 Acsone (http://acsone.eu).
# @author Stéphane Bidoul
#
# This program is free software: you can redistribute it and/or modify
From a62a7e2f9c69228a8f8af9ceb1146a5692b61239 Mon Sep 17 00:00:00 2001
From: Nicolas Bessi
Date: Thu, 10 Jul 2014 16:33:46 +0200
Subject: [PATCH 06/42] [FIX] flake8 PEP8 account_partner_required
---
account_partner_required/account.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
index 58c1d24f..7d21b3fa 100644
--- a/account_partner_required/account.py
+++ b/account_partner_required/account.py
@@ -28,11 +28,11 @@ class account_account_type(orm.Model):
_inherit = "account.account.type"
_columns = {
- 'partner_policy': fields.selection([
- ('optional', 'Optional'),
- ('always', 'Always'),
- ('never', 'Never')
- ], 'Policy for partner field',
+ 'partner_policy': fields.selection(
+ [('optional', 'Optional'),
+ ('always', 'Always'),
+ ('never', 'Never')],
+ 'Policy for partner field',
help="Set the policy for the partner field : if you select "
"'Optional', the accountant is free to put a partner "
"on an account move line with this type of account ; "
From b4047063e1af0e10499b691158c8306a0b649a3c Mon Sep 17 00:00:00 2001
From: Nicolas Bessi
Date: Wed, 20 Aug 2014 15:46:23 +0200
Subject: [PATCH 07/42] [FIX] pep8 line length to 80, activate pep8 check in
travis, and add noqa on scenario while waiting improvement of quality-tools
---
.../tests/test_account_partner_required.py | 28 +++++++++++++------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/account_partner_required/tests/test_account_partner_required.py b/account_partner_required/tests/test_account_partner_required.py
index 824df11b..a9134537 100644
--- a/account_partner_required/tests/test_account_partner_required.py
+++ b/account_partner_required/tests/test_account_partner_required.py
@@ -54,12 +54,16 @@ class test_account_partner_required(common.TransactionCase):
'account_id': self.ref('account.a_sale')})
move_line_id = self.move_line_obj.create(
self.cr, self.uid,
- {'move_id': move_id,
- 'name': '/',
- 'debit': amount,
- 'credit': 0,
- 'account_id': self.ref('account.a_recv'),
- 'partner_id': self.ref('base.res_partner_1') if with_partner else False})
+ {
+ 'move_id': move_id,
+ 'name': '/',
+ 'debit': amount,
+ 'credit': 0,
+ 'account_id': self.ref('account.a_recv'),
+ 'partner_id': self.ref('base.res_partner_1') if
+ with_partner else False
+ }
+ )
return move_line_id
def _set_partner_policy(self, policy, aref='account.a_recv'):
@@ -116,6 +120,12 @@ class test_account_partner_required(common.TransactionCase):
self.move_line_obj.write(self.cr, self.uid, line_id,
{'account_id': self.ref('account.a_pay')})
# change account to a_pay with policy always with partner -> ok
- self.move_line_obj.write(self.cr, self.uid, line_id,
- {'account_id': self.ref('account.a_pay'),
- 'partner_id': self.ref('base.res_partner_1')})
+ self.move_line_obj.write(
+ self.cr,
+ self.uid,
+ line_id,
+ {
+ 'account_id': self.ref('account.a_pay'),
+ 'partner_id': self.ref('base.res_partner_1')
+ }
+ )
From a6fd61c1294d78f9d00ea6f141767aed3533cd29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Thu, 25 Sep 2014 11:08:50 +0200
Subject: [PATCH 08/42] [IMP] refactor account_partner_required
* extention points for policies
* use constraints for readbility and robustness
---
account_partner_required/account.py | 93 +++++++++++++++--------------
1 file changed, 48 insertions(+), 45 deletions(-)
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
index 7d21b3fa..9f956876 100644
--- a/account_partner_required/account.py
+++ b/account_partner_required/account.py
@@ -27,12 +27,21 @@ from openerp.tools.translate import _
class account_account_type(orm.Model):
_inherit = "account.account.type"
+ def _get_policies(self, cr, uid, context=None):
+ """This is the method to be inherited for adding policies"""
+ return [('optional', 'Optional'),
+ ('always', 'Always'),
+ ('never', 'Never')]
+
+ def __get_policies(self, cr, uid, context=None):
+ """ Call method which can be inherited """
+ return self._get_policies(cr, uid, context=context)
+
_columns = {
'partner_policy': fields.selection(
- [('optional', 'Optional'),
- ('always', 'Always'),
- ('never', 'Never')],
+ __get_policies,
'Policy for partner field',
+ required=True,
help="Set the policy for the partner field : if you select "
"'Optional', the accountant is free to put a partner "
"on an account move line with this type of account ; "
@@ -50,47 +59,41 @@ class account_account_type(orm.Model):
class account_move_line(orm.Model):
_inherit = "account.move.line"
- def check_partner_required(self, cr, uid, ids, vals, context=None):
- if 'account_id' in vals or 'partner_id' in vals or \
- 'debit' in vals or 'credit' in vals:
- if isinstance(ids, (int, long)):
- ids = [ids]
- for move_line in self.browse(cr, uid, ids, context):
- if move_line.debit == 0 and move_line.credit == 0:
- continue
- policy = move_line.account_id.user_type.partner_policy
- if policy == 'always' and not move_line.partner_id:
- raise orm.except_orm(_('Error :'),
- _("Partner policy is set to 'Always' "
- "with account %s '%s' but the "
- "partner is missing in the account "
- "move line with label '%s'." %
- (move_line.account_id.code,
- move_line.account_id.name,
- move_line.name)))
- elif policy == 'never' and move_line.partner_id:
- raise orm.except_orm(_('Error :'),
- _("Partner policy is set to 'Never' "
- "with account %s '%s' but the "
- "account move line with label '%s' "
- "has a partner '%s'." %
- (move_line.account_id.code,
- move_line.account_id.name,
- move_line.name,
- move_line.partner_id.name)))
+ def _get_partner_policy(self, cr, uid, account, context=None):
+ """ Extension point to obtain analytic policy for an account """
+ return account.user_type.partner_policy
- def create(self, cr, uid, vals, context=None, check=True):
- line_id = super(account_move_line, self).create(cr, uid, vals,
- context=context,
- check=check)
- self.check_partner_required(cr, uid, line_id, vals, context=context)
- return line_id
+ def _check_partner_required_msg(self, cr, uid, ids, context=None):
+ for move_line in self.browse(cr, uid, ids, context):
+ if move_line.debit == 0 and move_line.credit == 0:
+ continue
+ policy = self._get_partner_policy(cr, uid,
+ move_line.account_id,
+ context=context)
+ if policy == 'always' and not move_line.partner_id:
+ return _("Partner policy is set to 'Always' "
+ "with account %s '%s' but the "
+ "partner is missing in the account "
+ "move line with label '%s'." %
+ (move_line.account_id.code,
+ move_line.account_id.name,
+ move_line.name))
+ elif policy == 'never' and move_line.partner_id:
+ return _("Partner policy is set to 'Never' "
+ "with account %s '%s' but the "
+ "account move line with label '%s' "
+ "has a partner '%s'." %
+ (move_line.account_id.code,
+ move_line.account_id.name,
+ move_line.name,
+ move_line.partner_id.name))
- def write(self, cr, uid, ids, vals, context=None, check=True,
- update_check=True):
- res = super(account_move_line, self).write(cr, uid, ids, vals,
- context=context,
- check=check,
- update_check=update_check)
- self.check_partner_required(cr, uid, ids, vals, context=context)
- return res
+ def _check_partner_required(self, cr, uid, ids, context=None):
+ return not self._check_partner_required_msg(cr, uid, ids,
+ context=context)
+
+ _constraints = [
+ (_check_partner_required,
+ _check_partner_required_msg,
+ ['partner_id']),
+ ]
From 6b1c3068ece234913707960889364fd2b29ff822 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Thu, 25 Sep 2014 11:17:07 +0200
Subject: [PATCH 09/42] [IMP] account_partner_required: make test use [ids] for
write
Some other modules such as account_constraints require it.
---
.../tests/test_account_partner_required.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/account_partner_required/tests/test_account_partner_required.py b/account_partner_required/tests/test_account_partner_required.py
index a9134537..e66e7a68 100644
--- a/account_partner_required/tests/test_account_partner_required.py
+++ b/account_partner_required/tests/test_account_partner_required.py
@@ -109,7 +109,7 @@ class test_account_partner_required(common.TransactionCase):
self._set_partner_policy('always')
line_id = self._create_move(with_partner=True)
with self.assertRaises(orm.except_orm):
- self.move_line_obj.write(self.cr, self.uid, line_id,
+ self.move_line_obj.write(self.cr, self.uid, [line_id],
{'partner_id': False})
def test_change_account(self):
@@ -117,13 +117,13 @@ class test_account_partner_required(common.TransactionCase):
line_id = self._create_move(with_partner=False)
# change account to a_pay with policy always but missing partner
with self.assertRaises(orm.except_orm):
- self.move_line_obj.write(self.cr, self.uid, line_id,
+ self.move_line_obj.write(self.cr, self.uid, [line_id],
{'account_id': self.ref('account.a_pay')})
# change account to a_pay with policy always with partner -> ok
self.move_line_obj.write(
self.cr,
self.uid,
- line_id,
+ [line_id],
{
'account_id': self.ref('account.a_pay'),
'partner_id': self.ref('base.res_partner_1')
From deb6e1537710bea1198c140d29fceae4f4f48ae0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Sat, 25 Oct 2014 17:09:44 +0200
Subject: [PATCH 10/42] [FIX] account_partner_required: constraint depends on
account_id
---
account_partner_required/account.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
index 9f956876..d888ebbd 100644
--- a/account_partner_required/account.py
+++ b/account_partner_required/account.py
@@ -95,5 +95,5 @@ class account_move_line(orm.Model):
_constraints = [
(_check_partner_required,
_check_partner_required_msg,
- ['partner_id']),
+ ['partner_id', 'account_id']),
]
From ae2facc05b983b6e88c24480adada8c694da3ba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Sat, 25 Oct 2014 17:22:22 +0200
Subject: [PATCH 11/42] [FIX] pep8
---
account_partner_required/account.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
index d888ebbd..941dbf50 100644
--- a/account_partner_required/account.py
+++ b/account_partner_required/account.py
@@ -75,18 +75,18 @@ class account_move_line(orm.Model):
"with account %s '%s' but the "
"partner is missing in the account "
"move line with label '%s'." %
- (move_line.account_id.code,
- move_line.account_id.name,
- move_line.name))
+ (move_line.account_id.code,
+ move_line.account_id.name,
+ move_line.name))
elif policy == 'never' and move_line.partner_id:
return _("Partner policy is set to 'Never' "
"with account %s '%s' but the "
"account move line with label '%s' "
"has a partner '%s'." %
- (move_line.account_id.code,
- move_line.account_id.name,
- move_line.name,
- move_line.partner_id.name))
+ (move_line.account_id.code,
+ move_line.account_id.name,
+ move_line.name,
+ move_line.partner_id.name))
def _check_partner_required(self, cr, uid, ids, context=None):
return not self._check_partner_required_msg(cr, uid, ids,
From aaa149cabfac561c87ba04cd3978b3f250a25fa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Sat, 25 Oct 2014 17:22:53 +0200
Subject: [PATCH 12/42] [FIX] account_partner_required: constraint also depends
on debit and credit
---
account_partner_required/account.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
index 941dbf50..d7f7aadb 100644
--- a/account_partner_required/account.py
+++ b/account_partner_required/account.py
@@ -95,5 +95,5 @@ class account_move_line(orm.Model):
_constraints = [
(_check_partner_required,
_check_partner_required_msg,
- ['partner_id', 'account_id']),
+ ['partner_id', 'account_id', 'debit', 'credit']),
]
From 6662b04e6ae007efe66f44a19d50d47a50c360fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Wed, 29 Oct 2014 15:39:04 +0100
Subject: [PATCH 13/42] [FIX] account_partner_required: make policies
translatable
---
account_partner_required/account.py | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
index d7f7aadb..92af74fa 100644
--- a/account_partner_required/account.py
+++ b/account_partner_required/account.py
@@ -29,17 +29,13 @@ class account_account_type(orm.Model):
def _get_policies(self, cr, uid, context=None):
"""This is the method to be inherited for adding policies"""
- return [('optional', 'Optional'),
- ('always', 'Always'),
- ('never', 'Never')]
-
- def __get_policies(self, cr, uid, context=None):
- """ Call method which can be inherited """
- return self._get_policies(cr, uid, context=context)
+ return [('optional', _('Optional')),
+ ('always', _('Always')),
+ ('never', _('Never'))]
_columns = {
'partner_policy': fields.selection(
- __get_policies,
+ lambda self, *args, **kwargs: self._get_policies(*args, **kwargs),
'Policy for partner field',
required=True,
help="Set the policy for the partner field : if you select "
From eb38d13c8fad50f6e672e83a181d8b647bd7f0a5 Mon Sep 17 00:00:00 2001
From: Alexandre Fayolle
Date: Mon, 2 Mar 2015 17:22:41 +0100
Subject: [PATCH 14/42] Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
---
account_partner_required/__openerp__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/account_partner_required/__openerp__.py b/account_partner_required/__openerp__.py
index 961c36f3..4e69e83d 100644
--- a/account_partner_required/__openerp__.py
+++ b/account_partner_required/__openerp__.py
@@ -38,7 +38,7 @@ Module developed by Stéphane Bidoul ,
inspired by Alexis de Lattre 's
account_analytic_required module.
""",
- 'author': 'ACSONE SA/NV',
+ 'author': "ACSONE SA/NV,Odoo Community Association (OCA)",
'website': 'http://acsone.eu/',
'depends': ['account'],
'data': ['account_view.xml'],
From 74bf8712def812ea096db77e312da91806dcd814 Mon Sep 17 00:00:00 2001
From: Yannick Vaucher
Date: Tue, 18 Aug 2015 10:32:25 +0200
Subject: [PATCH 15/42] Add missing default oca icons
---
.../static/description/icon.png | Bin 0 -> 9455 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 account_partner_required/static/description/icon.png
diff --git a/account_partner_required/static/description/icon.png b/account_partner_required/static/description/icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d
GIT binary patch
literal 9455
zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~!
zVpnB`o+K7|Al`Q_U;eD$B
zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA
z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__
zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_
zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I
z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U
z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)(
z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH
zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW
z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx
zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h
zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9
zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz#
z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA
zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K=
z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS
zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C
zuVl&0duN<;uOsB3%T9Fp8t{ED108)`y_~Hnd9AUX7h-H?jVuU|}My+C=TjH(jKz
zqMVr0re3S$H@t{zI95qa)+Crz*5Zj}Ao%4Z><+W(nOZd?gDnfNBC3>M8WE61$So|P
zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO
z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1
zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_
zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8
zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ>
zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN
z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h
zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d
zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB
zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz
z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I
zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X
zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD
z#z-)AXwSRY?OPefw^iI+
z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd
z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs
z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I
z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$
z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV
z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s
zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6
zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u
zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q
zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH
zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c
zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT
zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+
z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ
zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy
zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC)
zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a
zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x!
zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X
zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8
z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A
z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H
zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n=
z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK
z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z
zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h
z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD
z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW
zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@
zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz
z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y<
zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X
zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6
zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6%
z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(|
z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ
z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H
zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6
z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d}
z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A
zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB
z
z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp
zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zls4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6#
z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f#
zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC
zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv!
zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG
z-wfS
zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9
z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE#
z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz
zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t
z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN
zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q
ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k
zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG
z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff
z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1
zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO
zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$
zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV(
z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb
zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4
z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{
zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx}
z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov
zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22
zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq
zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t<
z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k
z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp
z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{}
zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N
Xviia!U7SGha1wx#SCgwmn*{w2TRX*I
literal 0
HcmV?d00001
From 22431ee1669f0d2a17d2fcf3c7cec3c815c1025d Mon Sep 17 00:00:00 2001
From: Alexandre Fayolle
Date: Thu, 27 Aug 2015 16:53:30 +0200
Subject: [PATCH 16/42] remove deprecated test suite declarations
these cause Warnings during the tests
---
account_partner_required/tests/__init__.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/account_partner_required/tests/__init__.py b/account_partner_required/tests/__init__.py
index 0654dbcb..7b3bbb52 100644
--- a/account_partner_required/tests/__init__.py
+++ b/account_partner_required/tests/__init__.py
@@ -21,10 +21,3 @@
##############################################################################
from . import test_account_partner_required
-
-fast_suite = [
-]
-
-checks = [
- test_account_partner_required,
-]
From a0c78af20b0555e0181cc29e13db2508aecfbfbb Mon Sep 17 00:00:00 2001
From: OCA Transbot
Date: Sat, 12 Sep 2015 17:39:28 -0400
Subject: [PATCH 17/42] OCA Transbot updated translations from Transifex
---
account_partner_required/i18n/ar.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/bs.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/cs.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/de.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/en.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/en_GB.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/es.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/es_CR.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/es_EC.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/es_MX.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/fr.po | 78 ++++++++++++++++++++++++++
account_partner_required/i18n/hr.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/hu.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/it.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/ja.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/lt.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/mk.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/mn.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/nb.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/nl.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/nl_BE.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/pt.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/pt_BR.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/ro.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/ru.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/sl.po | 78 ++++++++++++++++++++++++++
account_partner_required/i18n/sv.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/tr.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/zh_CN.po | 77 +++++++++++++++++++++++++
account_partner_required/i18n/zh_TW.po | 77 +++++++++++++++++++++++++
30 files changed, 2312 insertions(+)
create mode 100644 account_partner_required/i18n/ar.po
create mode 100644 account_partner_required/i18n/bs.po
create mode 100644 account_partner_required/i18n/cs.po
create mode 100644 account_partner_required/i18n/de.po
create mode 100644 account_partner_required/i18n/en.po
create mode 100644 account_partner_required/i18n/en_GB.po
create mode 100644 account_partner_required/i18n/es.po
create mode 100644 account_partner_required/i18n/es_CR.po
create mode 100644 account_partner_required/i18n/es_EC.po
create mode 100644 account_partner_required/i18n/es_MX.po
create mode 100644 account_partner_required/i18n/fr.po
create mode 100644 account_partner_required/i18n/hr.po
create mode 100644 account_partner_required/i18n/hu.po
create mode 100644 account_partner_required/i18n/it.po
create mode 100644 account_partner_required/i18n/ja.po
create mode 100644 account_partner_required/i18n/lt.po
create mode 100644 account_partner_required/i18n/mk.po
create mode 100644 account_partner_required/i18n/mn.po
create mode 100644 account_partner_required/i18n/nb.po
create mode 100644 account_partner_required/i18n/nl.po
create mode 100644 account_partner_required/i18n/nl_BE.po
create mode 100644 account_partner_required/i18n/pt.po
create mode 100644 account_partner_required/i18n/pt_BR.po
create mode 100644 account_partner_required/i18n/ro.po
create mode 100644 account_partner_required/i18n/ru.po
create mode 100644 account_partner_required/i18n/sl.po
create mode 100644 account_partner_required/i18n/sv.po
create mode 100644 account_partner_required/i18n/tr.po
create mode 100644 account_partner_required/i18n/zh_CN.po
create mode 100644 account_partner_required/i18n/zh_TW.po
diff --git a/account_partner_required/i18n/ar.po b/account_partner_required/i18n/ar.po
new file mode 100644
index 00000000..1ac08308
--- /dev/null
+++ b/account_partner_required/i18n/ar.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ar/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ar\n"
+"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "عناصر دفتر اليومية"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/bs.po b/account_partner_required/i18n/bs.po
new file mode 100644
index 00000000..19781cc0
--- /dev/null
+++ b/account_partner_required/i18n/bs.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/bs/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: bs\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Stavke dnevnika"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/cs.po b/account_partner_required/i18n/cs.po
new file mode 100644
index 00000000..ddb64b1d
--- /dev/null
+++ b/account_partner_required/i18n/cs.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Czech (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/cs/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: cs\n"
+"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Položky deníku"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/de.po b/account_partner_required/i18n/de.po
new file mode 100644
index 00000000..757090a1
--- /dev/null
+++ b/account_partner_required/i18n/de.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: German (http://www.transifex.com/oca/OCA-account-financial-tools-8-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_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Journalbuchungen"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/en.po b/account_partner_required/i18n/en.po
new file mode 100644
index 00000000..4196252d
--- /dev/null
+++ b/account_partner_required/i18n/en.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: OCA Transbot \n"
+"Language-Team: English (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/en/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: en\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr "Account Type"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr "Always"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Journal Items"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr "Never"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr "Optional"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr "Partner policy is set to 'Always' with account %s '%s' but the partner is missing in the account move line with label '%s'."
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr "Partner policy is set to 'Never' with account %s '%s' but the account move line with label '%s' has a partner '%s'."
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr "Policy for partner field"
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr "Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present."
diff --git a/account_partner_required/i18n/en_GB.po b/account_partner_required/i18n/en_GB.po
new file mode 100644
index 00000000..6649c363
--- /dev/null
+++ b/account_partner_required/i18n/en_GB.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/en_GB/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: en_GB\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Journal Items"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/es.po b/account_partner_required/i18n/es.po
new file mode 100644
index 00000000..44109bb7
--- /dev/null
+++ b/account_partner_required/i18n/es.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/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: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Apuntes contables"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/es_CR.po b/account_partner_required/i18n/es_CR.po
new file mode 100644
index 00000000..4ce18678
--- /dev/null
+++ b/account_partner_required/i18n/es_CR.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_CR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: es_CR\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Elementos diario"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/es_EC.po b/account_partner_required/i18n/es_EC.po
new file mode 100644
index 00000000..33c76b6c
--- /dev/null
+++ b/account_partner_required/i18n/es_EC.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_EC/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: es_EC\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Asientos Contables"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/es_MX.po b/account_partner_required/i18n/es_MX.po
new file mode 100644
index 00000000..f1926acc
--- /dev/null
+++ b/account_partner_required/i18n/es_MX.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/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: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Elementos diario"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/fr.po b/account_partner_required/i18n/fr.po
new file mode 100644
index 00000000..6064f429
--- /dev/null
+++ b/account_partner_required/i18n/fr.po
@@ -0,0 +1,78 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+# Christophe kryskool , 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-08-03 16:08+0000\n"
+"Last-Translator: Christophe kryskool \n"
+"Language-Team: French (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/fr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: fr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr "Type de compte"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr "Toujours"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Lignes comptables"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr "Jamais"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr "Optionnel"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr "Champ poiitique du partenaire"
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/hr.po b/account_partner_required/i18n/hr.po
new file mode 100644
index 00000000..dda4c788
--- /dev/null
+++ b/account_partner_required/i18n/hr.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Croatian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/hr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: hr\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Stavke dnevnika"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/hu.po b/account_partner_required/i18n/hu.po
new file mode 100644
index 00000000..66d4a79d
--- /dev/null
+++ b/account_partner_required/i18n/hu.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/hu/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: hu\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Könyvelési tételsorok"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/it.po b/account_partner_required/i18n/it.po
new file mode 100644
index 00000000..4fdfd6d9
--- /dev/null
+++ b/account_partner_required/i18n/it.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Italian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/it/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: it\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Voci Sezionale"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/ja.po b/account_partner_required/i18n/ja.po
new file mode 100644
index 00000000..107d012d
--- /dev/null
+++ b/account_partner_required/i18n/ja.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Japanese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ja/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ja\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "仕訳項目"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/lt.po b/account_partner_required/i18n/lt.po
new file mode 100644
index 00000000..87f2b080
--- /dev/null
+++ b/account_partner_required/i18n/lt.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/lt/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: lt\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "DK įrašai"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/mk.po b/account_partner_required/i18n/mk.po
new file mode 100644
index 00000000..0e8b30d3
--- /dev/null
+++ b/account_partner_required/i18n/mk.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/mk/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: mk\n"
+"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Ставки на дневник"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/mn.po b/account_partner_required/i18n/mn.po
new file mode 100644
index 00000000..341eb75c
--- /dev/null
+++ b/account_partner_required/i18n/mn.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/mn/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: mn\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Журналын бичилт"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/nb.po b/account_partner_required/i18n/nb.po
new file mode 100644
index 00000000..27f74b34
--- /dev/null
+++ b/account_partner_required/i18n/nb.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nb/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: nb\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Journal Elementer"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/nl.po b/account_partner_required/i18n/nl.po
new file mode 100644
index 00000000..e658331c
--- /dev/null
+++ b/account_partner_required/i18n/nl.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Dutch (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: nl\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Boekingsregels"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/nl_BE.po b/account_partner_required/i18n/nl_BE.po
new file mode 100644
index 00000000..63457d04
--- /dev/null
+++ b/account_partner_required/i18n/nl_BE.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nl_BE/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: nl_BE\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Boekingslijnen"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/pt.po b/account_partner_required/i18n/pt.po
new file mode 100644
index 00000000..6b43f827
--- /dev/null
+++ b/account_partner_required/i18n/pt.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pt/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pt\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Items Diários"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/pt_BR.po b/account_partner_required/i18n/pt_BR.po
new file mode 100644
index 00000000..2c6bd11a
--- /dev/null
+++ b/account_partner_required/i18n/pt_BR.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pt_BR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: pt_BR\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Itens do Diário"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/ro.po b/account_partner_required/i18n/ro.po
new file mode 100644
index 00000000..bf927853
--- /dev/null
+++ b/account_partner_required/i18n/ro.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Romanian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ro/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ro\n"
+"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Elementele Jurnalului"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/ru.po b/account_partner_required/i18n/ru.po
new file mode 100644
index 00000000..59a9ae36
--- /dev/null
+++ b/account_partner_required/i18n/ru.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Russian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ru/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: ru\n"
+"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Элементы журнала"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/sl.po b/account_partner_required/i18n/sl.po
new file mode 100644
index 00000000..f5c4a53e
--- /dev/null
+++ b/account_partner_required/i18n/sl.po
@@ -0,0 +1,78 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+# Matjaž Mozetič , 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-21 08:58+0000\n"
+"Last-Translator: Matjaž Mozetič \n"
+"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sl/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sl\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr "Tip konta"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr "Vedno"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Dnevniške postavke"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr "Nikoli"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr "Opcijsko"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr "Pravilo partnerja je nastavljeno na 'vedno' s kontom %s '%s', a partnerju manjka kontna postavka premika z oznako '%s'."
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr "Pravilo partnerja je nastavljeno na 'nikoli' s kontom %s '%s', a postavka premika z oznako '%s' vsebuje partnerja '%s'."
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr "Pravilo polja partnerja"
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr "Nastavitev pravila polja partnerja: če izberete 'opcijsko', lahko računovodja določa partnerja na kontnem premiku s tem tipom konta; če izberete 'vedno', računovodja dobi opozorilo o napaki, kadar ni partnerja; če izberete 'nikoli', računovodja dobi sporočilo o napaki, kadar partner je prisoten."
diff --git a/account_partner_required/i18n/sv.po b/account_partner_required/i18n/sv.po
new file mode 100644
index 00000000..a8164d26
--- /dev/null
+++ b/account_partner_required/i18n/sv.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Swedish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sv/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: sv\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Transaktioner"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/tr.po b/account_partner_required/i18n/tr.po
new file mode 100644
index 00000000..b5441206
--- /dev/null
+++ b/account_partner_required/i18n/tr.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Turkish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/tr/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: tr\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "Günlük Maddeleri"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/zh_CN.po b/account_partner_required/i18n/zh_CN.po
new file mode 100644
index 00000000..e6b00313
--- /dev/null
+++ b/account_partner_required/i18n/zh_CN.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/zh_CN/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: zh_CN\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "日记帐项目"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/zh_TW.po b/account_partner_required/i18n/zh_TW.po
new file mode 100644
index 00000000..79cd1fdb
--- /dev/null
+++ b/account_partner_required/i18n/zh_TW.po
@@ -0,0 +1,77 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+msgid ""
+msgstr ""
+"Project-Id-Version: account-financial-tools (8.0)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2015-07-01 13:25+0000\n"
+"PO-Revision-Date: 2015-06-03 15:56+0000\n"
+"Last-Translator: <>\n"
+"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/zh_TW/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: zh_TW\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:33
+#, python-format
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Items"
+msgstr "帳簿項目"
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:34
+#, python-format
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:32
+#, python-format
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:74
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/account.py:82
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account %s '%s' but the account move "
+"line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: field:account.account.type,partner_policy:0
+msgid "Policy for partner field"
+msgstr ""
+
+#. module: account_partner_required
+#: help:account.account.type,partner_policy:0
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
From 090d4ba5350d9b0234da6d6823769a17b2aa01b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul?=
Date: Fri, 9 Oct 2015 09:59:23 +0200
Subject: [PATCH 18/42] [UPD] prefix versions with 8.0
---
account_partner_required/__openerp__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/account_partner_required/__openerp__.py b/account_partner_required/__openerp__.py
index 4e69e83d..0af0199d 100644
--- a/account_partner_required/__openerp__.py
+++ b/account_partner_required/__openerp__.py
@@ -22,7 +22,7 @@
{
'name': 'Account partner required',
- 'version': '0.1',
+ 'version': '8.0.0.1.0',
'category': 'Generic Modules/Accounting',
'license': 'AGPL-3',
'description': """This module adds an option "partner policy"
From 1e04c44f9b7d268b672df9f47da0dd3b7d4c5eaf Mon Sep 17 00:00:00 2001
From: "Pedro M. Baeza"
Date: Wed, 14 Oct 2015 02:52:55 +0200
Subject: [PATCH 19/42] [MIG] Make modules uninstallable
---
account_partner_required/__openerp__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/account_partner_required/__openerp__.py b/account_partner_required/__openerp__.py
index 0af0199d..d50d5752 100644
--- a/account_partner_required/__openerp__.py
+++ b/account_partner_required/__openerp__.py
@@ -42,5 +42,5 @@ account_analytic_required module.
'website': 'http://acsone.eu/',
'depends': ['account'],
'data': ['account_view.xml'],
- 'installable': True,
+ 'installable': False,
}
From 61be3d7810b7db5706ed932ad9460ac7e6c2987c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?=
Date: Mon, 15 Aug 2016 18:54:03 +0200
Subject: [PATCH 20/42] [FIX] remove en.po that was erroneously created by
transbot
---
account_partner_required/i18n/en.po | 77 -----------------------------
1 file changed, 77 deletions(-)
delete mode 100644 account_partner_required/i18n/en.po
diff --git a/account_partner_required/i18n/en.po b/account_partner_required/i18n/en.po
deleted file mode 100644
index 4196252d..00000000
--- a/account_partner_required/i18n/en.po
+++ /dev/null
@@ -1,77 +0,0 @@
-# Translation of Odoo Server.
-# This file contains the translation of the following modules:
-# * account_partner_required
-#
-# Translators:
-msgid ""
-msgstr ""
-"Project-Id-Version: account-financial-tools (8.0)\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-03 15:56+0000\n"
-"Last-Translator: OCA Transbot \n"
-"Language-Team: English (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/en/)\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: en\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-
-#. module: account_partner_required
-#: model:ir.model,name:account_partner_required.model_account_account_type
-msgid "Account Type"
-msgstr "Account Type"
-
-#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
-msgid "Always"
-msgstr "Always"
-
-#. module: account_partner_required
-#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
-msgstr "Journal Items"
-
-#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
-msgid "Never"
-msgstr "Never"
-
-#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
-msgid "Optional"
-msgstr "Optional"
-
-#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
-#, python-format
-msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
-"missing in the account move line with label '%s'."
-msgstr "Partner policy is set to 'Always' with account %s '%s' but the partner is missing in the account move line with label '%s'."
-
-#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
-#, python-format
-msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
-msgstr "Partner policy is set to 'Never' with account %s '%s' but the account move line with label '%s' has a partner '%s'."
-
-#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
-msgstr "Policy for partner field"
-
-#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
-msgid ""
-"Set the policy for the partner field : if you select 'Optional', the "
-"accountant is free to put a partner on an account move line with this type "
-"of account ; if you select 'Always', the accountant will get an error "
-"message if there is no partner ; if you select 'Never', the accountant will "
-"get an error message if a partner is present."
-msgstr "Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present."
From 153927075c51ac6384d818eee8fa279bdad84435 Mon Sep 17 00:00:00 2001
From: "Pedro M. Baeza"
Date: Thu, 6 Oct 2016 14:46:03 +0200
Subject: [PATCH 21/42] [MIG] Rename manifest files
---
account_partner_required/{__openerp__.py => __manifest__.py} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename account_partner_required/{__openerp__.py => __manifest__.py} (100%)
diff --git a/account_partner_required/__openerp__.py b/account_partner_required/__manifest__.py
similarity index 100%
rename from account_partner_required/__openerp__.py
rename to account_partner_required/__manifest__.py
From 8edfc72987763a49bfd88921ad85575ee7cef324 Mon Sep 17 00:00:00 2001
From: Alexis de Lattre
Date: Wed, 7 Dec 2016 15:30:10 +0100
Subject: [PATCH 22/42] Port account_partner_required to odoo 10
Add technical module account_type_menu
---
account_partner_required/README.rst | 68 +++++++
account_partner_required/__init__.py | 24 +--
account_partner_required/__manifest__.py | 53 ++---
account_partner_required/account.py | 95 ---------
account_partner_required/models/__init__.py | 3 +
account_partner_required/models/account.py | 79 ++++++++
.../tests/test_account_partner_required.py | 181 +++++++++---------
.../{account_view.xml => views/account.xml} | 19 +-
8 files changed, 264 insertions(+), 258 deletions(-)
create mode 100644 account_partner_required/README.rst
delete mode 100644 account_partner_required/account.py
create mode 100644 account_partner_required/models/__init__.py
create mode 100644 account_partner_required/models/account.py
rename account_partner_required/{account_view.xml => views/account.xml} (65%)
diff --git a/account_partner_required/README.rst b/account_partner_required/README.rst
new file mode 100644
index 00000000..dd3f5b7f
--- /dev/null
+++ b/account_partner_required/README.rst
@@ -0,0 +1,68 @@
+.. 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
+
+========================
+Account Partner Required
+========================
+
+This module adds an option *Partner policy* on account types.
+
+You have the choice between 3 policies:
+
+* *optional* (the default policy): partner is optional,
+* *always*: require a partner,
+* *never*: forbid a partner.
+
+This module is useful to enforce a partner on account move lines on
+customer and supplier accounts.
+
+This module is very similar to the module *account_analytic_required* available in the OCA project `account-analytic `_.
+
+Configuration
+=============
+
+Go to the menu *Accounting > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*.
+
+Usage
+=====
+
+If you put a partner on an account move line with an account whose type is configured with *Partner policy* = *never*, you will get an error message.
+
+If you don't put a partner on an account move line with an account whose type is configured with *Partner policy* = *always*, you will get an error message.
+
+.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
+ :alt: Try me on Runbot
+ :target: https://runbot.odoo-community.org/runbot/92/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 smashing it by providing a detailed and welcomed feedback.
+
+Credits
+=======
+
+Contributors
+------------
+
+* Stéphane Bidoul
+* Alexis de Lattre
+
+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.
diff --git a/account_partner_required/__init__.py b/account_partner_required/__init__.py
index 5cb88930..cde864ba 100644
--- a/account_partner_required/__init__.py
+++ b/account_partner_required/__init__.py
@@ -1,23 +1,3 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu).
-# @author Stéphane Bidoul
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
+# -*- coding: utf-8 -*-
-from . import account
+from . import models
diff --git a/account_partner_required/__manifest__.py b/account_partner_required/__manifest__.py
index d50d5752..fa9ba307 100644
--- a/account_partner_required/__manifest__.py
+++ b/account_partner_required/__manifest__.py
@@ -1,46 +1,19 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu).
-# @author Stéphane Bidoul
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
+# -*- coding: utf-8 -*-
+# © 2014-2016 Acsone (http://acsone.eu).
+# © 2016 Akretion (http://www.akretion.com/)
+# @author Stéphane Bidoul
+# @author Alexis de Lattre
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Account partner required',
- 'version': '8.0.0.1.0',
- 'category': 'Generic Modules/Accounting',
+ 'version': '10.0.1.0.0',
+ 'category': 'Accounting',
'license': 'AGPL-3',
- 'description': """This module adds an option "partner policy"
-on account types.
-
-You have the choice between 3 policies : optional (the default),
-always (require a partner), and never (forbid a partner).
-
-This module is useful to enforce a partner on account move lines on
-customer and supplier accounts.
-
-Module developed by Stéphane Bidoul ,
-inspired by Alexis de Lattre 's
-account_analytic_required module.
-""",
- 'author': "ACSONE SA/NV,Odoo Community Association (OCA)",
+ 'summary': "Adds an option 'partner policy' on account types",
+ 'author': "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
'website': 'http://acsone.eu/',
- 'depends': ['account'],
- 'data': ['account_view.xml'],
- 'installable': False,
+ 'depends': ['account_type_menu'],
+ 'data': ['views/account.xml'],
+ 'installable': True,
}
diff --git a/account_partner_required/account.py b/account_partner_required/account.py
deleted file mode 100644
index 92af74fa..00000000
--- a/account_partner_required/account.py
+++ /dev/null
@@ -1,95 +0,0 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu).
-# @author Stéphane Bidoul
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
-
-from openerp.osv import orm, fields
-from openerp.tools.translate import _
-
-
-class account_account_type(orm.Model):
- _inherit = "account.account.type"
-
- def _get_policies(self, cr, uid, context=None):
- """This is the method to be inherited for adding policies"""
- return [('optional', _('Optional')),
- ('always', _('Always')),
- ('never', _('Never'))]
-
- _columns = {
- 'partner_policy': fields.selection(
- lambda self, *args, **kwargs: self._get_policies(*args, **kwargs),
- 'Policy for partner field',
- required=True,
- help="Set the policy for the partner field : if you select "
- "'Optional', the accountant is free to put a partner "
- "on an account move line with this type of account ; "
- "if you select 'Always', the accountant will get an error "
- "message if there is no partner ; if you select 'Never', "
- "the accountant will get an error message if a partner "
- "is present."),
- }
-
- _defaults = {
- 'partner_policy': 'optional',
- }
-
-
-class account_move_line(orm.Model):
- _inherit = "account.move.line"
-
- def _get_partner_policy(self, cr, uid, account, context=None):
- """ Extension point to obtain analytic policy for an account """
- return account.user_type.partner_policy
-
- def _check_partner_required_msg(self, cr, uid, ids, context=None):
- for move_line in self.browse(cr, uid, ids, context):
- if move_line.debit == 0 and move_line.credit == 0:
- continue
- policy = self._get_partner_policy(cr, uid,
- move_line.account_id,
- context=context)
- if policy == 'always' and not move_line.partner_id:
- return _("Partner policy is set to 'Always' "
- "with account %s '%s' but the "
- "partner is missing in the account "
- "move line with label '%s'." %
- (move_line.account_id.code,
- move_line.account_id.name,
- move_line.name))
- elif policy == 'never' and move_line.partner_id:
- return _("Partner policy is set to 'Never' "
- "with account %s '%s' but the "
- "account move line with label '%s' "
- "has a partner '%s'." %
- (move_line.account_id.code,
- move_line.account_id.name,
- move_line.name,
- move_line.partner_id.name))
-
- def _check_partner_required(self, cr, uid, ids, context=None):
- return not self._check_partner_required_msg(cr, uid, ids,
- context=context)
-
- _constraints = [
- (_check_partner_required,
- _check_partner_required_msg,
- ['partner_id', 'account_id', 'debit', 'credit']),
- ]
diff --git a/account_partner_required/models/__init__.py b/account_partner_required/models/__init__.py
new file mode 100644
index 00000000..300089bd
--- /dev/null
+++ b/account_partner_required/models/__init__.py
@@ -0,0 +1,3 @@
+# -*- coding: utf-8 -*-
+
+from . import account
diff --git a/account_partner_required/models/account.py b/account_partner_required/models/account.py
new file mode 100644
index 00000000..2a6bfd22
--- /dev/null
+++ b/account_partner_required/models/account.py
@@ -0,0 +1,79 @@
+# -*- coding: utf-8 -*-
+# © 2014-2016 Acsone (http://acsone.eu)
+# © 2016 Akretion (http://www.akretion.com/)
+# @author Stéphane Bidoul
+# @author Alexis de Lattre
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
+
+from odoo import models, fields, api, _
+from odoo.tools import float_is_zero
+from odoo.exceptions import ValidationError
+
+
+class AccountAccountType(models.Model):
+ _inherit = "account.account.type"
+
+ @api.model
+ def _get_partner_policies(self):
+ """This is the method to be inherited for adding policies"""
+ return [('optional', _('Optional')),
+ ('always', _('Always')),
+ ('never', _('Never'))]
+
+ partner_policy = fields.Selection(
+ _get_partner_policies, string='Policy for Partner Field',
+ required=True, default='optional',
+ help="Set the policy for the partner field : if you select "
+ "'Optional', the accountant is free to put a partner "
+ "on an account move line with this type of account ; "
+ "if you select 'Always', the accountant will get an error "
+ "message if there is no partner ; if you select 'Never', "
+ "the accountant will get an error message if a partner "
+ "is present.")
+
+
+class AccountAccount(models.Model):
+ _inherit = 'account.account'
+
+ @api.multi
+ def get_partner_policy(self):
+ """ Extension point to obtain partner policy for an account """
+ self.ensure_one()
+ return self.user_type_id.partner_policy
+
+
+class AccountMoveLine(models.Model):
+ _inherit = "account.move.line"
+
+ @api.multi
+ def _check_partner_required_msg(self):
+ prec = self.env.user.company_id.currency_id.rounding
+ for line in self:
+ if (
+ float_is_zero(line.debit, precision_rounding=prec) and
+ float_is_zero(line.credit, precision_rounding=prec)):
+ continue
+ policy = line.account_id.get_partner_policy()
+ if policy == 'always' and not line.partner_id:
+ return _("Partner policy is set to 'Always' "
+ "with account '%s' but the "
+ "partner is missing in the account "
+ "move line with label '%s'." %
+ (line.account_id.name_get()[0][1],
+ line.name))
+ elif policy == 'never' and line.partner_id:
+ return _("Partner policy is set to 'Never' "
+ "with account '%s' but the "
+ "account move line with label '%s' "
+ "has a partner '%s'." %
+ (line.account_id.name_get()[0][1],
+ line.name,
+ line.partner_id.name))
+
+ @api.multi
+ @api.constrains('partner_id', 'account_id', 'debit', 'credit')
+ def _check_partner_required(self):
+ for line in self:
+ message = line._check_partner_required_msg()
+ if message:
+ raise ValidationError(message)
diff --git a/account_partner_required/tests/test_account_partner_required.py b/account_partner_required/tests/test_account_partner_required.py
index e66e7a68..c1921d16 100644
--- a/account_partner_required/tests/test_account_partner_required.py
+++ b/account_partner_required/tests/test_account_partner_required.py
@@ -1,131 +1,132 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu).
-# @author Stéphane Bidoul
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
+# -*- coding: utf-8 -*-
+# © 2014-2016 Acsone (http://acsone.eu)
+# © 2016 Akretion (http://www.akretion.com/)
+# @author Stéphane Bidoul
+# @author Alexis de Lattre
+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
+
from datetime import datetime
-
-from openerp.tests import common
-from openerp.osv import orm
+from odoo.tests import common
+from odoo.exceptions import ValidationError
-class test_account_partner_required(common.TransactionCase):
+class TestAccountPartnerRequired(common.TransactionCase):
def setUp(self):
- super(test_account_partner_required, self).setUp()
- self.account_obj = self.registry('account.account')
- self.account_type_obj = self.registry('account.account.type')
- self.move_obj = self.registry('account.move')
- self.move_line_obj = self.registry('account.move.line')
+ super(TestAccountPartnerRequired, self).setUp()
+ self.account_obj = self.env['account.account']
+ self.account_type_obj = self.env['account.account.type']
+ self.move_obj = self.env['account.move']
+ self.move_line_obj = self.env['account.move.line']
+ self.sale_journal = self.env['account.journal'].create({
+ 'type': 'sale',
+ 'code': 'SJXX',
+ 'name': 'Sale journal',
+ })
+ liq_acc_type = self.env.ref('account.data_account_type_liquidity')
+ self.account1 = self.account_obj.create({
+ 'code': '124242',
+ 'name': 'Test 1',
+ 'user_type_id': liq_acc_type.id,
+ })
+ self.account_type_custom = self.account_type_obj.create({
+ 'name': 'acc type test',
+ 'type': 'other',
+ 'partner_policy': 'optional',
+ })
+ self.account2 = self.account_obj.create({
+ 'code': '124243',
+ 'name': 'Test 2',
+ 'user_type_id': self.account_type_custom.id,
+ })
+ self.account3 = self.account_obj.create({
+ 'code': '124244',
+ 'name': 'Test 3',
+ 'user_type_id': self.account_type_custom.id,
+ })
def _create_move(self, with_partner, amount=100):
date = datetime.now()
- period_id = self.registry('account.period').find(
- self.cr, self.uid, date,
- context={'account_period_prefer_normal': True})[0]
+ if with_partner:
+ partner_id = self.env.ref('base.res_partner_1').id
+ else:
+ partner_id = False
move_vals = {
- 'journal_id': self.ref('account.sales_journal'),
- 'period_id': period_id,
+ 'journal_id': self.sale_journal.id,
'date': date,
- }
- move_id = self.move_obj.create(self.cr, self.uid, move_vals)
- self.move_line_obj.create(self.cr, self.uid,
- {'move_id': move_id,
- 'name': '/',
- 'debit': 0,
- 'credit': amount,
- 'account_id': self.ref('account.a_sale')})
- move_line_id = self.move_line_obj.create(
- self.cr, self.uid,
- {
- 'move_id': move_id,
- 'name': '/',
- 'debit': amount,
- 'credit': 0,
- 'account_id': self.ref('account.a_recv'),
- 'partner_id': self.ref('base.res_partner_1') if
- with_partner else False
+ 'line_ids': [
+ (0, 0, {
+ 'name': '/',
+ 'debit': 0,
+ 'credit': amount,
+ 'account_id': self.account1.id,
+ }),
+ (0, 0, {
+ 'name': '/',
+ 'debit': amount,
+ 'credit': 0,
+ 'account_id': self.account2.id,
+ 'partner_id': partner_id,
+ })
+ ],
}
- )
- return move_line_id
-
- def _set_partner_policy(self, policy, aref='account.a_recv'):
- account_type = self.account_obj.browse(self.cr, self.uid,
- self.ref(aref)).user_type
- self.account_type_obj.write(self.cr, self.uid, account_type.id,
- {'partner_policy': policy})
+ move = self.move_obj.create(move_vals)
+ move_line = False
+ for line in move.line_ids:
+ if line.account_id == self.account2:
+ move_line = line
+ break
+ return move_line
def test_optional(self):
self._create_move(with_partner=False)
self._create_move(with_partner=True)
def test_always_no_partner(self):
- self._set_partner_policy('always')
- with self.assertRaises(orm.except_orm):
+ self.account_type_custom.partner_policy = 'always'
+ with self.assertRaises(ValidationError):
self._create_move(with_partner=False)
def test_always_no_partner_0(self):
# accept missing partner when debit=credit=0
- self._set_partner_policy('always')
+ self.account_type_custom.partner_policy = 'always'
self._create_move(with_partner=False, amount=0)
def test_always_with_partner(self):
- self._set_partner_policy('always')
+ self.account_type_custom.partner_policy = 'always'
self._create_move(with_partner=True)
def test_never_no_partner(self):
- self._set_partner_policy('never')
+ self.account_type_custom.partner_policy = 'never'
self._create_move(with_partner=False)
def test_never_with_partner(self):
- self._set_partner_policy('never')
- with self.assertRaises(orm.except_orm):
+ self.account_type_custom.partner_policy = 'never'
+ with self.assertRaises(ValidationError):
self._create_move(with_partner=True)
def test_never_with_partner_0(self):
+ self.account_type_custom.partner_policy = 'never'
# accept partner when debit=credit=0
- self._set_partner_policy('never')
self._create_move(with_partner=True, amount=0)
def test_always_remove_partner(self):
# remove partner when policy is always
- self._set_partner_policy('always')
- line_id = self._create_move(with_partner=True)
- with self.assertRaises(orm.except_orm):
- self.move_line_obj.write(self.cr, self.uid, [line_id],
- {'partner_id': False})
+ self.account_type_custom.partner_policy = 'always'
+ line = self._create_move(with_partner=True)
+ with self.assertRaises(ValidationError):
+ line.write({'partner_id': False})
def test_change_account(self):
- self._set_partner_policy('always', aref='account.a_pay')
- line_id = self._create_move(with_partner=False)
- # change account to a_pay with policy always but missing partner
- with self.assertRaises(orm.except_orm):
- self.move_line_obj.write(self.cr, self.uid, [line_id],
- {'account_id': self.ref('account.a_pay')})
- # change account to a_pay with policy always with partner -> ok
- self.move_line_obj.write(
- self.cr,
- self.uid,
- [line_id],
- {
- 'account_id': self.ref('account.a_pay'),
- 'partner_id': self.ref('base.res_partner_1')
- }
- )
+ self.account_type_custom.partner_policy = 'optional'
+ line = self._create_move(with_partner=False)
+ # change account to an account with policy always but missing partner
+ self.account_type_custom.partner_policy = 'always'
+ with self.assertRaises(ValidationError):
+ line.write({'account_id': self.account3.id})
+ # change account to an account with policy always with partner
+ line.write({
+ 'account_id': self.account3.id,
+ 'partner_id': self.env.ref('base.res_partner_1').id
+ })
diff --git a/account_partner_required/account_view.xml b/account_partner_required/views/account.xml
similarity index 65%
rename from account_partner_required/account_view.xml
rename to account_partner_required/views/account.xml
index 85d1c453..3858fe87 100644
--- a/account_partner_required/account_view.xml
+++ b/account_partner_required/views/account.xml
@@ -1,21 +1,19 @@
-
-
+
-
+
account_partner_required.account_type_form
account.account.type
-
-
+
+
@@ -25,11 +23,10 @@
account.account.type
-
+
-
-
+
From efafe5855d46f0cc19e738ef4c4b27a3aff9001c Mon Sep 17 00:00:00 2001
From: Alexis de Lattre
Date: Wed, 7 Dec 2016 17:17:42 +0100
Subject: [PATCH 23/42] Remove method _get_partner_policies (not needed with
new API)
---
account_partner_required/models/account.py | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/account_partner_required/models/account.py b/account_partner_required/models/account.py
index 2a6bfd22..a2eb5849 100644
--- a/account_partner_required/models/account.py
+++ b/account_partner_required/models/account.py
@@ -13,15 +13,11 @@ from odoo.exceptions import ValidationError
class AccountAccountType(models.Model):
_inherit = "account.account.type"
- @api.model
- def _get_partner_policies(self):
- """This is the method to be inherited for adding policies"""
- return [('optional', _('Optional')),
- ('always', _('Always')),
- ('never', _('Never'))]
-
- partner_policy = fields.Selection(
- _get_partner_policies, string='Policy for Partner Field',
+ partner_policy = fields.Selection([
+ ('optional', 'Optional'),
+ ('always', 'Always'),
+ ('never', 'Never'),
+ ], string='Policy for Partner Field',
required=True, default='optional',
help="Set the policy for the partner field : if you select "
"'Optional', the accountant is free to put a partner "
From 642b63e6c2af480e13c87b9f7916f79b70607b71 Mon Sep 17 00:00:00 2001
From: Alexis de Lattre
Date: Tue, 10 Jan 2017 16:36:07 +0100
Subject: [PATCH 24/42] FIX translation method (bug reported by yvaucher)
---
account_partner_required/models/account.py | 24 ++++++++++------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/account_partner_required/models/account.py b/account_partner_required/models/account.py
index a2eb5849..dbeff893 100644
--- a/account_partner_required/models/account.py
+++ b/account_partner_required/models/account.py
@@ -51,20 +51,18 @@ class AccountMoveLine(models.Model):
continue
policy = line.account_id.get_partner_policy()
if policy == 'always' and not line.partner_id:
- return _("Partner policy is set to 'Always' "
- "with account '%s' but the "
- "partner is missing in the account "
- "move line with label '%s'." %
- (line.account_id.name_get()[0][1],
- line.name))
+ return _(
+ "Partner policy is set to 'Always' with account '%s' but "
+ "the partner is missing in the account move line with "
+ "label '%s'.") % (line.account_id.name_get()[0][1],
+ line.name)
elif policy == 'never' and line.partner_id:
- return _("Partner policy is set to 'Never' "
- "with account '%s' but the "
- "account move line with label '%s' "
- "has a partner '%s'." %
- (line.account_id.name_get()[0][1],
- line.name,
- line.partner_id.name))
+ return _(
+ "Partner policy is set to 'Never' with account '%s' but "
+ "the account move line with label '%s' has a partner "
+ "'%s'.") % (line.account_id.name_get()[0][1],
+ line.name,
+ line.partner_id.name)
@api.multi
@api.constrains('partner_id', 'account_id', 'debit', 'credit')
From 1f6801d4245f68544dfd67655b43ae49ecee8db2 Mon Sep 17 00:00:00 2001
From: Raf Ven
Date: Thu, 1 Mar 2018 09:36:43 +0100
Subject: [PATCH 25/42] [MIG] account_partner_required: Migration to 11.0
---
account_partner_required/README.rst | 12 +++++++--
account_partner_required/__init__.py | 1 -
account_partner_required/__manifest__.py | 27 +++++++++++--------
account_partner_required/models/__init__.py | 1 -
account_partner_required/models/account.py | 15 ++++++-----
account_partner_required/tests/__init__.py | 21 ---------------
.../tests/test_account_partner_required.py | 1 -
7 files changed, 34 insertions(+), 44 deletions(-)
diff --git a/account_partner_required/README.rst b/account_partner_required/README.rst
index dd3f5b7f..66ee8160 100644
--- a/account_partner_required/README.rst
+++ b/account_partner_required/README.rst
@@ -1,5 +1,5 @@
-.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
- :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
+.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
+ :target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3
========================
@@ -46,11 +46,19 @@ help us smashing it by providing a detailed and welcomed feedback.
Credits
=======
+Images
+------
+
+* Odoo Community Association: `Icon `_.
+
Contributors
------------
* Stéphane Bidoul
* Alexis de Lattre
+* Raf Ven
+
+Do not contact contributors directly about support or help with technical issues.
Maintainer
----------
diff --git a/account_partner_required/__init__.py b/account_partner_required/__init__.py
index cde864ba..a9e33722 100644
--- a/account_partner_required/__init__.py
+++ b/account_partner_required/__init__.py
@@ -1,3 +1,2 @@
-# -*- coding: utf-8 -*-
from . import models
diff --git a/account_partner_required/__manifest__.py b/account_partner_required/__manifest__.py
index fa9ba307..4cb24c9c 100644
--- a/account_partner_required/__manifest__.py
+++ b/account_partner_required/__manifest__.py
@@ -1,19 +1,24 @@
-# -*- coding: utf-8 -*-
# © 2014-2016 Acsone (http://acsone.eu).
# © 2016 Akretion (http://www.akretion.com/)
# @author Stéphane Bidoul
# @author Alexis de Lattre
+# © 2018 DynApps (https://odoo.dynapps.be/)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
- 'name': 'Account partner required',
- 'version': '10.0.1.0.0',
- 'category': 'Accounting',
- 'license': 'AGPL-3',
- 'summary': "Adds an option 'partner policy' on account types",
- 'author': "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
- 'website': 'http://acsone.eu/',
- 'depends': ['account_type_menu'],
- 'data': ['views/account.xml'],
- 'installable': True,
+ "name": "Account partner required",
+ "version": "11.0.1.0.0",
+ "category": "Accounting",
+ "license": "AGPL-3",
+ "summary": "Adds an option 'partner policy' on account types",
+ "author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
+ "website": "http://acsone.eu/",
+ "depends": [
+ "account_type_menu",
+ ],
+ "data": [
+ "views/account.xml",
+ ],
+ "installable": True,
+ "application": False,
}
diff --git a/account_partner_required/models/__init__.py b/account_partner_required/models/__init__.py
index 300089bd..612263b7 100644
--- a/account_partner_required/models/__init__.py
+++ b/account_partner_required/models/__init__.py
@@ -1,3 +1,2 @@
-# -*- coding: utf-8 -*-
from . import account
diff --git a/account_partner_required/models/account.py b/account_partner_required/models/account.py
index dbeff893..2eace437 100644
--- a/account_partner_required/models/account.py
+++ b/account_partner_required/models/account.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
# © 2014-2016 Acsone (http://acsone.eu)
# © 2016 Akretion (http://www.akretion.com/)
# @author Stéphane Bidoul
@@ -13,12 +12,14 @@ from odoo.exceptions import ValidationError
class AccountAccountType(models.Model):
_inherit = "account.account.type"
- partner_policy = fields.Selection([
- ('optional', 'Optional'),
- ('always', 'Always'),
- ('never', 'Never'),
- ], string='Policy for Partner Field',
- required=True, default='optional',
+ partner_policy = fields.Selection(
+ selection=[
+ ('optional', 'Optional'),
+ ('always', 'Always'),
+ ('never', 'Never')],
+ string='Policy for Partner Field',
+ required=True,
+ default='optional',
help="Set the policy for the partner field : if you select "
"'Optional', the accountant is free to put a partner "
"on an account move line with this type of account ; "
diff --git a/account_partner_required/tests/__init__.py b/account_partner_required/tests/__init__.py
index 7b3bbb52..99322026 100644
--- a/account_partner_required/tests/__init__.py
+++ b/account_partner_required/tests/__init__.py
@@ -1,23 +1,2 @@
-# -*- encoding: utf-8 -*-
-##############################################################################
-#
-# Account partner required module for OpenERP
-# Copyright (C) 2014 Acsone (http://acsone.eu).
-# @author Stéphane Bidoul
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see .
-#
-##############################################################################
from . import test_account_partner_required
diff --git a/account_partner_required/tests/test_account_partner_required.py b/account_partner_required/tests/test_account_partner_required.py
index c1921d16..0fdc8aa8 100644
--- a/account_partner_required/tests/test_account_partner_required.py
+++ b/account_partner_required/tests/test_account_partner_required.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
# © 2014-2016 Acsone (http://acsone.eu)
# © 2016 Akretion (http://www.akretion.com/)
# @author Stéphane Bidoul
From c9d2f68b45b24d7081c816bed33bf2685c15800d Mon Sep 17 00:00:00 2001
From: OCA Transbot
Date: Fri, 13 Jan 2017 18:04:25 -0500
Subject: [PATCH 26/42] OCA Transbot updated translations from Transifex
---
account_partner_required/i18n/de.po | 45 ++++++++-------
account_partner_required/i18n/es_EC.po | 45 ++++++++-------
account_partner_required/i18n/fr.po | 48 ++++++++--------
account_partner_required/i18n/hr.po | 68 +++++++++++++---------
account_partner_required/i18n/lt.po | 51 ++++++++--------
account_partner_required/i18n/nl.po | 45 ++++++++-------
account_partner_required/i18n/nl_NL.po | 80 ++++++++++++++++++++++++++
account_partner_required/i18n/sl.po | 59 ++++++++++---------
account_partner_required/i18n/tr_TR.po | 80 ++++++++++++++++++++++++++
9 files changed, 357 insertions(+), 164 deletions(-)
create mode 100644 account_partner_required/i18n/nl_NL.po
create mode 100644 account_partner_required/i18n/tr_TR.po
diff --git a/account_partner_required/i18n/de.po b/account_partner_required/i18n/de.po
index 757090a1..e06af443 100644
--- a/account_partner_required/i18n/de.po
+++ b/account_partner_required/i18n/de.po
@@ -3,71 +3,74 @@
# * account_partner_required
#
# Translators:
+# Rudolf Schnapka , 2017
msgid ""
msgstr ""
-"Project-Id-Version: account-financial-tools (8.0)\n"
+"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-03 15:56+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: German (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/de/)\n"
+"POT-Creation-Date: 2017-12-22 23:21+0000\n"
+"PO-Revision-Date: 2017-12-22 23:21+0000\n"
+"Last-Translator: Rudolf Schnapka , 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: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
-msgstr "Journalbuchungen"
+msgid "Journal Item"
+msgstr "Journalposten"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:54
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:60
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/es_EC.po b/account_partner_required/i18n/es_EC.po
index 33c76b6c..a49f8101 100644
--- a/account_partner_required/i18n/es_EC.po
+++ b/account_partner_required/i18n/es_EC.po
@@ -3,71 +3,74 @@
# * account_partner_required
#
# Translators:
+# Cristian Salamea , 2017
msgid ""
msgstr ""
-"Project-Id-Version: account-financial-tools (8.0)\n"
+"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-03 15:56+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_EC/)\n"
+"POT-Creation-Date: 2017-05-30 00:47+0000\n"
+"PO-Revision-Date: 2017-05-30 00:47+0000\n"
+"Last-Translator: Cristian Salamea , 2017\n"
+"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es_EC\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
-msgstr "Asientos Contables"
+msgid "Journal Item"
+msgstr "Detalle Contable"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:54
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:60
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/fr.po b/account_partner_required/i18n/fr.po
index 6064f429..819cc8d8 100644
--- a/account_partner_required/i18n/fr.po
+++ b/account_partner_required/i18n/fr.po
@@ -3,72 +3,74 @@
# * account_partner_required
#
# Translators:
-# Christophe kryskool , 2015
+# OCA Transbot , 2017
msgid ""
msgstr ""
-"Project-Id-Version: account-financial-tools (8.0)\n"
+"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-08-03 16:08+0000\n"
-"Last-Translator: Christophe kryskool \n"
-"Language-Team: French (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/fr/)\n"
+"POT-Creation-Date: 2017-11-28 23:24+0000\n"
+"PO-Revision-Date: 2017-11-28 23:24+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr "Compte"
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr "Type de compte"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr "Toujours"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
-msgstr "Lignes comptables"
+msgid "Journal Item"
+msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr "Jamais"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr "Optionnel"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:54
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:60
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
-msgstr "Champ poiitique du partenaire"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
+msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/hr.po b/account_partner_required/i18n/hr.po
index dda4c788..3f5fb1a2 100644
--- a/account_partner_required/i18n/hr.po
+++ b/account_partner_required/i18n/hr.po
@@ -3,14 +3,15 @@
# * account_partner_required
#
# Translators:
+# Bole , 2017
msgid ""
msgstr ""
-"Project-Id-Version: account-financial-tools (8.0)\n"
+"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-03 15:56+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Croatian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/hr/)\n"
+"POT-Creation-Date: 2017-04-27 00:40+0000\n"
+"PO-Revision-Date: 2017-04-27 00:40+0000\n"
+"Last-Translator: Bole , 2017\n"
+"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
@@ -18,56 +19,62 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: account_partner_required
-#: model:ir.model,name:account_partner_required.model_account_account_type
-msgid "Account Type"
-msgstr ""
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr "Konto"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr "Vrsta konta"
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
msgid "Always"
-msgstr ""
+msgstr "Uvjek"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
-msgstr "Stavke dnevnika"
+msgid "Journal Item"
+msgstr "Stavka dnevnika"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
-msgstr ""
+msgstr "Nikad"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
-msgstr ""
+msgstr "Opcija"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:54
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
+"Pravilo partnera je postavljeno na 'Uvjek' za konto '%s' ali partner "
+"nedostaje na stavci temeljnice sa nazivom '%s'."
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:60
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
msgstr ""
+"Pravilo partnera je postavljeno na 'Nikad' za konto '%s' ali stavka "
+"temeljnice sa nazivom '%s' ima dodijeljenog partnera '%s'."
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
-msgstr ""
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
+msgstr "Pravilo za partnera"
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
@@ -75,3 +82,8 @@ msgid ""
"message if there is no partner ; if you select 'Never', the accountant will "
"get an error message if a partner is present."
msgstr ""
+"Postavite pravilo za polje partner: ako odaberete 'Opcija', knjigovođi je "
+"odobreno da postavi partnera na stavku temeljnice sa ovim tipom konta; ako "
+"odaberete 'Uvjek', knjigovođa će dobiti poruku greške ako partner nedostaje;"
+" ako odaberete 'Nikad' knjigovođa će dobiti poruku greške ako je partner "
+"dodijeljen."
diff --git a/account_partner_required/i18n/lt.po b/account_partner_required/i18n/lt.po
index 87f2b080..1e4d7c62 100644
--- a/account_partner_required/i18n/lt.po
+++ b/account_partner_required/i18n/lt.po
@@ -3,14 +3,15 @@
# * account_partner_required
#
# Translators:
+# Viktoras Norkus , 2018
msgid ""
msgstr ""
-"Project-Id-Version: account-financial-tools (8.0)\n"
+"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-03 15:56+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/lt/)\n"
+"POT-Creation-Date: 2018-02-01 03:44+0000\n"
+"PO-Revision-Date: 2018-02-01 03:44+0000\n"
+"Last-Translator: Viktoras Norkus , 2018\n"
+"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
@@ -18,56 +19,58 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: account_partner_required
-#: model:ir.model,name:account_partner_required.model_account_account_type
-msgid "Account Type"
-msgstr ""
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr "Sąskaita"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr "Sąskaitos tipas"
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
-msgstr "DK įrašai"
+msgid "Journal Item"
+msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:54
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:60
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nl.po b/account_partner_required/i18n/nl.po
index e658331c..411d48e4 100644
--- a/account_partner_required/i18n/nl.po
+++ b/account_partner_required/i18n/nl.po
@@ -3,71 +3,74 @@
# * account_partner_required
#
# Translators:
+# Frank Schellenberg , 2018
msgid ""
msgstr ""
-"Project-Id-Version: account-financial-tools (8.0)\n"
+"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-03 15:56+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Dutch (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nl/)\n"
+"POT-Creation-Date: 2018-01-25 11:47+0000\n"
+"PO-Revision-Date: 2018-01-25 11:47+0000\n"
+"Last-Translator: Frank Schellenberg , 2018\n"
+"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr "Rekening"
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
-msgstr "Boekingsregels"
+msgid "Journal Item"
+msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:54
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:60
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nl_NL.po b/account_partner_required/i18n/nl_NL.po
new file mode 100644
index 00000000..ddd42699
--- /dev/null
+++ b/account_partner_required/i18n/nl_NL.po
@@ -0,0 +1,80 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+# Frank Schellenberg , 2018
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-01-25 11:47+0000\n"
+"PO-Revision-Date: 2018-01-25 11:47+0000\n"
+"Last-Translator: Frank Schellenberg , 2018\n"
+"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/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_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr "Rekening"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Item"
+msgstr ""
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/models/account.py:54
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/models/account.py:60
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
diff --git a/account_partner_required/i18n/sl.po b/account_partner_required/i18n/sl.po
index f5c4a53e..573d3708 100644
--- a/account_partner_required/i18n/sl.po
+++ b/account_partner_required/i18n/sl.po
@@ -3,76 +3,83 @@
# * account_partner_required
#
# Translators:
-# Matjaž Mozetič , 2015
+# OCA Transbot , 2017
msgid ""
msgstr ""
-"Project-Id-Version: account-financial-tools (8.0)\n"
+"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-21 08:58+0000\n"
-"Last-Translator: Matjaž Mozetič \n"
-"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sl/)\n"
+"POT-Creation-Date: 2017-01-11 03:36+0000\n"
+"PO-Revision-Date: 2017-01-11 03:36+0000\n"
+"Last-Translator: OCA Transbot , 2017\n"
+"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: sl\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr "Tip konta"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr "Vedno"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
-msgstr "Dnevniške postavke"
+msgid "Journal Item"
+msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr "Nikoli"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr "Opcijsko"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:54
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
-msgstr "Pravilo partnerja je nastavljeno na 'vedno' s kontom %s '%s', a partnerju manjka kontna postavka premika z oznako '%s'."
+msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:60
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
-msgstr "Pravilo partnerja je nastavljeno na 'nikoli' s kontom %s '%s', a postavka premika z oznako '%s' vsebuje partnerja '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
+msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
-msgstr "Pravilo polja partnerja"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
+msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
"of account ; if you select 'Always', the accountant will get an error "
"message if there is no partner ; if you select 'Never', the accountant will "
"get an error message if a partner is present."
-msgstr "Nastavitev pravila polja partnerja: če izberete 'opcijsko', lahko računovodja določa partnerja na kontnem premiku s tem tipom konta; če izberete 'vedno', računovodja dobi opozorilo o napaki, kadar ni partnerja; če izberete 'nikoli', računovodja dobi sporočilo o napaki, kadar partner je prisoten."
+msgstr ""
+"Nastavitev pravila polja partnerja: če izberete 'opcijsko', lahko "
+"računovodja določa partnerja na kontnem premiku s tem tipom konta; če "
+"izberete 'vedno', računovodja dobi opozorilo o napaki, kadar ni partnerja; "
+"če izberete 'nikoli', računovodja dobi sporočilo o napaki, kadar partner je "
+"prisoten."
diff --git a/account_partner_required/i18n/tr_TR.po b/account_partner_required/i18n/tr_TR.po
new file mode 100644
index 00000000..92352fcb
--- /dev/null
+++ b/account_partner_required/i18n/tr_TR.po
@@ -0,0 +1,80 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+# Translators:
+# Ediz Duman , 2017
+msgid ""
+msgstr ""
+"Project-Id-Version: Odoo Server 10.0\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2017-04-27 00:40+0000\n"
+"PO-Revision-Date: 2017-04-27 00:40+0000\n"
+"Last-Translator: Ediz Duman , 2017\n"
+"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: \n"
+"Language: tr_TR\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Item"
+msgstr "Yevmiye Öğe"
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/models/account.py:54
+#, python-format
+msgid ""
+"Partner policy is set to 'Always' with account '%s' but the partner is "
+"missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/models/account.py:60
+#, python-format
+msgid ""
+"Partner policy is set to 'Never' with account '%s' but the account move line"
+" with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+msgid ""
+"Set the policy for the partner field : if you select 'Optional', the "
+"accountant is free to put a partner on an account move line with this type "
+"of account ; if you select 'Always', the accountant will get an error "
+"message if there is no partner ; if you select 'Never', the accountant will "
+"get an error message if a partner is present."
+msgstr ""
From ec7acc1b92217d1f7066510af3b7071317c0a84e Mon Sep 17 00:00:00 2001
From: oca-travis
Date: Tue, 19 Jun 2018 23:27:33 +0000
Subject: [PATCH 27/42] [UPD] Update account_partner_required.pot
---
.../i18n/account_partner_required.pot | 67 +++++++++++++++++++
account_partner_required/i18n/ar.po | 43 ++++++------
account_partner_required/i18n/bs.po | 43 ++++++------
account_partner_required/i18n/cs.po | 40 ++++++-----
account_partner_required/i18n/de.po | 12 ++--
account_partner_required/i18n/en_GB.po | 40 ++++++-----
account_partner_required/i18n/es.po | 40 ++++++-----
account_partner_required/i18n/es_CR.po | 40 ++++++-----
account_partner_required/i18n/es_EC.po | 15 +++--
account_partner_required/i18n/es_MX.po | 40 ++++++-----
account_partner_required/i18n/fr.po | 12 ++--
account_partner_required/i18n/hr.po | 19 +++---
account_partner_required/i18n/hu.po | 40 ++++++-----
account_partner_required/i18n/it.po | 40 ++++++-----
account_partner_required/i18n/ja.po | 40 ++++++-----
account_partner_required/i18n/lt.po | 15 +++--
account_partner_required/i18n/mk.po | 40 ++++++-----
account_partner_required/i18n/mn.po | 40 ++++++-----
account_partner_required/i18n/nb.po | 40 ++++++-----
account_partner_required/i18n/nl.po | 12 ++--
account_partner_required/i18n/nl_BE.po | 40 ++++++-----
account_partner_required/i18n/nl_NL.po | 15 +++--
account_partner_required/i18n/pt.po | 40 ++++++-----
account_partner_required/i18n/pt_BR.po | 40 ++++++-----
account_partner_required/i18n/ro.po | 43 ++++++------
account_partner_required/i18n/ru.po | 44 ++++++------
account_partner_required/i18n/sl.po | 15 +++--
account_partner_required/i18n/sv.po | 40 ++++++-----
account_partner_required/i18n/tr.po | 40 ++++++-----
account_partner_required/i18n/tr_TR.po | 15 +++--
account_partner_required/i18n/zh_CN.po | 40 ++++++-----
account_partner_required/i18n/zh_TW.po | 40 ++++++-----
32 files changed, 628 insertions(+), 462 deletions(-)
create mode 100644 account_partner_required/i18n/account_partner_required.pot
diff --git a/account_partner_required/i18n/account_partner_required.pot b/account_partner_required/i18n/account_partner_required.pot
new file mode 100644
index 00000000..37d58e46
--- /dev/null
+++ b/account_partner_required/i18n/account_partner_required.pot
@@ -0,0 +1,67 @@
+# Translation of Odoo Server.
+# This file contains the translation of the following modules:
+# * account_partner_required
+#
+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_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account_type
+msgid "Account Type"
+msgstr ""
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Always"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_move_line
+msgid "Journal Item"
+msgstr ""
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Never"
+msgstr ""
+
+#. module: account_partner_required
+#: selection:account.account.type,partner_policy:0
+msgid "Optional"
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/models/account.py:55
+#, python-format
+msgid "Partner policy is set to 'Always' with account '%s' but the partner is missing in the account move line with label '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: code:addons/account_partner_required/models/account.py:61
+#, python-format
+msgid "Partner policy is set to 'Never' with account '%s' but the account move line with label '%s' has a partner '%s'."
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
+msgstr ""
+
+#. module: account_partner_required
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+msgid "Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present."
+msgstr ""
+
diff --git a/account_partner_required/i18n/ar.po b/account_partner_required/i18n/ar.po
index 1ac08308..241a610e 100644
--- a/account_partner_required/i18n/ar.po
+++ b/account_partner_required/i18n/ar.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,12 +10,19 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ar/)\n"
+"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/ar/)\n"
+"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: ar\n"
-"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
+"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
+"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
@@ -23,51 +30,49 @@ msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "عناصر دفتر اليومية"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/bs.po b/account_partner_required/i18n/bs.po
index 19781cc0..986f7b9a 100644
--- a/account_partner_required/i18n/bs.po
+++ b/account_partner_required/i18n/bs.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,12 +10,19 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/bs/)\n"
+"Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/bs/)\n"
+"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: bs\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
@@ -23,51 +30,49 @@ msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Stavke dnevnika"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/cs.po b/account_partner_required/i18n/cs.po
index ddb64b1d..b8cd5d9d 100644
--- a/account_partner_required/i18n/cs.po
+++ b/account_partner_required/i18n/cs.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Czech (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/cs/)\n"
+"Language-Team: Czech (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/cs/)\n"
+"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: cs\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Položky deníku"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/de.po b/account_partner_required/i18n/de.po
index e06af443..0b42be41 100644
--- a/account_partner_required/i18n/de.po
+++ b/account_partner_required/i18n/de.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# Rudolf Schnapka , 2017
msgid ""
@@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2017-12-22 23:21+0000\n"
"Last-Translator: Rudolf Schnapka , 2017\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
+"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_partner_required
@@ -49,7 +49,7 @@ msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -57,11 +57,11 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
diff --git a/account_partner_required/i18n/en_GB.po b/account_partner_required/i18n/en_GB.po
index 6649c363..4eccae1f 100644
--- a/account_partner_required/i18n/en_GB.po
+++ b/account_partner_required/i18n/en_GB.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/en_GB/)\n"
+"Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-"
+"account-financial-tools-8-0/language/en_GB/)\n"
+"Language: en_GB\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Journal Items"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/es.po b/account_partner_required/i18n/es.po
index 44109bb7..adcd1045 100644
--- a/account_partner_required/i18n/es.po
+++ b/account_partner_required/i18n/es.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es/)\n"
+"Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/es/)\n"
+"Language: 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: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Apuntes contables"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/es_CR.po b/account_partner_required/i18n/es_CR.po
index 4ce18678..21677ff0 100644
--- a/account_partner_required/i18n/es_CR.po
+++ b/account_partner_required/i18n/es_CR.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_CR/)\n"
+"Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-"
+"account-financial-tools-8-0/language/es_CR/)\n"
+"Language: es_CR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: es_CR\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Elementos diario"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/es_EC.po b/account_partner_required/i18n/es_EC.po
index a49f8101..f93709de 100644
--- a/account_partner_required/i18n/es_EC.po
+++ b/account_partner_required/i18n/es_EC.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# Cristian Salamea , 2017
msgid ""
@@ -11,11 +11,12 @@ msgstr ""
"POT-Creation-Date: 2017-05-30 00:47+0000\n"
"PO-Revision-Date: 2017-05-30 00:47+0000\n"
"Last-Translator: Cristian Salamea , 2017\n"
-"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/es_EC/)\n"
+"Language-Team: Spanish (Ecuador) (https://www.transifex.com/oca/teams/23907/"
+"es_EC/)\n"
+"Language: es_EC\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: es_EC\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: account_partner_required
@@ -49,7 +50,7 @@ msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -57,11 +58,11 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
diff --git a/account_partner_required/i18n/es_MX.po b/account_partner_required/i18n/es_MX.po
index f1926acc..947e16c5 100644
--- a/account_partner_required/i18n/es_MX.po
+++ b/account_partner_required/i18n/es_MX.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/es_MX/)\n"
+"Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-"
+"financial-tools-8-0/language/es_MX/)\n"
+"Language: 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: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Elementos diario"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/fr.po b/account_partner_required/i18n/fr.po
index 819cc8d8..0959027d 100644
--- a/account_partner_required/i18n/fr.po
+++ b/account_partner_required/i18n/fr.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# OCA Transbot , 2017
msgid ""
@@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2017-11-28 23:24+0000\n"
"Last-Translator: OCA Transbot , 2017\n"
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
+"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
#. module: account_partner_required
@@ -49,7 +49,7 @@ msgid "Optional"
msgstr "Optionnel"
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -57,11 +57,11 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
diff --git a/account_partner_required/i18n/hr.po b/account_partner_required/i18n/hr.po
index 3f5fb1a2..31d2d877 100644
--- a/account_partner_required/i18n/hr.po
+++ b/account_partner_required/i18n/hr.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# Bole , 2017
msgid ""
@@ -12,11 +12,12 @@ msgstr ""
"PO-Revision-Date: 2017-04-27 00:40+0000\n"
"Last-Translator: Bole , 2017\n"
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
+"Language: hr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: hr\n"
-"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account
@@ -49,7 +50,7 @@ msgid "Optional"
msgstr "Opcija"
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -59,11 +60,11 @@ msgstr ""
"nedostaje na stavci temeljnice sa nazivom '%s'."
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
"Pravilo partnera je postavljeno na 'Nikad' za konto '%s' ali stavka "
"temeljnice sa nazivom '%s' ima dodijeljenog partnera '%s'."
@@ -84,6 +85,6 @@ msgid ""
msgstr ""
"Postavite pravilo za polje partner: ako odaberete 'Opcija', knjigovođi je "
"odobreno da postavi partnera na stavku temeljnice sa ovim tipom konta; ako "
-"odaberete 'Uvjek', knjigovođa će dobiti poruku greške ako partner nedostaje;"
-" ako odaberete 'Nikad' knjigovođa će dobiti poruku greške ako je partner "
+"odaberete 'Uvjek', knjigovođa će dobiti poruku greške ako partner nedostaje; "
+"ako odaberete 'Nikad' knjigovođa će dobiti poruku greške ako je partner "
"dodijeljen."
diff --git a/account_partner_required/i18n/hu.po b/account_partner_required/i18n/hu.po
index 66d4a79d..700fbf45 100644
--- a/account_partner_required/i18n/hu.po
+++ b/account_partner_required/i18n/hu.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/hu/)\n"
+"Language-Team: Hungarian (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/hu/)\n"
+"Language: hu\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: hu\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Könyvelési tételsorok"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/it.po b/account_partner_required/i18n/it.po
index 4fdfd6d9..0643d225 100644
--- a/account_partner_required/i18n/it.po
+++ b/account_partner_required/i18n/it.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Italian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/it/)\n"
+"Language-Team: Italian (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/it/)\n"
+"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: it\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Voci Sezionale"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/ja.po b/account_partner_required/i18n/ja.po
index 107d012d..0cd7bc85 100644
--- a/account_partner_required/i18n/ja.po
+++ b/account_partner_required/i18n/ja.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Japanese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ja/)\n"
+"Language-Team: Japanese (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/ja/)\n"
+"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "仕訳項目"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/lt.po b/account_partner_required/i18n/lt.po
index 1e4d7c62..5ea63e93 100644
--- a/account_partner_required/i18n/lt.po
+++ b/account_partner_required/i18n/lt.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# Viktoras Norkus , 2018
msgid ""
@@ -12,11 +12,12 @@ msgstr ""
"PO-Revision-Date: 2018-02-01 03:44+0000\n"
"Last-Translator: Viktoras Norkus , 2018\n"
"Language-Team: Lithuanian (https://www.transifex.com/oca/teams/23907/lt/)\n"
+"Language: lt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: lt\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
+"%100<10 || n%100>=20) ? 1 : 2);\n"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account
@@ -49,7 +50,7 @@ msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -57,11 +58,11 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
diff --git a/account_partner_required/i18n/mk.po b/account_partner_required/i18n/mk.po
index 0e8b30d3..72bb3f95 100644
--- a/account_partner_required/i18n/mk.po
+++ b/account_partner_required/i18n/mk.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/mk/)\n"
+"Language-Team: Macedonian (http://www.transifex.com/oca/OCA-account-"
+"financial-tools-8-0/language/mk/)\n"
+"Language: mk\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: mk\n"
"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Ставки на дневник"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/mn.po b/account_partner_required/i18n/mn.po
index 341eb75c..6e6f26d0 100644
--- a/account_partner_required/i18n/mn.po
+++ b/account_partner_required/i18n/mn.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/mn/)\n"
+"Language-Team: Mongolian (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/mn/)\n"
+"Language: mn\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: mn\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Журналын бичилт"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nb.po b/account_partner_required/i18n/nb.po
index 27f74b34..8d0ad0e1 100644
--- a/account_partner_required/i18n/nb.po
+++ b/account_partner_required/i18n/nb.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nb/)\n"
+"Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-account-"
+"financial-tools-8-0/language/nb/)\n"
+"Language: nb\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: nb\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Journal Elementer"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nl.po b/account_partner_required/i18n/nl.po
index 411d48e4..a9be7817 100644
--- a/account_partner_required/i18n/nl.po
+++ b/account_partner_required/i18n/nl.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# Frank Schellenberg , 2018
msgid ""
@@ -12,10 +12,10 @@ msgstr ""
"PO-Revision-Date: 2018-01-25 11:47+0000\n"
"Last-Translator: Frank Schellenberg , 2018\n"
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
+"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. module: account_partner_required
@@ -49,7 +49,7 @@ msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -57,11 +57,11 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
diff --git a/account_partner_required/i18n/nl_BE.po b/account_partner_required/i18n/nl_BE.po
index 63457d04..dce87ef5 100644
--- a/account_partner_required/i18n/nl_BE.po
+++ b/account_partner_required/i18n/nl_BE.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/nl_BE/)\n"
+"Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-account-"
+"financial-tools-8-0/language/nl_BE/)\n"
+"Language: nl_BE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: nl_BE\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Boekingslijnen"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nl_NL.po b/account_partner_required/i18n/nl_NL.po
index ddd42699..72c0d6f7 100644
--- a/account_partner_required/i18n/nl_NL.po
+++ b/account_partner_required/i18n/nl_NL.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# Frank Schellenberg , 2018
msgid ""
@@ -11,11 +11,12 @@ msgstr ""
"POT-Creation-Date: 2018-01-25 11:47+0000\n"
"PO-Revision-Date: 2018-01-25 11:47+0000\n"
"Last-Translator: Frank Schellenberg , 2018\n"
-"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n"
+"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/"
+"teams/23907/nl_NL/)\n"
+"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_partner_required
@@ -49,7 +50,7 @@ msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -57,11 +58,11 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
diff --git a/account_partner_required/i18n/pt.po b/account_partner_required/i18n/pt.po
index 6b43f827..4100e6c9 100644
--- a/account_partner_required/i18n/pt.po
+++ b/account_partner_required/i18n/pt.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pt/)\n"
+"Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-"
+"financial-tools-8-0/language/pt/)\n"
+"Language: pt\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: pt\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Items Diários"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/pt_BR.po b/account_partner_required/i18n/pt_BR.po
index 2c6bd11a..ec3755e3 100644
--- a/account_partner_required/i18n/pt_BR.po
+++ b/account_partner_required/i18n/pt_BR.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/pt_BR/)\n"
+"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-"
+"financial-tools-8-0/language/pt_BR/)\n"
+"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: pt_BR\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Itens do Diário"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/ro.po b/account_partner_required/i18n/ro.po
index bf927853..7dccf42a 100644
--- a/account_partner_required/i18n/ro.po
+++ b/account_partner_required/i18n/ro.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,12 +10,19 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Romanian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ro/)\n"
+"Language-Team: Romanian (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/ro/)\n"
+"Language: ro\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: ro\n"
-"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
+"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?"
+"2:1));\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
@@ -23,51 +30,49 @@ msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Elementele Jurnalului"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/ru.po b/account_partner_required/i18n/ru.po
index 59a9ae36..e700ec3d 100644
--- a/account_partner_required/i18n/ru.po
+++ b/account_partner_required/i18n/ru.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,12 +10,20 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Russian (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/ru/)\n"
+"Language-Team: Russian (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/ru/)\n"
+"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: ru\n"
-"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
+"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
+"%100>=11 && n%100<=14)? 2 : 3);\n"
+
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
@@ -23,51 +31,49 @@ msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Элементы журнала"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/sl.po b/account_partner_required/i18n/sl.po
index 573d3708..db9a16eb 100644
--- a/account_partner_required/i18n/sl.po
+++ b/account_partner_required/i18n/sl.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# OCA Transbot , 2017
msgid ""
@@ -12,11 +12,12 @@ msgstr ""
"PO-Revision-Date: 2017-01-11 03:36+0000\n"
"Last-Translator: OCA Transbot , 2017\n"
"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n"
+"Language: sl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: sl\n"
-"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n"
+"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n"
+"%100==4 ? 2 : 3);\n"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account
@@ -49,7 +50,7 @@ msgid "Optional"
msgstr "Opcijsko"
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -57,11 +58,11 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
diff --git a/account_partner_required/i18n/sv.po b/account_partner_required/i18n/sv.po
index a8164d26..d3e61f53 100644
--- a/account_partner_required/i18n/sv.po
+++ b/account_partner_required/i18n/sv.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Swedish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/sv/)\n"
+"Language-Team: Swedish (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/sv/)\n"
+"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: sv\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Transaktioner"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/tr.po b/account_partner_required/i18n/tr.po
index b5441206..81ab7671 100644
--- a/account_partner_required/i18n/tr.po
+++ b/account_partner_required/i18n/tr.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Turkish (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/tr/)\n"
+"Language-Team: Turkish (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/tr/)\n"
+"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: tr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "Günlük Maddeleri"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/tr_TR.po b/account_partner_required/i18n/tr_TR.po
index 92352fcb..d0aa2b12 100644
--- a/account_partner_required/i18n/tr_TR.po
+++ b/account_partner_required/i18n/tr_TR.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
# Ediz Duman , 2017
msgid ""
@@ -11,11 +11,12 @@ msgstr ""
"POT-Creation-Date: 2017-04-27 00:40+0000\n"
"PO-Revision-Date: 2017-04-27 00:40+0000\n"
"Last-Translator: Ediz Duman , 2017\n"
-"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n"
+"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/"
+"tr_TR/)\n"
+"Language: tr_TR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: tr_TR\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#. module: account_partner_required
@@ -49,7 +50,7 @@ msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:54
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
@@ -57,11 +58,11 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/models/account.py:60
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account '%s' but the account move line"
-" with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
diff --git a/account_partner_required/i18n/zh_CN.po b/account_partner_required/i18n/zh_CN.po
index e6b00313..ab7d94d2 100644
--- a/account_partner_required/i18n/zh_CN.po
+++ b/account_partner_required/i18n/zh_CN.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/zh_CN/)\n"
+"Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-"
+"financial-tools-8-0/language/zh_CN/)\n"
+"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: zh_CN\n"
"Plural-Forms: nplurals=1; plural=0;\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "日记帐项目"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/zh_TW.po b/account_partner_required/i18n/zh_TW.po
index 79cd1fdb..bbbaed63 100644
--- a/account_partner_required/i18n/zh_TW.po
+++ b/account_partner_required/i18n/zh_TW.po
@@ -1,7 +1,7 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_partner_required
-#
+#
# Translators:
msgid ""
msgstr ""
@@ -10,64 +10,68 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2015-06-03 15:56+0000\n"
"Last-Translator: <>\n"
-"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-account-financial-tools-8-0/language/zh_TW/)\n"
+"Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-account-"
+"financial-tools-8-0/language/zh_TW/)\n"
+"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Language: zh_TW\n"
"Plural-Forms: nplurals=1; plural=0;\n"
+#. module: account_partner_required
+#: model:ir.model,name:account_partner_required.model_account_account
+msgid "Account"
+msgstr ""
+
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:33
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Always"
msgstr ""
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-msgid "Journal Items"
+#, fuzzy
+msgid "Journal Item"
msgstr "帳簿項目"
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:34
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Never"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:32
-#, python-format
+#: selection:account.account.type,partner_policy:0
msgid "Optional"
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:74
+#: code:addons/account_partner_required/models/account.py:55
#, python-format
msgid ""
-"Partner policy is set to 'Always' with account %s '%s' but the partner is "
+"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
#. module: account_partner_required
-#: code:addons/account_partner_required/account.py:82
+#: code:addons/account_partner_required/models/account.py:61
#, python-format
msgid ""
-"Partner policy is set to 'Never' with account %s '%s' but the account move "
-"line with label '%s' has a partner '%s'."
+"Partner policy is set to 'Never' with account '%s' but the account move line "
+"with label '%s' has a partner '%s'."
msgstr ""
#. module: account_partner_required
-#: field:account.account.type,partner_policy:0
-msgid "Policy for partner field"
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: help:account.account.type,partner_policy:0
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
From f2a04af4993efe3df2a5aad239d8fe3f7cb613dd Mon Sep 17 00:00:00 2001
From: Osoul
Date: Thu, 28 Jun 2018 05:05:53 +0000
Subject: [PATCH 28/42] Translated using Weblate (Arabic)
Currently translated at 90.0% (9 of 10 strings)
Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_partner_required
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_partner_required/ar/
---
account_partner_required/i18n/ar.po | 30 ++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
diff --git a/account_partner_required/i18n/ar.po b/account_partner_required/i18n/ar.po
index 241a610e..15d6125f 100644
--- a/account_partner_required/i18n/ar.po
+++ b/account_partner_required/i18n/ar.po
@@ -8,47 +8,47 @@ msgstr ""
"Project-Id-Version: account-financial-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-03 15:56+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-"
-"tools-8-0/language/ar/)\n"
+"PO-Revision-Date: 2018-06-29 06:01+0000\n"
+"Last-Translator: Osoul \n"
+"Language-Team: Arabic (http://www.transifex.com/oca/"
+"OCA-account-financial-tools-8-0/language/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
-"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
+"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
+"X-Generator: Weblate 3.0.1\n"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account
msgid "Account"
-msgstr ""
+msgstr "الحساب"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
-msgstr ""
+msgstr "نوع الحساب"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Always"
-msgstr ""
+msgstr "دائماً"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-#, fuzzy
msgid "Journal Item"
-msgstr "عناصر دفتر اليومية"
+msgstr "عنصر اليومية"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Never"
-msgstr ""
+msgstr "ممنوع"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Optional"
-msgstr ""
+msgstr "إختياري"
#. module: account_partner_required
#: code:addons/account_partner_required/models/account.py:55
@@ -57,6 +57,8 @@ msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
+"سياسة خانة الشريك هي 'دائماً' للحساب '%s' ولكن خانة الشريك فارغة في عنصر "
+"اليومية باسم '%s'."
#. module: account_partner_required
#: code:addons/account_partner_required/models/account.py:61
@@ -65,11 +67,13 @@ msgid ""
"Partner policy is set to 'Never' with account '%s' but the account move line "
"with label '%s' has a partner '%s'."
msgstr ""
+"سياسة خانة الشريك هي 'ممنوع' للحساب '%s' ولكن في عنصر اليومية باسم '%s' تم "
+"إدخال الشريك '%s'."
#. module: account_partner_required
#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
msgid "Policy for Partner Field"
-msgstr ""
+msgstr "سياسة خانة الشريك"
#. module: account_partner_required
#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
From 892827f8c32269d1c7adf19be928dfb1400b781d Mon Sep 17 00:00:00 2001
From: Raf Ven
Date: Tue, 2 Oct 2018 16:41:24 +0200
Subject: [PATCH 29/42] [MIG] account_partner_required: Migration to 12.0
---
account_partner_required/README.rst | 78 ++-
account_partner_required/__manifest__.py | 2 +-
account_partner_required/readme/CONFIGURE.rst | 6 +
.../readme/CONTRIBUTORS.rst | 3 +
.../readme/DESCRIPTION.rst | 12 +
account_partner_required/readme/USAGE.rst | 3 +
.../static/description/index.html | 449 ++++++++++++++++++
7 files changed, 527 insertions(+), 26 deletions(-)
create mode 100644 account_partner_required/readme/CONFIGURE.rst
create mode 100644 account_partner_required/readme/CONTRIBUTORS.rst
create mode 100644 account_partner_required/readme/DESCRIPTION.rst
create mode 100644 account_partner_required/readme/USAGE.rst
create mode 100644 account_partner_required/static/description/index.html
diff --git a/account_partner_required/README.rst b/account_partner_required/README.rst
index 66ee8160..ed6899aa 100644
--- a/account_partner_required/README.rst
+++ b/account_partner_required/README.rst
@@ -1,10 +1,29 @@
-.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
- :target: https://www.gnu.org/licenses/agpl
- :alt: License: AGPL-3
+========================
+Account partner required
+========================
-========================
-Account Partner Required
-========================
+.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ !! 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--financial--tools-lightgray.png?logo=github
+ :target: https://github.com/OCA/account-financial-tools/tree/12.0/account_partner_required
+ :alt: OCA/account-financial-tools
+.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
+ :target: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_partner_required
+ :alt: Translate me on Weblate
+.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
+ :target: https://runbot.odoo-community.org/runbot/92/12.0
+ :alt: Try me on Runbot
+
+|badge1| |badge2| |badge3| |badge4| |badge5|
This module adds an option *Partner policy* on account types.
@@ -19,10 +38,20 @@ customer and supplier accounts.
This module is very similar to the module *account_analytic_required* available in the OCA project `account-analytic `_.
+**Table of contents**
+
+.. contents::
+ :local:
+
Configuration
=============
-Go to the menu *Accounting > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*.
+[ This file is optional, it should explain how to configure
+ the module before using it; it is aimed at advanced users. ]
+
+To configure this module, you need to:
+
+#. Go to the menu *Invoicing > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*.
Usage
=====
@@ -31,46 +60,45 @@ If you put a partner on an account move line with an account whose type is confi
If you don't put a partner on an account move line with an account whose type is configured with *Partner policy* = *always*, you will get an error message.
-.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
- :alt: Try me on Runbot
- :target: https://runbot.odoo-community.org/runbot/92/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 smashing it by providing a 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 `_.
+* ACSONE SA/NV
+* Akretion
Contributors
-------------
+~~~~~~~~~~~~
* Stéphane Bidoul
* Alexis de Lattre
* Raf Ven
-Do not contact contributors directly about support or help with technical issues.
+Maintainers
+~~~~~~~~~~~
-Maintainer
-----------
+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-financial-tools `_ project on GitHub.
+
+You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
diff --git a/account_partner_required/__manifest__.py b/account_partner_required/__manifest__.py
index 4cb24c9c..cd1752b1 100644
--- a/account_partner_required/__manifest__.py
+++ b/account_partner_required/__manifest__.py
@@ -7,7 +7,7 @@
{
"name": "Account partner required",
- "version": "11.0.1.0.0",
+ "version": "12.0.1.0.0",
"category": "Accounting",
"license": "AGPL-3",
"summary": "Adds an option 'partner policy' on account types",
diff --git a/account_partner_required/readme/CONFIGURE.rst b/account_partner_required/readme/CONFIGURE.rst
new file mode 100644
index 00000000..7b4c7e49
--- /dev/null
+++ b/account_partner_required/readme/CONFIGURE.rst
@@ -0,0 +1,6 @@
+[ This file is optional, it should explain how to configure
+ the module before using it; it is aimed at advanced users. ]
+
+To configure this module, you need to:
+
+#. Go to the menu *Invoicing > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*.
diff --git a/account_partner_required/readme/CONTRIBUTORS.rst b/account_partner_required/readme/CONTRIBUTORS.rst
new file mode 100644
index 00000000..6120bfae
--- /dev/null
+++ b/account_partner_required/readme/CONTRIBUTORS.rst
@@ -0,0 +1,3 @@
+* Stéphane Bidoul
+* Alexis de Lattre
+* Raf Ven
diff --git a/account_partner_required/readme/DESCRIPTION.rst b/account_partner_required/readme/DESCRIPTION.rst
new file mode 100644
index 00000000..da1f6161
--- /dev/null
+++ b/account_partner_required/readme/DESCRIPTION.rst
@@ -0,0 +1,12 @@
+This module adds an option *Partner policy* on account types.
+
+You have the choice between 3 policies:
+
+* *optional* (the default policy): partner is optional,
+* *always*: require a partner,
+* *never*: forbid a partner.
+
+This module is useful to enforce a partner on account move lines on
+customer and supplier accounts.
+
+This module is very similar to the module *account_analytic_required* available in the OCA project `account-analytic `_.
diff --git a/account_partner_required/readme/USAGE.rst b/account_partner_required/readme/USAGE.rst
new file mode 100644
index 00000000..d218ca52
--- /dev/null
+++ b/account_partner_required/readme/USAGE.rst
@@ -0,0 +1,3 @@
+If you put a partner on an account move line with an account whose type is configured with *Partner policy* = *never*, you will get an error message.
+
+If you don't put a partner on an account move line with an account whose type is configured with *Partner policy* = *always*, you will get an error message.
diff --git a/account_partner_required/static/description/index.html b/account_partner_required/static/description/index.html
new file mode 100644
index 00000000..32d1b5ec
--- /dev/null
+++ b/account_partner_required/static/description/index.html
@@ -0,0 +1,449 @@
+
+
+
+
+
+
+Account partner required
+
+
+
+
+
Account partner required
+
+
+
+
This module adds an option Partner policy on account types.
+
You have the choice between 3 policies:
+
+- optional (the default policy): partner is optional,
+- always: require a partner,
+- never: forbid a partner.
+
+
This module is useful to enforce a partner on account move lines on
+customer and supplier accounts.
+
This module is very similar to the module account_analytic_required available in the OCA project account-analytic.
+
Table of contents
+
+
+
+
+- [ This file is optional, it should explain how to configure
+- the module before using it; it is aimed at advanced users. ]
+
+
To configure this module, you need to:
+
+- Go to the menu Invoicing > Configuration > Accounting > Account Types and edit each account types to configure the correct Partner policy.
+
+
+
+
+
If you put a partner on an account move line with an account whose type is configured with Partner policy = never, you will get an error message.
+
If you don’t put a partner on an account move line with an account whose type is configured with Partner policy = always, you will get an error message.
+
+
+
+
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.
+
+
+
+
+
+
+- ACSONE SA/NV
+- Akretion
+
+
+
+
+
+
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.
+
This module is part of the OCA/account-financial-tools project on GitHub.
+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
+
+
+
+
+
From 4e5e0b0928c5d96405c740c6cf83a0927b82f206 Mon Sep 17 00:00:00 2001
From: Alexis de Lattre
Date: Fri, 19 Apr 2019 21:37:13 +0200
Subject: [PATCH 30/42] account_partner_required: minor changes in readme and
manifest
---
account_partner_required/__manifest__.py | 2 +-
account_partner_required/readme/CONFIGURE.rst | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/account_partner_required/__manifest__.py b/account_partner_required/__manifest__.py
index cd1752b1..76b65ece 100644
--- a/account_partner_required/__manifest__.py
+++ b/account_partner_required/__manifest__.py
@@ -12,7 +12,7 @@
"license": "AGPL-3",
"summary": "Adds an option 'partner policy' on account types",
"author": "ACSONE SA/NV,Akretion,Odoo Community Association (OCA)",
- "website": "http://acsone.eu/",
+ "website": "https://github.com/OCA/account-financial-tools",
"depends": [
"account_type_menu",
],
diff --git a/account_partner_required/readme/CONFIGURE.rst b/account_partner_required/readme/CONFIGURE.rst
index 7b4c7e49..9636c9bb 100644
--- a/account_partner_required/readme/CONFIGURE.rst
+++ b/account_partner_required/readme/CONFIGURE.rst
@@ -1,6 +1,3 @@
-[ This file is optional, it should explain how to configure
- the module before using it; it is aimed at advanced users. ]
-
To configure this module, you need to:
#. Go to the menu *Invoicing > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*.
From 80ffae7fc843b77cbd6f8e8cbf3082f9a5170add Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Fri, 19 Apr 2019 19:38:04 +0000
Subject: [PATCH 31/42] [UPD] README.rst
---
account_partner_required/README.rst | 3 ---
account_partner_required/static/description/index.html | 4 ----
2 files changed, 7 deletions(-)
diff --git a/account_partner_required/README.rst b/account_partner_required/README.rst
index ed6899aa..9a1858b2 100644
--- a/account_partner_required/README.rst
+++ b/account_partner_required/README.rst
@@ -46,9 +46,6 @@ This module is very similar to the module *account_analytic_required* available
Configuration
=============
-[ This file is optional, it should explain how to configure
- the module before using it; it is aimed at advanced users. ]
-
To configure this module, you need to:
#. Go to the menu *Invoicing > Configuration > Accounting > Account Types* and edit each account types to configure the correct *Partner policy*.
diff --git a/account_partner_required/static/description/index.html b/account_partner_required/static/description/index.html
index 32d1b5ec..ba59e899 100644
--- a/account_partner_required/static/description/index.html
+++ b/account_partner_required/static/description/index.html
@@ -394,10 +394,6 @@ customer and supplier accounts.
-
-- [ This file is optional, it should explain how to configure
-- the module before using it; it is aimed at advanced users. ]
-
To configure this module, you need to:
- Go to the menu Invoicing > Configuration > Accounting > Account Types and edit each account types to configure the correct Partner policy.
From f2d9597fb6af3e131866ac199dd88f2f4a167490 Mon Sep 17 00:00:00 2001
From: oca-travis
Date: Fri, 19 Apr 2019 19:52:28 +0000
Subject: [PATCH 32/42] [UPD] Update account_partner_required.pot
---
account_partner_required/i18n/account_partner_required.pot | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/account_partner_required/i18n/account_partner_required.pot b/account_partner_required/i18n/account_partner_required.pot
index 37d58e46..5cc2e351 100644
--- a/account_partner_required/i18n/account_partner_required.pot
+++ b/account_partner_required/i18n/account_partner_required.pot
@@ -4,7 +4,7 @@
#
msgid ""
msgstr ""
-"Project-Id-Version: Odoo Server 11.0\n"
+"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: <>\n"
"Language-Team: \n"
@@ -56,12 +56,12 @@ msgid "Partner policy is set to 'Never' with account '%s' but the account move l
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid "Set the policy for the partner field : if you select 'Optional', the accountant is free to put a partner on an account move line with this type of account ; if you select 'Always', the accountant will get an error message if there is no partner ; if you select 'Never', the accountant will get an error message if a partner is present."
msgstr ""
From 720e7fb33085152376c17c93e22160f6e9aabf88 Mon Sep 17 00:00:00 2001
From: Rudolf Schnapka
Date: Wed, 24 Apr 2019 17:38:57 +0000
Subject: [PATCH 33/42] Translated using Weblate (German)
Currently translated at 100.0% (10 of 10 strings)
Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_partner_required
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_partner_required/de/
---
account_partner_required/i18n/de.po | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/account_partner_required/i18n/de.po b/account_partner_required/i18n/de.po
index 0b42be41..08edb3b9 100644
--- a/account_partner_required/i18n/de.po
+++ b/account_partner_required/i18n/de.po
@@ -9,29 +9,30 @@ msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-12-22 23:21+0000\n"
-"PO-Revision-Date: 2017-12-22 23:21+0000\n"
-"Last-Translator: Rudolf Schnapka , 2017\n"
+"PO-Revision-Date: 2019-04-24 20:16+0000\n"
+"Last-Translator: Rudolf Schnapka \n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Weblate 3.5.1\n"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account
msgid "Account"
-msgstr ""
+msgstr "Konto"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
-msgstr ""
+msgstr "Kontoart"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Always"
-msgstr ""
+msgstr "Immer"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
@@ -41,12 +42,12 @@ msgstr "Journalposten"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Never"
-msgstr ""
+msgstr "Niemals"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Optional"
-msgstr ""
+msgstr "Wahlweise"
#. module: account_partner_required
#: code:addons/account_partner_required/models/account.py:55
@@ -55,6 +56,8 @@ msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
+"Partner-Regel ist auf 'Immer' mit Konto '%s' gesetzt, aber der Partner fehlt "
+"in der Buchungsposition mit Kennung '%s'."
#. module: account_partner_required
#: code:addons/account_partner_required/models/account.py:61
@@ -63,11 +66,13 @@ msgid ""
"Partner policy is set to 'Never' with account '%s' but the account move line "
"with label '%s' has a partner '%s'."
msgstr ""
+"Partner-Regel ist auf 'Niemals' mit Konto '%s' gesetzt, aber in der "
+"Buchungsposition mit Kennung '%s' ist ein Partner '%s' eingetragen."
#. module: account_partner_required
#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
msgid "Policy for Partner Field"
-msgstr ""
+msgstr "Regel zum Partnerfeld"
#. module: account_partner_required
#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
@@ -78,3 +83,8 @@ msgid ""
"message if there is no partner ; if you select 'Never', the accountant will "
"get an error message if a partner is present."
msgstr ""
+"Setzen Sie die Regel zum Partnerfeld: Wenn Sie 'Wahlweise' wählen, steht es "
+"dem Buchhalter frei bei dieser Kontoart einen Partner in Buchungspositionen "
+"einzutragen; wählen Sie 'Immer', erhält der Buchhalter bei fehlendem Partner "
+"eine Fehlermeldung; wählen Sie 'Niemals', erhält der Buchhalter eine "
+"Fehlermeldung, wenn ein Partner eingetragen ist."
From 282e579d944f3021d4d34886aae505b2a1c7a099 Mon Sep 17 00:00:00 2001
From: OCA Transbot
Date: Mon, 20 May 2019 20:26:49 +0000
Subject: [PATCH 34/42] Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_partner_required
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_partner_required/
---
account_partner_required/i18n/ar.po | 8 ++++----
account_partner_required/i18n/bs.po | 4 ++--
account_partner_required/i18n/cs.po | 4 ++--
account_partner_required/i18n/de.po | 4 ++--
account_partner_required/i18n/en_GB.po | 4 ++--
account_partner_required/i18n/es.po | 4 ++--
account_partner_required/i18n/es_CR.po | 4 ++--
account_partner_required/i18n/es_EC.po | 4 ++--
account_partner_required/i18n/es_MX.po | 4 ++--
account_partner_required/i18n/fr.po | 4 ++--
account_partner_required/i18n/hr.po | 4 ++--
account_partner_required/i18n/hu.po | 4 ++--
account_partner_required/i18n/it.po | 4 ++--
account_partner_required/i18n/ja.po | 4 ++--
account_partner_required/i18n/lt.po | 4 ++--
account_partner_required/i18n/mk.po | 4 ++--
account_partner_required/i18n/mn.po | 4 ++--
account_partner_required/i18n/nb.po | 4 ++--
account_partner_required/i18n/nl.po | 4 ++--
account_partner_required/i18n/nl_BE.po | 4 ++--
account_partner_required/i18n/nl_NL.po | 4 ++--
account_partner_required/i18n/pt.po | 4 ++--
account_partner_required/i18n/pt_BR.po | 4 ++--
account_partner_required/i18n/ro.po | 4 ++--
account_partner_required/i18n/ru.po | 4 ++--
account_partner_required/i18n/sl.po | 4 ++--
account_partner_required/i18n/sv.po | 4 ++--
account_partner_required/i18n/tr.po | 4 ++--
account_partner_required/i18n/tr_TR.po | 4 ++--
account_partner_required/i18n/zh_CN.po | 4 ++--
account_partner_required/i18n/zh_TW.po | 4 ++--
31 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/account_partner_required/i18n/ar.po b/account_partner_required/i18n/ar.po
index 15d6125f..43fab671 100644
--- a/account_partner_required/i18n/ar.po
+++ b/account_partner_required/i18n/ar.po
@@ -10,8 +10,8 @@ msgstr ""
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
"PO-Revision-Date: 2018-06-29 06:01+0000\n"
"Last-Translator: Osoul \n"
-"Language-Team: Arabic (http://www.transifex.com/oca/"
-"OCA-account-financial-tools-8-0/language/ar/)\n"
+"Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-"
+"tools-8-0/language/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -71,12 +71,12 @@ msgstr ""
"إدخال الشريك '%s'."
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr "سياسة خانة الشريك"
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/bs.po b/account_partner_required/i18n/bs.po
index 986f7b9a..519eeba4 100644
--- a/account_partner_required/i18n/bs.po
+++ b/account_partner_required/i18n/bs.po
@@ -67,12 +67,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/cs.po b/account_partner_required/i18n/cs.po
index b8cd5d9d..0d1b7512 100644
--- a/account_partner_required/i18n/cs.po
+++ b/account_partner_required/i18n/cs.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/de.po b/account_partner_required/i18n/de.po
index 08edb3b9..939a542b 100644
--- a/account_partner_required/i18n/de.po
+++ b/account_partner_required/i18n/de.po
@@ -70,12 +70,12 @@ msgstr ""
"Buchungsposition mit Kennung '%s' ist ein Partner '%s' eingetragen."
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr "Regel zum Partnerfeld"
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/en_GB.po b/account_partner_required/i18n/en_GB.po
index 4eccae1f..6d9f0c24 100644
--- a/account_partner_required/i18n/en_GB.po
+++ b/account_partner_required/i18n/en_GB.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/es.po b/account_partner_required/i18n/es.po
index adcd1045..c665c4a1 100644
--- a/account_partner_required/i18n/es.po
+++ b/account_partner_required/i18n/es.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/es_CR.po b/account_partner_required/i18n/es_CR.po
index 21677ff0..6084505e 100644
--- a/account_partner_required/i18n/es_CR.po
+++ b/account_partner_required/i18n/es_CR.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/es_EC.po b/account_partner_required/i18n/es_EC.po
index f93709de..7a571c60 100644
--- a/account_partner_required/i18n/es_EC.po
+++ b/account_partner_required/i18n/es_EC.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/es_MX.po b/account_partner_required/i18n/es_MX.po
index 947e16c5..c3236da2 100644
--- a/account_partner_required/i18n/es_MX.po
+++ b/account_partner_required/i18n/es_MX.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/fr.po b/account_partner_required/i18n/fr.po
index 0959027d..a7616b2c 100644
--- a/account_partner_required/i18n/fr.po
+++ b/account_partner_required/i18n/fr.po
@@ -65,12 +65,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/hr.po b/account_partner_required/i18n/hr.po
index 31d2d877..8735609f 100644
--- a/account_partner_required/i18n/hr.po
+++ b/account_partner_required/i18n/hr.po
@@ -70,12 +70,12 @@ msgstr ""
"temeljnice sa nazivom '%s' ima dodijeljenog partnera '%s'."
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr "Pravilo za partnera"
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/hu.po b/account_partner_required/i18n/hu.po
index 700fbf45..8c8c08b3 100644
--- a/account_partner_required/i18n/hu.po
+++ b/account_partner_required/i18n/hu.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/it.po b/account_partner_required/i18n/it.po
index 0643d225..71bf0e35 100644
--- a/account_partner_required/i18n/it.po
+++ b/account_partner_required/i18n/it.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/ja.po b/account_partner_required/i18n/ja.po
index 0cd7bc85..d3088d20 100644
--- a/account_partner_required/i18n/ja.po
+++ b/account_partner_required/i18n/ja.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/lt.po b/account_partner_required/i18n/lt.po
index 5ea63e93..6c65ed1f 100644
--- a/account_partner_required/i18n/lt.po
+++ b/account_partner_required/i18n/lt.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/mk.po b/account_partner_required/i18n/mk.po
index 72bb3f95..ec07c74e 100644
--- a/account_partner_required/i18n/mk.po
+++ b/account_partner_required/i18n/mk.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/mn.po b/account_partner_required/i18n/mn.po
index 6e6f26d0..9880511f 100644
--- a/account_partner_required/i18n/mn.po
+++ b/account_partner_required/i18n/mn.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nb.po b/account_partner_required/i18n/nb.po
index 8d0ad0e1..74bf9ae9 100644
--- a/account_partner_required/i18n/nb.po
+++ b/account_partner_required/i18n/nb.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nl.po b/account_partner_required/i18n/nl.po
index a9be7817..ad44ad48 100644
--- a/account_partner_required/i18n/nl.po
+++ b/account_partner_required/i18n/nl.po
@@ -65,12 +65,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nl_BE.po b/account_partner_required/i18n/nl_BE.po
index dce87ef5..497d564f 100644
--- a/account_partner_required/i18n/nl_BE.po
+++ b/account_partner_required/i18n/nl_BE.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/nl_NL.po b/account_partner_required/i18n/nl_NL.po
index 72c0d6f7..6ce9f1d7 100644
--- a/account_partner_required/i18n/nl_NL.po
+++ b/account_partner_required/i18n/nl_NL.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/pt.po b/account_partner_required/i18n/pt.po
index 4100e6c9..cdf09abe 100644
--- a/account_partner_required/i18n/pt.po
+++ b/account_partner_required/i18n/pt.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/pt_BR.po b/account_partner_required/i18n/pt_BR.po
index ec3755e3..0980545b 100644
--- a/account_partner_required/i18n/pt_BR.po
+++ b/account_partner_required/i18n/pt_BR.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/ro.po b/account_partner_required/i18n/ro.po
index 7dccf42a..720aaac8 100644
--- a/account_partner_required/i18n/ro.po
+++ b/account_partner_required/i18n/ro.po
@@ -67,12 +67,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/ru.po b/account_partner_required/i18n/ru.po
index e700ec3d..3b18fc10 100644
--- a/account_partner_required/i18n/ru.po
+++ b/account_partner_required/i18n/ru.po
@@ -68,12 +68,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/sl.po b/account_partner_required/i18n/sl.po
index db9a16eb..0cd7dcb8 100644
--- a/account_partner_required/i18n/sl.po
+++ b/account_partner_required/i18n/sl.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/sv.po b/account_partner_required/i18n/sv.po
index d3e61f53..bf709ba7 100644
--- a/account_partner_required/i18n/sv.po
+++ b/account_partner_required/i18n/sv.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/tr.po b/account_partner_required/i18n/tr.po
index 81ab7671..1422267b 100644
--- a/account_partner_required/i18n/tr.po
+++ b/account_partner_required/i18n/tr.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/tr_TR.po b/account_partner_required/i18n/tr_TR.po
index d0aa2b12..6770e635 100644
--- a/account_partner_required/i18n/tr_TR.po
+++ b/account_partner_required/i18n/tr_TR.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/zh_CN.po b/account_partner_required/i18n/zh_CN.po
index ab7d94d2..34fbb180 100644
--- a/account_partner_required/i18n/zh_CN.po
+++ b/account_partner_required/i18n/zh_CN.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
diff --git a/account_partner_required/i18n/zh_TW.po b/account_partner_required/i18n/zh_TW.po
index bbbaed63..ddbbfb1c 100644
--- a/account_partner_required/i18n/zh_TW.po
+++ b/account_partner_required/i18n/zh_TW.po
@@ -66,12 +66,12 @@ msgid ""
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
msgstr ""
#. module: account_partner_required
-#: model:ir.model.fields,help:account_partner_required.field_account_account_type_partner_policy
+#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
msgid ""
"Set the policy for the partner field : if you select 'Optional', the "
"accountant is free to put a partner on an account move line with this type "
From 6548c5c6a19272c21819f11fba6e856671fe6038 Mon Sep 17 00:00:00 2001
From: Eduardo Aparicio
Date: Tue, 9 Jul 2019 01:23:27 +0000
Subject: [PATCH 35/42] Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (10 of 10 strings)
Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_partner_required
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_partner_required/pt_BR/
---
account_partner_required/i18n/pt_BR.po | 35 ++++++++++++++++----------
1 file changed, 22 insertions(+), 13 deletions(-)
diff --git a/account_partner_required/i18n/pt_BR.po b/account_partner_required/i18n/pt_BR.po
index 0980545b..50496c90 100644
--- a/account_partner_required/i18n/pt_BR.po
+++ b/account_partner_required/i18n/pt_BR.po
@@ -8,46 +8,46 @@ msgstr ""
"Project-Id-Version: account-financial-tools (8.0)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-07-01 13:25+0000\n"
-"PO-Revision-Date: 2015-06-03 15:56+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-"
-"financial-tools-8-0/language/pt_BR/)\n"
+"PO-Revision-Date: 2019-07-09 01:43+0000\n"
+"Last-Translator: Eduardo Aparicio \n"
+"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/"
+"OCA-account-financial-tools-8-0/language/pt_BR/)\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
-"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+"Plural-Forms: nplurals=2; plural=n > 1;\n"
+"X-Generator: Weblate 3.7.1\n"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account
msgid "Account"
-msgstr ""
+msgstr "Conta"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_account_type
msgid "Account Type"
-msgstr ""
+msgstr "Tipo de Conta"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Always"
-msgstr ""
+msgstr "Sempre"
#. module: account_partner_required
#: model:ir.model,name:account_partner_required.model_account_move_line
-#, fuzzy
msgid "Journal Item"
-msgstr "Itens do Diário"
+msgstr "Item do Diário"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Never"
-msgstr ""
+msgstr "Nunca"
#. module: account_partner_required
#: selection:account.account.type,partner_policy:0
msgid "Optional"
-msgstr ""
+msgstr "Opcional"
#. module: account_partner_required
#: code:addons/account_partner_required/models/account.py:55
@@ -56,6 +56,8 @@ msgid ""
"Partner policy is set to 'Always' with account '%s' but the partner is "
"missing in the account move line with label '%s'."
msgstr ""
+"Política do Parceiro está marcada como 'Sempre' com a conta '%s' mas falta "
+"Parceiro no lançamento contábil de rótulo '%s'."
#. module: account_partner_required
#: code:addons/account_partner_required/models/account.py:61
@@ -64,11 +66,13 @@ msgid ""
"Partner policy is set to 'Never' with account '%s' but the account move line "
"with label '%s' has a partner '%s'."
msgstr ""
+"Política do Parceiro está marcada como 'Nunca' com a conta '%s' mas o "
+"lançamento contábil de rótulo '%s' contém um Parceiro '%s'."
#. module: account_partner_required
#: model:ir.model.fields,field_description:account_partner_required.field_account_account_type__partner_policy
msgid "Policy for Partner Field"
-msgstr ""
+msgstr "Política para o campo Parceiro"
#. module: account_partner_required
#: model:ir.model.fields,help:account_partner_required.field_account_account_type__partner_policy
@@ -79,3 +83,8 @@ msgid ""
"message if there is no partner ; if you select 'Never', the accountant will "
"get an error message if a partner is present."
msgstr ""
+"Marque a política do campo Parceiro: Se você selecionar 'Opcional', o "
+"contador fica livre para indicar um parceiro na movimentação deste tipo de "
+"conta; se você selecionar 'Sempre', o contador receberá uma mensagem de erro "
+"caso não tenha um Parceiro; se você selecionar 'Nunca', o contador receberá "
+"uma mensagem de erro se houver um Parceiro."
From b7d54e0b636718bbc51a9f3a423d76fe4f0c8b10 Mon Sep 17 00:00:00 2001
From: OCA-git-bot
Date: Mon, 29 Jul 2019 02:35:39 +0000
Subject: [PATCH 36/42] [UPD] README.rst
---
account_partner_required/static/description/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/account_partner_required/static/description/index.html b/account_partner_required/static/description/index.html
index ba59e899..678d06bc 100644
--- a/account_partner_required/static/description/index.html
+++ b/account_partner_required/static/description/index.html
@@ -3,7 +3,7 @@
-
+
Account partner required