From 1b29348dd8b7f8e19a273a16c5bbccfc74f267e8 Mon Sep 17 00:00:00 2001 From: Thomas Rehn Date: Wed, 13 Nov 2013 14:51:48 +0100 Subject: [PATCH 01/70] base_partner_sequence: from lp:openobject-addons/extra-trunk to OpenERP v7.0 * Conventions * implement 'copy' method, fix translation * change the scope of sequences to customers and suppliers --- base_partner_sequence/__init__.py | 22 +++++++ base_partner_sequence/__openerp__.py | 45 +++++++++++++ .../i18n/base_partner_sequence.pot | 21 ++++++ base_partner_sequence/i18n/de.po | 21 ++++++ base_partner_sequence/partner.py | 66 +++++++++++++++++++ base_partner_sequence/partner_sequence.xml | 21 ++++++ 6 files changed, 196 insertions(+) create mode 100644 base_partner_sequence/__init__.py create mode 100644 base_partner_sequence/__openerp__.py create mode 100644 base_partner_sequence/i18n/base_partner_sequence.pot create mode 100644 base_partner_sequence/i18n/de.po create mode 100644 base_partner_sequence/partner.py create mode 100644 base_partner_sequence/partner_sequence.xml diff --git a/base_partner_sequence/__init__.py b/base_partner_sequence/__init__.py new file mode 100644 index 00000000000..a2cd05adcfd --- /dev/null +++ b/base_partner_sequence/__init__.py @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). +# +# 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 partner +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/base_partner_sequence/__openerp__.py b/base_partner_sequence/__openerp__.py new file mode 100644 index 00000000000..6fee88060af --- /dev/null +++ b/base_partner_sequence/__openerp__.py @@ -0,0 +1,45 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). +# Copyright (C) 2013 initOS GmbH & Co. KG (). +# Author Thomas Rehn +# +# 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": "Add a sequence on customers' code", + "version": "1.1", + "author": "initOS GmbH & Co. KG", + "category": "Generic Modules/Base", + "website": "http://www.initos.com", + "depends": ["base"], + "summary": "Sets customer's code from a sequence", + "description": """ + This module adds the possibility to define a sequence for + the partner code. This code is then set as default when you + create a new customer or supplier, using the defined sequence. + No codes are assigned for contacts such as shipping and + invoice addresses. + This module is a migration of the original base_partner_sequence + addon to OpenERP version 7.0. + """, + "data": ['partner_sequence.xml'], + "demo": [], + "active": False, + "installable": True +} +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/base_partner_sequence/i18n/base_partner_sequence.pot b/base_partner_sequence/i18n/base_partner_sequence.pot new file mode 100644 index 00000000000..769df21c879 --- /dev/null +++ b/base_partner_sequence/i18n/base_partner_sequence.pot @@ -0,0 +1,21 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0-20131013-231025\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-11-13 13:47+0000\n" +"PO-Revision-Date: 2013-11-13 13:47+0000\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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "" + diff --git a/base_partner_sequence/i18n/de.po b/base_partner_sequence/i18n/de.po new file mode 100644 index 00000000000..b2d209e708f --- /dev/null +++ b/base_partner_sequence/i18n/de.po @@ -0,0 +1,21 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0-20131013-231025\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2013-11-13 13:47+0000\n" +"PO-Revision-Date: 2013-11-13 13:47+0000\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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" + diff --git a/base_partner_sequence/partner.py b/base_partner_sequence/partner.py new file mode 100644 index 00000000000..1b0d734e1d2 --- /dev/null +++ b/base_partner_sequence/partner.py @@ -0,0 +1,66 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). +# Copyright (C) 2013 initOS GmbH & Co. KG (). +# Author Thomas Rehn +# +# 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 + + +class ResPartner(orm.Model): + """Assigns 'ref' from a sequence on creation and copying""" + + _inherit = 'res.partner' + + def create(self, cr, uid, vals, context=None): + context = context or {} + if not vals.get('ref') and self._needsRef(cr, uid, vals=vals, context=context): + vals['ref'] = self.pool.get('ir.sequence').get(cr, uid, 'res.partner') + return super(ResPartner, self).create(cr, uid, vals, context) + + def copy(self, cr, uid, id, default=None, context=None): + default = default or {} + if not default.get('ref') and self._needsRef(cr, uid, id=id, context=context): + default['ref'] = self.pool.get('ir.sequence').get(cr, uid, 'res.partner', context=context) + return super(ResPartner, self).copy(cr, uid, id, default, context=context) + + def _needsRef(self, cr, uid, id=None, vals=None, context=None): + """ + Checks whether a sequence value should be assigned to a partner's 'ref' + + :param cr: database cursor + :param uid: current user id + :param id: id of the partner object + :param vals: known field values of the partner object + :return: true iff a sequence value should be assigned to the partner's 'ref' + """ + if not vals and not id: + raise Exception('Either field values or an id must be provided.') + # only assign a 'ref' if it is a customer or supplier and + # if it not a child object (such as a shipping/invoice address) + if id: + vals = self.read(cr, uid, id, ['parent_id', 'customer', 'supplier'], context=context) + return not vals.get('parent_id') and (vals.get('customer') or vals.get('supplier')) + + _columns = { + 'ref': fields.char('Reference', size=64, readonly=True), + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/base_partner_sequence/partner_sequence.xml b/base_partner_sequence/partner_sequence.xml new file mode 100644 index 00000000000..76f3d8bb711 --- /dev/null +++ b/base_partner_sequence/partner_sequence.xml @@ -0,0 +1,21 @@ + + + + + # + # Sequences for res.partner + # + + + Partner code + res.partner + + + Partner code + res.partner + P/ + 5 + + + + From 35aa717fd2c0d484e328a43e1017f98ff2219dd5 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Tue, 19 Nov 2013 11:34:50 +0100 Subject: [PATCH 02/70] Adapt to commercial partners [FIX] Replacd call to deprecated method --- base_partner_sequence/__openerp__.py | 15 ++++++++++++--- base_partner_sequence/partner.py | 19 +++++++++++++------ base_partner_sequence/partner_view.xml | 20 ++++++++++++++++++++ 3 files changed, 45 insertions(+), 9 deletions(-) create mode 100644 base_partner_sequence/partner_view.xml diff --git a/base_partner_sequence/__openerp__.py b/base_partner_sequence/__openerp__.py index 6fee88060af..0b7d60a8f43 100644 --- a/base_partner_sequence/__openerp__.py +++ b/base_partner_sequence/__openerp__.py @@ -23,7 +23,7 @@ { "name": "Add a sequence on customers' code", "version": "1.1", - "author": "initOS GmbH & Co. KG", + "author": "Tiny/initOS GmbH & Co. KG", "category": "Generic Modules/Base", "website": "http://www.initos.com", "depends": ["base"], @@ -31,13 +31,22 @@ "description": """ This module adds the possibility to define a sequence for the partner code. This code is then set as default when you - create a new customer or supplier, using the defined sequence. + create a new commercial partner, using the defined sequence. + + The reference field is treated as a commercial field, i.e. it + is managed from the commercial partner and then propagated to + the partner's contacts. The field is visible on the contacts, + but it can only be modified from the commercial partner. + No codes are assigned for contacts such as shipping and invoice addresses. This module is a migration of the original base_partner_sequence addon to OpenERP version 7.0. """, - "data": ['partner_sequence.xml'], + "data": [ + 'partner_sequence.xml', + 'partner_view.xml', + ], "demo": [], "active": False, "installable": True diff --git a/base_partner_sequence/partner.py b/base_partner_sequence/partner.py index 1b0d734e1d2..674ffa66e23 100644 --- a/base_partner_sequence/partner.py +++ b/base_partner_sequence/partner.py @@ -32,13 +32,13 @@ class ResPartner(orm.Model): def create(self, cr, uid, vals, context=None): context = context or {} if not vals.get('ref') and self._needsRef(cr, uid, vals=vals, context=context): - vals['ref'] = self.pool.get('ir.sequence').get(cr, uid, 'res.partner') + vals['ref'] = self.pool.get('ir.sequence').next_by_code(cr, uid, 'res.partner') return super(ResPartner, self).create(cr, uid, vals, context) def copy(self, cr, uid, id, default=None, context=None): default = default or {} if not default.get('ref') and self._needsRef(cr, uid, id=id, context=context): - default['ref'] = self.pool.get('ir.sequence').get(cr, uid, 'res.partner', context=context) + default['ref'] = self.pool.get('ir.sequence').next_by_code(cr, uid, 'res.partner', context=context) return super(ResPartner, self).copy(cr, uid, id, default, context=context) def _needsRef(self, cr, uid, id=None, vals=None, context=None): @@ -53,14 +53,21 @@ def _needsRef(self, cr, uid, id=None, vals=None, context=None): """ if not vals and not id: raise Exception('Either field values or an id must be provided.') - # only assign a 'ref' if it is a customer or supplier and - # if it not a child object (such as a shipping/invoice address) + # only assign a 'ref' to commercial partners if id: - vals = self.read(cr, uid, id, ['parent_id', 'customer', 'supplier'], context=context) - return not vals.get('parent_id') and (vals.get('customer') or vals.get('supplier')) + vals = self.read(cr, uid, id, ['parent_id', 'is_company'], context=context) + return vals.get('is_company') or not vals.get('parent_id') _columns = { 'ref': fields.char('Reference', size=64, readonly=True), } + def _commercial_fields(self, cr, uid, context=None): + """ + Make the partner reference a field that is propagated + to the partner's contacts + """ + return super(ResPartner, self)._commercial_fields( + cr, uid, context=context) + ['ref'] + # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/base_partner_sequence/partner_view.xml b/base_partner_sequence/partner_view.xml new file mode 100644 index 00000000000..00dcb16bbfb --- /dev/null +++ b/base_partner_sequence/partner_view.xml @@ -0,0 +1,20 @@ + + + + + + Make partner reference readonly when non-commercial + res.partner + + + + { + 'readonly': [('is_company', '=', False), + ('parent_id', '!=', False)]} + + + + + + + From c83698e45190f2f29d9ce6da35519482448d0364 Mon Sep 17 00:00:00 2001 From: Thomas Rehn Date: Tue, 26 Nov 2013 09:29:02 +0100 Subject: [PATCH 03/70] base_partner_sequence: shortened long lines + bug in copy --- base_partner_sequence/partner.py | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/base_partner_sequence/partner.py b/base_partner_sequence/partner.py index 674ffa66e23..190391fcc3f 100644 --- a/base_partner_sequence/partner.py +++ b/base_partner_sequence/partner.py @@ -31,15 +31,20 @@ class ResPartner(orm.Model): def create(self, cr, uid, vals, context=None): context = context or {} - if not vals.get('ref') and self._needsRef(cr, uid, vals=vals, context=context): - vals['ref'] = self.pool.get('ir.sequence').next_by_code(cr, uid, 'res.partner') + if not vals.get('ref') and self._needsRef(cr, uid, vals=vals, + context=context): + vals['ref'] = self.pool.get('ir.sequence')\ + .next_by_code(cr, uid, 'res.partner') return super(ResPartner, self).create(cr, uid, vals, context) def copy(self, cr, uid, id, default=None, context=None): default = default or {} - if not default.get('ref') and self._needsRef(cr, uid, id=id, context=context): - default['ref'] = self.pool.get('ir.sequence').next_by_code(cr, uid, 'res.partner', context=context) - return super(ResPartner, self).copy(cr, uid, id, default, context=context) + if self._needsRef(cr, uid, id=id, context=context): + default['ref'] = self.pool.get('ir.sequence')\ + .next_by_code(cr, uid, 'res.partner', + context=context) + return super(ResPartner, self).copy(cr, uid, id, default, + context=context) def _needsRef(self, cr, uid, id=None, vals=None, context=None): """ @@ -49,13 +54,15 @@ def _needsRef(self, cr, uid, id=None, vals=None, context=None): :param uid: current user id :param id: id of the partner object :param vals: known field values of the partner object - :return: true iff a sequence value should be assigned to the partner's 'ref' + :return: true iff a sequence value should be assigned to the\ + partner's 'ref' """ if not vals and not id: raise Exception('Either field values or an id must be provided.') # only assign a 'ref' to commercial partners if id: - vals = self.read(cr, uid, id, ['parent_id', 'is_company'], context=context) + vals = self.read(cr, uid, id, ['parent_id', 'is_company'], + context=context) return vals.get('is_company') or not vals.get('parent_id') _columns = { From 61795c9f89088b44c0156e08f0743a7b19c1f37d Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Fri, 18 Jul 2014 19:22:54 -0400 Subject: [PATCH 04/70] Fix pep8 --- base_partner_sequence/__init__.py | 2 +- base_partner_sequence/__openerp__.py | 6 +++--- .../static/description/icon.png | Bin 0 -> 9455 bytes 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 base_partner_sequence/static/description/icon.png diff --git a/base_partner_sequence/__init__.py b/base_partner_sequence/__init__.py index a2cd05adcfd..c6e9f2e386f 100644 --- a/base_partner_sequence/__init__.py +++ b/base_partner_sequence/__init__.py @@ -18,5 +18,5 @@ # along with this program. If not, see . # ############################################################################## + from . import partner -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/base_partner_sequence/__openerp__.py b/base_partner_sequence/__openerp__.py index 0b7d60a8f43..22a6dd8059a 100644 --- a/base_partner_sequence/__openerp__.py +++ b/base_partner_sequence/__openerp__.py @@ -22,8 +22,8 @@ ############################################################################## { "name": "Add a sequence on customers' code", - "version": "1.1", - "author": "Tiny/initOS GmbH & Co. KG", + "version": "8.0.1.1.0", + "author": "Tiny/initOS GmbH & Co. KG,Odoo Community Association (OCA)", "category": "Generic Modules/Base", "website": "http://www.initos.com", "depends": ["base"], @@ -46,7 +46,7 @@ "data": [ 'partner_sequence.xml', 'partner_view.xml', - ], + ], "demo": [], "active": False, "installable": True diff --git a/base_partner_sequence/static/description/icon.png b/base_partner_sequence/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<+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+Zl&#s4&}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 e9a5612b9cf414ec80f42ee9d3c5e2a933a35c39 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Thu, 30 Apr 2015 10:42:29 +0200 Subject: [PATCH 05/70] Do no longer set the 'ref' field readonly Because it is set to readonly conditionally on the view. Setting the field to readonly prevents users to import it with csv files. --- base_partner_sequence/partner.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/base_partner_sequence/partner.py b/base_partner_sequence/partner.py index 190391fcc3f..9f66b41d545 100644 --- a/base_partner_sequence/partner.py +++ b/base_partner_sequence/partner.py @@ -21,7 +21,7 @@ # ############################################################################## -from openerp.osv import orm, fields +from openerp.osv import orm class ResPartner(orm.Model): @@ -65,10 +65,6 @@ def _needsRef(self, cr, uid, id=None, vals=None, context=None): context=context) return vals.get('is_company') or not vals.get('parent_id') - _columns = { - 'ref': fields.char('Reference', size=64, readonly=True), - } - def _commercial_fields(self, cr, uid, context=None): """ Make the partner reference a field that is propagated From 978a576aa544a9b689b338637edbb911339737a2 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Tue, 1 Sep 2015 13:48:55 -0400 Subject: [PATCH 06/70] OCA Transbot updated translations from Transifex --- base_partner_sequence/i18n/es.po | 32 +++++++++++++++++++++++++++++ base_partner_sequence/i18n/fr.po | 32 +++++++++++++++++++++++++++++ base_partner_sequence/i18n/nl.po | 31 ++++++++++++++++++++++++++++ base_partner_sequence/i18n/pt_BR.po | 32 +++++++++++++++++++++++++++++ base_partner_sequence/i18n/sl.po | 32 +++++++++++++++++++++++++++++ 5 files changed, 159 insertions(+) create mode 100644 base_partner_sequence/i18n/es.po create mode 100644 base_partner_sequence/i18n/fr.po create mode 100644 base_partner_sequence/i18n/nl.po create mode 100644 base_partner_sequence/i18n/pt_BR.po create mode 100644 base_partner_sequence/i18n/sl.po diff --git a/base_partner_sequence/i18n/es.po b/base_partner_sequence/i18n/es.po new file mode 100644 index 00000000000..d20303d02b5 --- /dev/null +++ b/base_partner_sequence/i18n/es.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Francisco Palm , 2015 +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-23 21:40+0000\n" +"PO-Revision-Date: 2015-09-13 14:50+0000\n" +"Last-Translator: Francisco Palm \n" +"Language-Team: Spanish (http://www.transifex.com/oca/OCA-partner-contact-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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Socio" + +#. module: base_partner_sequence +#: view:res.partner:base_partner_sequence.view_partner_form +msgid "" +"{\n" +" 'readonly': [('is_company', '=', False),\n" +" ('parent_id', '!=', False)]}" +msgstr "{\n'readonly': [('is_company', '=', False),\n('parent_id', '!=', False)]}" diff --git a/base_partner_sequence/i18n/fr.po b/base_partner_sequence/i18n/fr.po new file mode 100644 index 00000000000..19911d7c79c --- /dev/null +++ b/base_partner_sequence/i18n/fr.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Bruno JOLIVEAU, 2015 +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-28 15:54+0000\n" +"PO-Revision-Date: 2015-08-19 15:15+0000\n" +"Last-Translator: Bruno JOLIVEAU\n" +"Language-Team: French (http://www.transifex.com/oca/OCA-partner-contact-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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partenaire" + +#. module: base_partner_sequence +#: view:res.partner:base_partner_sequence.view_partner_form +msgid "" +"{\n" +" 'readonly': [('is_company', '=', False),\n" +" ('parent_id', '!=', False)]}" +msgstr "" diff --git a/base_partner_sequence/i18n/nl.po b/base_partner_sequence/i18n/nl.po new file mode 100644 index 00000000000..b1e4c66aaaf --- /dev/null +++ b/base_partner_sequence/i18n/nl.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-09-23 21:40+0000\n" +"PO-Revision-Date: 2015-10-01 12:32+0000\n" +"Last-Translator: Maxime Chambreuil \n" +"Language-Team: Dutch (http://www.transifex.com/oca/OCA-partner-contact-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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" + +#. module: base_partner_sequence +#: view:res.partner:base_partner_sequence.view_partner_form +msgid "" +"{\n" +" 'readonly': [('is_company', '=', False),\n" +" ('parent_id', '!=', False)]}" +msgstr "" diff --git a/base_partner_sequence/i18n/pt_BR.po b/base_partner_sequence/i18n/pt_BR.po new file mode 100644 index 00000000000..207979b3fb8 --- /dev/null +++ b/base_partner_sequence/i18n/pt_BR.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# danimaribeiro , 2015 +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-28 15:54+0000\n" +"PO-Revision-Date: 2015-07-22 18:40+0000\n" +"Last-Translator: danimaribeiro \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-partner-contact-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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Parceiro" + +#. module: base_partner_sequence +#: view:res.partner:base_partner_sequence.view_partner_form +msgid "" +"{\n" +" 'readonly': [('is_company', '=', False),\n" +" ('parent_id', '!=', False)]}" +msgstr "" diff --git a/base_partner_sequence/i18n/sl.po b/base_partner_sequence/i18n/sl.po new file mode 100644 index 00000000000..6d9894c0e16 --- /dev/null +++ b/base_partner_sequence/i18n/sl.po @@ -0,0 +1,32 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Matjaž Mozetič , 2015 +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-08-28 15:54+0000\n" +"PO-Revision-Date: 2015-05-28 07:14+0000\n" +"Last-Translator: Matjaž Mozetič \n" +"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-partner-contact-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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" + +#. module: base_partner_sequence +#: view:res.partner:base_partner_sequence.view_partner_form +msgid "" +"{\n" +" 'readonly': [('is_company', '=', False),\n" +" ('parent_id', '!=', False)]}" +msgstr "{\n 'readonly': [('is_company', '=', False),\n ('parent_id', '!=', False)]}" From d54ca0f226218da22d1a5143e1a392b7ba9f9b44 Mon Sep 17 00:00:00 2001 From: "Laurent Mignon (ACSONE)" Date: Wed, 28 Oct 2015 16:26:45 +0100 Subject: [PATCH 07/70] base_partner_sequence Structure + new API --- base_partner_sequence/README.rst | 68 +++++++++++++++++ base_partner_sequence/__init__.py | 23 +----- base_partner_sequence/__openerp__.py | 28 ++----- .../{ => data}/partner_sequence.xml | 0 base_partner_sequence/models/__init__.py | 2 + base_partner_sequence/models/partner.py | 69 +++++++++++++++++ base_partner_sequence/partner.py | 76 ------------------- base_partner_sequence/tests/__init__.py | 2 + .../tests/test_base_partner_sequence.py | 19 +++++ .../{ => views}/partner_view.xml | 0 10 files changed, 168 insertions(+), 119 deletions(-) create mode 100644 base_partner_sequence/README.rst rename base_partner_sequence/{ => data}/partner_sequence.xml (100%) create mode 100644 base_partner_sequence/models/__init__.py create mode 100644 base_partner_sequence/models/partner.py delete mode 100644 base_partner_sequence/partner.py create mode 100644 base_partner_sequence/tests/__init__.py create mode 100644 base_partner_sequence/tests/test_base_partner_sequence.py rename base_partner_sequence/{ => views}/partner_view.xml (100%) diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst new file mode 100644 index 00000000000..39c89d65d45 --- /dev/null +++ b/base_partner_sequence/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 + +====================================== +Add a sequence on partner's reference. +====================================== + +This module adds the possibility to define a sequence for +the partner's reference. This reference is then set as default +when you create a new partner, using the defined sequence. + +The reference field is treated as a commercial field, i.e. it +is managed from the commercial partner and then propagated to +the partner's contacts. The field is visible on the contacts, +but it can only be modified from the commercial partner. + +No references are assigned for contacts such as shipping and +invoice addresses. +This module is a migration of the original base_partner_sequence +addon to OpenERP version 7.0. + + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/134/8.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 +`here `_. + + +Credits +======= + +Contributors +------------ + +* Thomas Rehn +* Stefan Rijnhart +* Yannick Vaucher +* Sandy Carter +* Laurent Mignon (ACSONE) +* Guewen Baconnier +* Alexandre Fayolle + +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 http://odoo-community.org. diff --git a/base_partner_sequence/__init__.py b/base_partner_sequence/__init__.py index c6e9f2e386f..fcf98fb461a 100644 --- a/base_partner_sequence/__init__.py +++ b/base_partner_sequence/__init__.py @@ -1,22 +1,3 @@ # -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2009 Tiny SPRL (). -# -# 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 partner +from . import models +from . import tests diff --git a/base_partner_sequence/__openerp__.py b/base_partner_sequence/__openerp__.py index 22a6dd8059a..be79f995163 100644 --- a/base_partner_sequence/__openerp__.py +++ b/base_partner_sequence/__openerp__.py @@ -22,33 +22,17 @@ ############################################################################## { "name": "Add a sequence on customers' code", - "version": "8.0.1.1.0", - "author": "Tiny/initOS GmbH & Co. KG,Odoo Community Association (OCA)", + "version": "8.0.1.1.1", + "author": "Tiny/initOS GmbH & Co. KG," + "ACSONE SA/NV," + "Odoo Community Association (OCA)", "category": "Generic Modules/Base", "website": "http://www.initos.com", - "depends": ["base"], "summary": "Sets customer's code from a sequence", - "description": """ - This module adds the possibility to define a sequence for - the partner code. This code is then set as default when you - create a new commercial partner, using the defined sequence. - - The reference field is treated as a commercial field, i.e. it - is managed from the commercial partner and then propagated to - the partner's contacts. The field is visible on the contacts, - but it can only be modified from the commercial partner. - - No codes are assigned for contacts such as shipping and - invoice addresses. - This module is a migration of the original base_partner_sequence - addon to OpenERP version 7.0. - """, "data": [ - 'partner_sequence.xml', - 'partner_view.xml', + 'data/partner_sequence.xml', + 'views/partner_view.xml', ], - "demo": [], "active": False, "installable": True } -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/base_partner_sequence/partner_sequence.xml b/base_partner_sequence/data/partner_sequence.xml similarity index 100% rename from base_partner_sequence/partner_sequence.xml rename to base_partner_sequence/data/partner_sequence.xml diff --git a/base_partner_sequence/models/__init__.py b/base_partner_sequence/models/__init__.py new file mode 100644 index 00000000000..cb85880b70e --- /dev/null +++ b/base_partner_sequence/models/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +from . import partner diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py new file mode 100644 index 00000000000..8a6f8427407 --- /dev/null +++ b/base_partner_sequence/models/partner.py @@ -0,0 +1,69 @@ +# -*- coding: utf-8 -*- +# © 2004-2009 Tiny SPRL (). +# © 2013 initOS GmbH & Co. KG (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openerp import models, api + + +class ResPartner(models.Model): + """Assigns 'ref' from a sequence on creation and copying""" + + _inherit = 'res.partner' + + @api.model + def _needsRef(self, partner_id=None, vals=None): + """ + Checks whether a sequence value should be assigned to a partner's 'ref' + + :param parnter_id: id of the partner object + :param vals: known field values of the partner object + :return: true iff a sequence value should be assigned to the\ + partner's 'ref' + """ + if not vals and not partner_id: + raise Exception('Either field values or an id must be provided.') + vals = vals or {} + # only assign a 'ref' to commercial partners + if partner_id: + partner = self.browse(partner_id) + vals.setdefault('is_company', partner.is_company) + vals.setdefault('parent_id', partner.parent_id.id) + return vals.get('is_company') or not vals.get('parent_id') + + @api.model + def _commercial_fields(self): + """ + Make the partner reference a field that is propagated + to the partner's contacts + """ + return super(ResPartner, self)._commercial_fields() + ['ref'] + + @api.model + def _get_next_ref(self, partner=None, vals=None): + return self.env['ir.sequence'].get('res.partner') + + @api.model + def create(self, vals): + if not vals.get('ref') and self._needsRef(vals=vals): + vals['ref'] = self._get_next_ref(vals=vals) + return super(ResPartner, self).create(vals) + + @api.multi + def write(self, vals): + for partner in self: + ref = vals.get('ref') if 'ref' in vals else partner.ref + if not ref and self._needsRef(partner.id, vals): + vals['ref'] = self._get_next_ref(partner, vals) + super(ResPartner, partner).write(vals) + return True + + @api.one + def copy(self, default=None): + default = default or {} + if self._needsRef(self.id): + default.update({ + 'ref': self._get_next_ref(), + }) + + return super(ResPartner, self).copy(default) diff --git a/base_partner_sequence/partner.py b/base_partner_sequence/partner.py deleted file mode 100644 index 9f66b41d545..00000000000 --- a/base_partner_sequence/partner.py +++ /dev/null @@ -1,76 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2009 Tiny SPRL (). -# Copyright (C) 2013 initOS GmbH & Co. KG (). -# Author Thomas Rehn -# -# 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 - - -class ResPartner(orm.Model): - """Assigns 'ref' from a sequence on creation and copying""" - - _inherit = 'res.partner' - - def create(self, cr, uid, vals, context=None): - context = context or {} - if not vals.get('ref') and self._needsRef(cr, uid, vals=vals, - context=context): - vals['ref'] = self.pool.get('ir.sequence')\ - .next_by_code(cr, uid, 'res.partner') - return super(ResPartner, self).create(cr, uid, vals, context) - - def copy(self, cr, uid, id, default=None, context=None): - default = default or {} - if self._needsRef(cr, uid, id=id, context=context): - default['ref'] = self.pool.get('ir.sequence')\ - .next_by_code(cr, uid, 'res.partner', - context=context) - return super(ResPartner, self).copy(cr, uid, id, default, - context=context) - - def _needsRef(self, cr, uid, id=None, vals=None, context=None): - """ - Checks whether a sequence value should be assigned to a partner's 'ref' - - :param cr: database cursor - :param uid: current user id - :param id: id of the partner object - :param vals: known field values of the partner object - :return: true iff a sequence value should be assigned to the\ - partner's 'ref' - """ - if not vals and not id: - raise Exception('Either field values or an id must be provided.') - # only assign a 'ref' to commercial partners - if id: - vals = self.read(cr, uid, id, ['parent_id', 'is_company'], - context=context) - return vals.get('is_company') or not vals.get('parent_id') - - def _commercial_fields(self, cr, uid, context=None): - """ - Make the partner reference a field that is propagated - to the partner's contacts - """ - return super(ResPartner, self)._commercial_fields( - cr, uid, context=context) + ['ref'] - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/base_partner_sequence/tests/__init__.py b/base_partner_sequence/tests/__init__.py new file mode 100644 index 00000000000..8ef33bbfea7 --- /dev/null +++ b/base_partner_sequence/tests/__init__.py @@ -0,0 +1,2 @@ +# -*- coding: utf-8 -*- +from . import test_base_partner_sequence diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py new file mode 100644 index 00000000000..24296253a07 --- /dev/null +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -0,0 +1,19 @@ +# -*- coding: utf-8 -*- +# © 2015 ACSONE SA/NV (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +import openerp.tests.common as common + + +class TestBasePartnerSequence(common.TransactionCase): + + def test_ref_sequence_on_partner(self): + res_partner = self.env['res.partner'] + partner = res_partner.create({ + 'name': "test1", + 'email': "test@test.com"}) + self.assertTrue(partner.ref, "A partner has always a ref.") + + copy = partner.copy() + self.assertTrue(copy.ref, "A partner with ref created by copy " + "has a ref by default.") diff --git a/base_partner_sequence/partner_view.xml b/base_partner_sequence/views/partner_view.xml similarity index 100% rename from base_partner_sequence/partner_view.xml rename to base_partner_sequence/views/partner_view.xml From 68c802be1dfeb05aec6a7ee6b144db4542b64ea0 Mon Sep 17 00:00:00 2001 From: cubells Date: Fri, 16 Dec 2016 05:34:15 +0100 Subject: [PATCH 08/70] base_partner_sequence module --- base_partner_sequence/README.rst | 16 ++++--- base_partner_sequence/__init__.py | 7 +++- base_partner_sequence/__openerp__.py | 38 ++++++----------- .../data/partner_sequence.xml | 26 ++++-------- .../i18n/base_partner_sequence.pot | 21 ---------- base_partner_sequence/models/__init__.py | 5 +++ base_partner_sequence/models/partner.py | 42 +++++++++++-------- base_partner_sequence/tests/__init__.py | 5 +++ .../tests/test_base_partner_sequence.py | 28 ++++++++++--- base_partner_sequence/views/partner_view.xml | 26 +++++------- 10 files changed, 101 insertions(+), 113 deletions(-) delete mode 100644 base_partner_sequence/i18n/base_partner_sequence.pot diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst index 39c89d65d45..040ba92272d 100644 --- a/base_partner_sequence/README.rst +++ b/base_partner_sequence/README.rst @@ -7,7 +7,7 @@ Add a sequence on partner's reference. ====================================== This module adds the possibility to define a sequence for -the partner's reference. This reference is then set as default +the partner's reference. This reference is then set as default when you create a new partner, using the defined sequence. The reference field is treated as a commercial field, i.e. it @@ -17,8 +17,6 @@ but it can only be modified from the commercial partner. No references are assigned for contacts such as shipping and invoice addresses. -This module is a migration of the original base_partner_sequence -addon to OpenERP version 7.0. Usage @@ -26,17 +24,16 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/8.0 + :target: https://runbot.odoo-community.org/runbot/134/9.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 -`here `_. - +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 ======= @@ -51,6 +48,7 @@ Contributors * Laurent Mignon (ACSONE) * Guewen Baconnier * Alexandre Fayolle +* Vicent Cubells Maintainer ---------- diff --git a/base_partner_sequence/__init__.py b/base_partner_sequence/__init__.py index fcf98fb461a..062d23fcc88 100644 --- a/base_partner_sequence/__init__.py +++ b/base_partner_sequence/__init__.py @@ -1,3 +1,8 @@ -# -*- encoding: utf-8 -*- +# -*- coding: utf-8 -*- +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + from . import models from . import tests diff --git a/base_partner_sequence/__openerp__.py b/base_partner_sequence/__openerp__.py index be79f995163..5e316310501 100644 --- a/base_partner_sequence/__openerp__.py +++ b/base_partner_sequence/__openerp__.py @@ -1,38 +1,26 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2009 Tiny SPRL (). -# Copyright (C) 2013 initOS GmbH & Co. KG (). -# Author Thomas Rehn -# -# 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 -*- +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + { "name": "Add a sequence on customers' code", - "version": "8.0.1.1.1", + "version": "9.0.0.1.0", "author": "Tiny/initOS GmbH & Co. KG," "ACSONE SA/NV," + "Tecnativa, " "Odoo Community Association (OCA)", "category": "Generic Modules/Base", "website": "http://www.initos.com", + "depends": [ + 'base', + ], "summary": "Sets customer's code from a sequence", "data": [ 'data/partner_sequence.xml', 'views/partner_view.xml', ], - "active": False, - "installable": True + "installable": True, + "license": "AGPL-3", } diff --git a/base_partner_sequence/data/partner_sequence.xml b/base_partner_sequence/data/partner_sequence.xml index 76f3d8bb711..aa053d1bdfe 100644 --- a/base_partner_sequence/data/partner_sequence.xml +++ b/base_partner_sequence/data/partner_sequence.xml @@ -1,21 +1,11 @@ - - + - # - # Sequences for res.partner - # + + Partner code + res.partner + P/ + 5 + - - Partner code - res.partner - - - Partner code - res.partner - P/ - 5 - - - - + diff --git a/base_partner_sequence/i18n/base_partner_sequence.pot b/base_partner_sequence/i18n/base_partner_sequence.pot deleted file mode 100644 index 769df21c879..00000000000 --- a/base_partner_sequence/i18n/base_partner_sequence.pot +++ /dev/null @@ -1,21 +0,0 @@ -# Translation of OpenERP Server. -# This file contains the translation of the following modules: -# -msgid "" -msgstr "" -"Project-Id-Version: OpenERP Server 7.0-20131013-231025\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-11-13 13:47+0000\n" -"PO-Revision-Date: 2013-11-13 13:47+0000\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: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "" - diff --git a/base_partner_sequence/models/__init__.py b/base_partner_sequence/models/__init__.py index cb85880b70e..9e8bfde264e 100644 --- a/base_partner_sequence/models/__init__.py +++ b/base_partner_sequence/models/__init__.py @@ -1,2 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + from . import partner diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index 8a6f8427407..9dea8b64965 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -1,9 +1,10 @@ # -*- coding: utf-8 -*- -# © 2004-2009 Tiny SPRL (). -# © 2013 initOS GmbH & Co. KG (). +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from openerp import models, api +from openerp import models, api, exceptions, _ class ResPartner(models.Model): @@ -16,20 +17,24 @@ def _needsRef(self, partner_id=None, vals=None): """ Checks whether a sequence value should be assigned to a partner's 'ref' - :param parnter_id: id of the partner object + :param partner_id: id of the partner object :param vals: known field values of the partner object - :return: true iff a sequence value should be assigned to the\ - partner's 'ref' + :return: true if a sequence value should be assigned to the + partner's 'ref' """ if not vals and not partner_id: - raise Exception('Either field values or an id must be provided.') - vals = vals or {} + raise exceptions.Warning( + _('Either field values or an id must be provided.') + ) + if vals is None: + vals = {} + values = vals.copy() # only assign a 'ref' to commercial partners if partner_id: partner = self.browse(partner_id) - vals.setdefault('is_company', partner.is_company) - vals.setdefault('parent_id', partner.parent_id.id) - return vals.get('is_company') or not vals.get('parent_id') + values.setdefault('is_company', partner.is_company) + values.setdefault('parent_id', partner.parent_id.id) + return values.get('is_company') or not values.get('parent_id') @api.model def _commercial_fields(self): @@ -41,7 +46,7 @@ def _commercial_fields(self): @api.model def _get_next_ref(self, partner=None, vals=None): - return self.env['ir.sequence'].get('res.partner') + return self.env['ir.sequence'].next_by_code('res.partner') @api.model def create(self, vals): @@ -58,12 +63,13 @@ def write(self, vals): super(ResPartner, partner).write(vals) return True - @api.one + @api.multi def copy(self, default=None): - default = default or {} - if self._needsRef(self.id): - default.update({ - 'ref': self._get_next_ref(), - }) + for partner in self: + default = default or {} + if self._needsRef(self.id): + default.update({ + 'ref': self._get_next_ref(), + }) return super(ResPartner, self).copy(default) diff --git a/base_partner_sequence/tests/__init__.py b/base_partner_sequence/tests/__init__.py index 8ef33bbfea7..675c51b6e8c 100644 --- a/base_partner_sequence/tests/__init__.py +++ b/base_partner_sequence/tests/__init__.py @@ -1,2 +1,7 @@ # -*- coding: utf-8 -*- +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + from . import test_base_partner_sequence diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py index 24296253a07..32c68f2b1f9 100644 --- a/base_partner_sequence/tests/test_base_partner_sequence.py +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- -# © 2015 ACSONE SA/NV (). +# Copyright 2015 ACSONE SA/NV (). +# Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). import openerp.tests.common as common @@ -7,13 +8,28 @@ class TestBasePartnerSequence(common.TransactionCase): - def test_ref_sequence_on_partner(self): - res_partner = self.env['res.partner'] - partner = res_partner.create({ + def setUp(self): + super(TestBasePartnerSequence, self).setUp() + + self.res_partner = self.env['res.partner'] + self.partner = self.res_partner.create({ 'name': "test1", 'email': "test@test.com"}) - self.assertTrue(partner.ref, "A partner has always a ref.") - copy = partner.copy() + def test_ref_sequence_on_partner(self): + # Test sequence on creating partner and copying it + self.assertTrue(self.partner.ref, "A partner has always a ref.") + + copy = self.partner.copy() self.assertTrue(copy.ref, "A partner with ref created by copy " "has a ref by default.") + + def test_ref_sequence_on_contact(self): + # Test if sequence doesn't increase on creating a contact child + contact = self.res_partner.create({ + 'name': "contact1", + 'email': "contact@contact.com", + 'parent_id': self.partner.id}) + self.assertEqual( + self.partner.ref, contact.ref, "All it's ok as sequence doesn't " + "increase.") diff --git a/base_partner_sequence/views/partner_view.xml b/base_partner_sequence/views/partner_view.xml index 00dcb16bbfb..f4207a62577 100644 --- a/base_partner_sequence/views/partner_view.xml +++ b/base_partner_sequence/views/partner_view.xml @@ -1,20 +1,16 @@ - - + - - Make partner reference readonly when non-commercial - res.partner - - - - { - 'readonly': [('is_company', '=', False), - ('parent_id', '!=', False)]} - + + Make partner reference readonly when non-commercial + res.partner + + + + {'readonly': [('is_company', '=', False), ('parent_id', '!=', False)]} + + - - - + From 6b96d3ccf416956ff47a194627a336e890504ab5 Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Mon, 19 Dec 2016 11:45:34 +0100 Subject: [PATCH 09/70] base_partner_sequence: Migration to 10.0 --- base_partner_sequence/README.rst | 32 +++-- .../{__openerp__.py => __manifest__.py} | 9 +- .../data/partner_sequence.xml | 2 - base_partner_sequence/models/partner.py | 111 ++++++++++-------- 4 files changed, 90 insertions(+), 64 deletions(-) rename base_partner_sequence/{__openerp__.py => __manifest__.py} (79%) diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst index 040ba92272d..acdb03db38e 100644 --- a/base_partner_sequence/README.rst +++ b/base_partner_sequence/README.rst @@ -1,10 +1,10 @@ .. 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 + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 -====================================== -Add a sequence on partner's reference. -====================================== +===================== +Base Partner Sequence +===================== This module adds the possibility to define a sequence for the partner's reference. This reference is then set as default @@ -18,13 +18,24 @@ but it can only be modified from the commercial partner. No references are assigned for contacts such as shipping and invoice addresses. +Installation +============ + +There are no special instructions regarding installation. + +Configuration +============= + +No configuration is needed. Usage ===== +To use this module, you need to: + .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/9.0 + :target: https://runbot.odoo-community.org/runbot/134/10.0 Bug Tracker @@ -38,6 +49,11 @@ help us smashing it by providing a detailed and welcomed feedback. Credits ======= +Images +------ + +* Odoo Community Association: `Icon `_. + Contributors ------------ @@ -49,6 +65,8 @@ Contributors * Guewen Baconnier * Alexandre Fayolle * Vicent Cubells +* Akim Juillerat + Maintainer ---------- @@ -63,4 +81,4 @@ 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 http://odoo-community.org. +To contribute to this module, please visit https://odoo-community.org. diff --git a/base_partner_sequence/__openerp__.py b/base_partner_sequence/__manifest__.py similarity index 79% rename from base_partner_sequence/__openerp__.py rename to base_partner_sequence/__manifest__.py index 5e316310501..39f656ce6b5 100644 --- a/base_partner_sequence/__openerp__.py +++ b/base_partner_sequence/__manifest__.py @@ -2,15 +2,16 @@ # Copyright 2004-2009 Tiny SPRL (). # Copyright 2013 initOS GmbH & Co. KG (). # Copyright 2016 Tecnativa - Vicent Cubells +# Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). - { - "name": "Add a sequence on customers' code", - "version": "9.0.0.1.0", "author": "Tiny/initOS GmbH & Co. KG," "ACSONE SA/NV," "Tecnativa, " - "Odoo Community Association (OCA)", + "Odoo Community Association (OCA), " + "Camptocamp, ", + "name": "Add a sequence on customers' code", + "version": "10.0.1.0.0", "category": "Generic Modules/Base", "website": "http://www.initos.com", "depends": [ diff --git a/base_partner_sequence/data/partner_sequence.xml b/base_partner_sequence/data/partner_sequence.xml index aa053d1bdfe..77e3f767444 100644 --- a/base_partner_sequence/data/partner_sequence.xml +++ b/base_partner_sequence/data/partner_sequence.xml @@ -1,11 +1,9 @@ - Partner code res.partner P/ 5 - diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index 9dea8b64965..abb5c99e9ea 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -1,10 +1,28 @@ # -*- coding: utf-8 -*- -# Copyright 2004-2009 Tiny SPRL (). -# Copyright 2013 initOS GmbH & Co. KG (). -# Copyright 2016 Tecnativa - Vicent Cubells -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2009 Tiny SPRL (). +# Copyright (C) 2013 initOS GmbH & Co. KG (). +# Author Thomas Rehn +# Copyright (C) 2016 Camptocamp SA (). +# +# 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 import models, api, exceptions, _ +from odoo import api, models, exceptions, _ class ResPartner(models.Model): @@ -13,28 +31,49 @@ class ResPartner(models.Model): _inherit = 'res.partner' @api.model - def _needsRef(self, partner_id=None, vals=None): + def create(self, vals): + if not vals.get('ref') and self._needsRef(vals=vals): + vals['ref'] = self.env['ir.sequence'].next_by_code('res.partner') + return super(ResPartner, self).create(vals) + + @api.multi + def copy(self, default=None): + default = default or {} + if self._needsRef(): + default['ref'] = self.env['ir.sequence'].\ + next_by_code('res.partner') + return super(ResPartner, self).copy(default) + + @api.multi + def write(self, vals): + for partner in self: + if not vals.get('ref') and partner._needsRef(vals): + vals['ref'] = self.env['ir.sequence'].\ + next_by_code('res.partner') + super(ResPartner, partner).write(vals) + return True + + @api.multi + def _needsRef(self, vals=None): """ Checks whether a sequence value should be assigned to a partner's 'ref' - :param partner_id: id of the partner object + :param cr: database cursor + :param uid: current user id + :param id: id of the partner object :param vals: known field values of the partner object - :return: true if a sequence value should be assigned to the - partner's 'ref' + :return: true iff a sequence value should be assigned to the\ + partner's 'ref' """ - if not vals and not partner_id: - raise exceptions.Warning( - _('Either field values or an id must be provided.') - ) - if vals is None: - vals = {} - values = vals.copy() + if not vals and not self: # pragma: no cover + raise exceptions.UserError(_( + 'Either field values or an id must be provided.')) # only assign a 'ref' to commercial partners - if partner_id: - partner = self.browse(partner_id) - values.setdefault('is_company', partner.is_company) - values.setdefault('parent_id', partner.parent_id.id) - return values.get('is_company') or not values.get('parent_id') + if self: + vals = {} + vals['is_company'] = self.is_company + vals['parent_id'] = self.parent_id + return vals.get('is_company') or not vals.get('parent_id') @api.model def _commercial_fields(self): @@ -43,33 +82,3 @@ def _commercial_fields(self): to the partner's contacts """ return super(ResPartner, self)._commercial_fields() + ['ref'] - - @api.model - def _get_next_ref(self, partner=None, vals=None): - return self.env['ir.sequence'].next_by_code('res.partner') - - @api.model - def create(self, vals): - if not vals.get('ref') and self._needsRef(vals=vals): - vals['ref'] = self._get_next_ref(vals=vals) - return super(ResPartner, self).create(vals) - - @api.multi - def write(self, vals): - for partner in self: - ref = vals.get('ref') if 'ref' in vals else partner.ref - if not ref and self._needsRef(partner.id, vals): - vals['ref'] = self._get_next_ref(partner, vals) - super(ResPartner, partner).write(vals) - return True - - @api.multi - def copy(self, default=None): - for partner in self: - default = default or {} - if self._needsRef(self.id): - default.update({ - 'ref': self._get_next_ref(), - }) - - return super(ResPartner, self).copy(default) From 8191f3aca130330504baaae699ba220c5a32f1f0 Mon Sep 17 00:00:00 2001 From: Denis Leemann Date: Wed, 8 Mar 2017 10:22:10 +0100 Subject: [PATCH 10/70] fix sequence increase on 'partner.write()' --- base_partner_sequence/models/partner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index abb5c99e9ea..7924c212030 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -47,9 +47,11 @@ def copy(self, default=None): @api.multi def write(self, vals): for partner in self: - if not vals.get('ref') and partner._needsRef(vals): + if not vals.get('ref') and partner._needsRef(vals) and \ + not partner.ref: vals['ref'] = self.env['ir.sequence'].\ next_by_code('res.partner') + super(ResPartner, partner).write(vals) return True From a05fbc4274e199298b8107c1f8f5f87e43b398c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Pigeon=20=28ACSONE=29?= Date: Mon, 29 May 2017 13:05:15 +0200 Subject: [PATCH 11/70] re-introduce _get_next_ref method to allow overriding (#417) --- base_partner_sequence/models/partner.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index 7924c212030..9ddb630ca1e 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -30,18 +30,21 @@ class ResPartner(models.Model): _inherit = 'res.partner' + @api.multi + def _get_next_ref(self, vals=None): + return self.env['ir.sequence'].next_by_code('res.partner') + @api.model def create(self, vals): if not vals.get('ref') and self._needsRef(vals=vals): - vals['ref'] = self.env['ir.sequence'].next_by_code('res.partner') + vals['ref'] = self._get_next_ref(vals=vals) return super(ResPartner, self).create(vals) @api.multi def copy(self, default=None): default = default or {} if self._needsRef(): - default['ref'] = self.env['ir.sequence'].\ - next_by_code('res.partner') + default['ref'] = self._get_next_ref() return super(ResPartner, self).copy(default) @api.multi @@ -49,8 +52,7 @@ def write(self, vals): for partner in self: if not vals.get('ref') and partner._needsRef(vals) and \ not partner.ref: - vals['ref'] = self.env['ir.sequence'].\ - next_by_code('res.partner') + vals['ref'] = self._get_next_ref(vals=vals) super(ResPartner, partner).write(vals) return True From 93c953bc5ff466f92b397d3df9f652a42b5c2d6f Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 30 Jan 2016 17:16:15 -0500 Subject: [PATCH 12/70] OCA Transbot updated translations from Transifex --- base_partner_sequence/i18n/am.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/ar.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/bg.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/bs.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/ca.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/cs.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/da.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/el_GR.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/en_GB.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/es.po | 29 ++++++++++++------------ base_partner_sequence/i18n/es_CR.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/es_EC.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/es_MX.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/es_VE.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/et.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/eu.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/fi.po | 31 ++++++++++++++++++++++++++ base_partner_sequence/i18n/fr.po | 28 +++++++++++------------ base_partner_sequence/i18n/fr_CA.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/fr_CH.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/gl.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/hr.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/hr_HR.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/hu.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/it.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/ja.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/lt.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/lv.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/mk.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/mn.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/nb.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/nb_NO.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/nl.po | 27 +++++++++++----------- base_partner_sequence/i18n/nl_BE.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/nl_NL.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/pl.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/pt.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/pt_PT.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/ro.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/ru.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/sk.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/sl.po | 26 ++++++++++----------- base_partner_sequence/i18n/sr@latin.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/sv.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/th.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/tr.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/tr_TR.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/vi.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/zh_CN.po | 30 +++++++++++++++++++++++++ base_partner_sequence/i18n/zh_TW.po | 30 +++++++++++++++++++++++++ 50 files changed, 1433 insertions(+), 58 deletions(-) create mode 100644 base_partner_sequence/i18n/am.po create mode 100644 base_partner_sequence/i18n/ar.po create mode 100644 base_partner_sequence/i18n/bg.po create mode 100644 base_partner_sequence/i18n/bs.po create mode 100644 base_partner_sequence/i18n/ca.po create mode 100644 base_partner_sequence/i18n/cs.po create mode 100644 base_partner_sequence/i18n/da.po create mode 100644 base_partner_sequence/i18n/el_GR.po create mode 100644 base_partner_sequence/i18n/en_GB.po create mode 100644 base_partner_sequence/i18n/es_CR.po create mode 100644 base_partner_sequence/i18n/es_EC.po create mode 100644 base_partner_sequence/i18n/es_MX.po create mode 100644 base_partner_sequence/i18n/es_VE.po create mode 100644 base_partner_sequence/i18n/et.po create mode 100644 base_partner_sequence/i18n/eu.po create mode 100644 base_partner_sequence/i18n/fi.po create mode 100644 base_partner_sequence/i18n/fr_CA.po create mode 100644 base_partner_sequence/i18n/fr_CH.po create mode 100644 base_partner_sequence/i18n/gl.po create mode 100644 base_partner_sequence/i18n/hr.po create mode 100644 base_partner_sequence/i18n/hr_HR.po create mode 100644 base_partner_sequence/i18n/hu.po create mode 100644 base_partner_sequence/i18n/it.po create mode 100644 base_partner_sequence/i18n/ja.po create mode 100644 base_partner_sequence/i18n/lt.po create mode 100644 base_partner_sequence/i18n/lv.po create mode 100644 base_partner_sequence/i18n/mk.po create mode 100644 base_partner_sequence/i18n/mn.po create mode 100644 base_partner_sequence/i18n/nb.po create mode 100644 base_partner_sequence/i18n/nb_NO.po create mode 100644 base_partner_sequence/i18n/nl_BE.po create mode 100644 base_partner_sequence/i18n/nl_NL.po create mode 100644 base_partner_sequence/i18n/pl.po create mode 100644 base_partner_sequence/i18n/pt.po create mode 100644 base_partner_sequence/i18n/pt_PT.po create mode 100644 base_partner_sequence/i18n/ro.po create mode 100644 base_partner_sequence/i18n/ru.po create mode 100644 base_partner_sequence/i18n/sk.po create mode 100644 base_partner_sequence/i18n/sr@latin.po create mode 100644 base_partner_sequence/i18n/sv.po create mode 100644 base_partner_sequence/i18n/th.po create mode 100644 base_partner_sequence/i18n/tr.po create mode 100644 base_partner_sequence/i18n/tr_TR.po create mode 100644 base_partner_sequence/i18n/vi.po create mode 100644 base_partner_sequence/i18n/zh_CN.po create mode 100644 base_partner_sequence/i18n/zh_TW.po diff --git a/base_partner_sequence/i18n/am.po b/base_partner_sequence/i18n/am.po new file mode 100644 index 00000000000..7ee793570f4 --- /dev/null +++ b/base_partner_sequence/i18n/am.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: am\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "ተባባሪ" diff --git a/base_partner_sequence/i18n/ar.po b/base_partner_sequence/i18n/ar.po new file mode 100644 index 00000000000..f5f027c4e3f --- /dev/null +++ b/base_partner_sequence/i18n/ar.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "الشريك" diff --git a/base_partner_sequence/i18n/bg.po b/base_partner_sequence/i18n/bg.po new file mode 100644 index 00000000000..5b1a9317231 --- /dev/null +++ b/base_partner_sequence/i18n/bg.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 01:39+0000\n" +"PO-Revision-Date: 2016-12-31 01:39+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Партньор" diff --git a/base_partner_sequence/i18n/bs.po b/base_partner_sequence/i18n/bs.po new file mode 100644 index 00000000000..64dc31c0fff --- /dev/null +++ b/base_partner_sequence/i18n/bs.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/ca.po b/base_partner_sequence/i18n/ca.po new file mode 100644 index 00000000000..de0d379a46b --- /dev/null +++ b/base_partner_sequence/i18n/ca.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/cs.po b/base_partner_sequence/i18n/cs.po new file mode 100644 index 00000000000..4fc1f008c65 --- /dev/null +++ b/base_partner_sequence/i18n/cs.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Czech (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Společník" diff --git a/base_partner_sequence/i18n/da.po b/base_partner_sequence/i18n/da.po new file mode 100644 index 00000000000..ada1b86ff91 --- /dev/null +++ b/base_partner_sequence/i18n/da.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-21 03:40+0000\n" +"PO-Revision-Date: 2016-12-21 03:40+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/el_GR.po b/base_partner_sequence/i18n/el_GR.po new file mode 100644 index 00000000000..a5d28789337 --- /dev/null +++ b/base_partner_sequence/i18n/el_GR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: el_GR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Συνεργάτης" diff --git a/base_partner_sequence/i18n/en_GB.po b/base_partner_sequence/i18n/en_GB.po new file mode 100644 index 00000000000..c4b0c132a73 --- /dev/null +++ b/base_partner_sequence/i18n/en_GB.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/es.po b/base_partner_sequence/i18n/es.po index d20303d02b5..98e6fad1772 100644 --- a/base_partner_sequence/i18n/es.po +++ b/base_partner_sequence/i18n/es.po @@ -3,15 +3,16 @@ # * base_partner_sequence # # Translators: -# Francisco Palm , 2015 +# OCA Transbot , 2017 +# Pedro M. Baeza , 2017 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 21:40+0000\n" -"PO-Revision-Date: 2015-09-13 14:50+0000\n" -"Last-Translator: Francisco Palm \n" -"Language-Team: Spanish (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/es/)\n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: Pedro M. Baeza , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" @@ -19,14 +20,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Socio" +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "Debe proveer algún valor o un ID." #. module: base_partner_sequence -#: view:res.partner:base_partner_sequence.view_partner_form -msgid "" -"{\n" -" 'readonly': [('is_company', '=', False),\n" -" ('parent_id', '!=', False)]}" -msgstr "{\n'readonly': [('is_company', '=', False),\n('parent_id', '!=', False)]}" +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_CR.po b/base_partner_sequence/i18n/es_CR.po new file mode 100644 index 00000000000..e1ae8c940ee --- /dev/null +++ b/base_partner_sequence/i18n/es_CR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_EC.po b/base_partner_sequence/i18n/es_EC.po new file mode 100644 index 00000000000..db3c90b3a30 --- /dev/null +++ b/base_partner_sequence/i18n/es_EC.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_MX.po b/base_partner_sequence/i18n/es_MX.po new file mode 100644 index 00000000000..2db6106d0de --- /dev/null +++ b/base_partner_sequence/i18n/es_MX.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_MX\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_VE.po b/base_partner_sequence/i18n/es_VE.po new file mode 100644 index 00000000000..f2767cc7d4d --- /dev/null +++ b/base_partner_sequence/i18n/es_VE.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_VE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/et.po b/base_partner_sequence/i18n/et.po new file mode 100644 index 00000000000..0eb77bfc63f --- /dev/null +++ b/base_partner_sequence/i18n/et.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/eu.po b/base_partner_sequence/i18n/eu.po new file mode 100644 index 00000000000..54f72902dd1 --- /dev/null +++ b/base_partner_sequence/i18n/eu.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: eu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Kidea" diff --git a/base_partner_sequence/i18n/fi.po b/base_partner_sequence/i18n/fi.po new file mode 100644 index 00000000000..b5215527801 --- /dev/null +++ b/base_partner_sequence/i18n/fi.po @@ -0,0 +1,31 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: partner-contact (8.0)\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-01-19 01:46+0000\n" +"PO-Revision-Date: 2015-05-21 21:57+0000\n" +"Last-Translator: <>\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Kumppani" + +#. module: base_partner_sequence +#: view:res.partner:base_partner_sequence.view_partner_form +msgid "" +"{\n" +" 'readonly': [('is_company', '=', False),\n" +" ('parent_id', '!=', False)]}" +msgstr "" diff --git a/base_partner_sequence/i18n/fr.po b/base_partner_sequence/i18n/fr.po index 19911d7c79c..c7d4c7a6c8d 100644 --- a/base_partner_sequence/i18n/fr.po +++ b/base_partner_sequence/i18n/fr.po @@ -3,15 +3,15 @@ # * base_partner_sequence # # Translators: -# Bruno JOLIVEAU, 2015 +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-28 15:54+0000\n" -"PO-Revision-Date: 2015-08-19 15:15+0000\n" -"Last-Translator: Bruno JOLIVEAU\n" -"Language-Team: French (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/fr/)\n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+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" @@ -19,14 +19,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partenaire" +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" #. module: base_partner_sequence -#: view:res.partner:base_partner_sequence.view_partner_form -msgid "" -"{\n" -" 'readonly': [('is_company', '=', False),\n" -" ('parent_id', '!=', False)]}" -msgstr "" +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Contact" diff --git a/base_partner_sequence/i18n/fr_CA.po b/base_partner_sequence/i18n/fr_CA.po new file mode 100644 index 00000000000..ecde352d6a6 --- /dev/null +++ b/base_partner_sequence/i18n/fr_CA.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/fr_CA/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CA\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partenaire" diff --git a/base_partner_sequence/i18n/fr_CH.po b/base_partner_sequence/i18n/fr_CH.po new file mode 100644 index 00000000000..686c41bef92 --- /dev/null +++ b/base_partner_sequence/i18n/fr_CH.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr_CH\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partenaire" diff --git a/base_partner_sequence/i18n/gl.po b/base_partner_sequence/i18n/gl.po new file mode 100644 index 00000000000..a2225ccf3c6 --- /dev/null +++ b/base_partner_sequence/i18n/gl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: gl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Empresa" diff --git a/base_partner_sequence/i18n/hr.po b/base_partner_sequence/i18n/hr.po new file mode 100644 index 00000000000..c56ed808ba7 --- /dev/null +++ b/base_partner_sequence/i18n/hr.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-31 01:39+0000\n" +"PO-Revision-Date: 2016-12-31 01:39+0000\n" +"Last-Translator: OCA Transbot , 2016\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" +"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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/hr_HR.po b/base_partner_sequence/i18n/hr_HR.po new file mode 100644 index 00000000000..c5714c7efaf --- /dev/null +++ b/base_partner_sequence/i18n/hr_HR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-31 03:41+0000\n" +"PO-Revision-Date: 2017-05-31 03:41+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr_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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "Mora biti upisana vrijedonst u polju ili postojati ID partnera" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/hu.po b/base_partner_sequence/i18n/hu.po new file mode 100644 index 00000000000..4e5a0f3f4bb --- /dev/null +++ b/base_partner_sequence/i18n/hu.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/it.po b/base_partner_sequence/i18n/it.po new file mode 100644 index 00000000000..5a682230019 --- /dev/null +++ b/base_partner_sequence/i18n/it.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-31 03:41+0000\n" +"PO-Revision-Date: 2017-05-31 03:41+0000\n" +"Last-Translator: OCA Transbot , 2016\n" +"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "Devono essere forniti i valori dei campi o un identificativo" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/ja.po b/base_partner_sequence/i18n/ja.po new file mode 100644 index 00000000000..20b5e19a27d --- /dev/null +++ b/base_partner_sequence/i18n/ja.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "パートナ" diff --git a/base_partner_sequence/i18n/lt.po b/base_partner_sequence/i18n/lt.po new file mode 100644 index 00000000000..a26275ab5e5 --- /dev/null +++ b/base_partner_sequence/i18n/lt.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partneris" diff --git a/base_partner_sequence/i18n/lv.po b/base_partner_sequence/i18n/lv.po new file mode 100644 index 00000000000..c41d4e99b96 --- /dev/null +++ b/base_partner_sequence/i18n/lv.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partneris" diff --git a/base_partner_sequence/i18n/mk.po b/base_partner_sequence/i18n/mk.po new file mode 100644 index 00000000000..64b50c1ab0b --- /dev/null +++ b/base_partner_sequence/i18n/mk.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Партнер" diff --git a/base_partner_sequence/i18n/mn.po b/base_partner_sequence/i18n/mn.po new file mode 100644 index 00000000000..0d76bf6e4af --- /dev/null +++ b/base_partner_sequence/i18n/mn.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Харилцагч" diff --git a/base_partner_sequence/i18n/nb.po b/base_partner_sequence/i18n/nb.po new file mode 100644 index 00000000000..1d5f2a69edf --- /dev/null +++ b/base_partner_sequence/i18n/nb.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/nb_NO.po b/base_partner_sequence/i18n/nb_NO.po new file mode 100644 index 00000000000..4e6b8aabb63 --- /dev/null +++ b/base_partner_sequence/i18n/nb_NO.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/teams/23907/nb_NO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nb_NO\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/nl.po b/base_partner_sequence/i18n/nl.po index b1e4c66aaaf..4c25db4646c 100644 --- a/base_partner_sequence/i18n/nl.po +++ b/base_partner_sequence/i18n/nl.po @@ -3,14 +3,15 @@ # * base_partner_sequence # # Translators: +# OCA Transbot , 2017 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-09-23 21:40+0000\n" -"PO-Revision-Date: 2015-10-01 12:32+0000\n" -"Last-Translator: Maxime Chambreuil \n" -"Language-Team: Dutch (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/nl/)\n" +"POT-Creation-Date: 2017-11-21 01:48+0000\n" +"PO-Revision-Date: 2017-11-21 01:48+0000\n" +"Last-Translator: OCA Transbot , 2017\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" @@ -18,14 +19,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" #. module: base_partner_sequence -#: view:res.partner:base_partner_sequence.view_partner_form -msgid "" -"{\n" -" 'readonly': [('is_company', '=', False),\n" -" ('parent_id', '!=', False)]}" -msgstr "" +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Relatie" diff --git a/base_partner_sequence/i18n/nl_BE.po b/base_partner_sequence/i18n/nl_BE.po new file mode 100644 index 00000000000..da4f0328f0a --- /dev/null +++ b/base_partner_sequence/i18n/nl_BE.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Relatie" diff --git a/base_partner_sequence/i18n/nl_NL.po b/base_partner_sequence/i18n/nl_NL.po new file mode 100644 index 00000000000..975f2f7c768 --- /dev/null +++ b/base_partner_sequence/i18n/nl_NL.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-10 01:50+0000\n" +"PO-Revision-Date: 2017-06-10 01:50+0000\n" +"Last-Translator: Peter Hageman , 2017\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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:73 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Relatie" diff --git a/base_partner_sequence/i18n/pl.po b/base_partner_sequence/i18n/pl.po new file mode 100644 index 00000000000..e48b7ad51de --- /dev/null +++ b/base_partner_sequence/i18n/pl.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/pt.po b/base_partner_sequence/i18n/pt.po new file mode 100644 index 00000000000..64b49ae8544 --- /dev/null +++ b/base_partner_sequence/i18n/pt.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Tiago Baptista , 2016 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-12-21 03:40+0000\n" +"PO-Revision-Date: 2016-12-21 03:40+0000\n" +"Last-Translator: Tiago Baptista , 2016\n" +"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Parceiro" diff --git a/base_partner_sequence/i18n/pt_PT.po b/base_partner_sequence/i18n/pt_PT.po new file mode 100644 index 00000000000..da646a67313 --- /dev/null +++ b/base_partner_sequence/i18n/pt_PT.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# Tiago Baptista , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-01-20 18:18+0000\n" +"PO-Revision-Date: 2017-01-20 18:18+0000\n" +"Last-Translator: Tiago Baptista , 2017\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Parceiro" diff --git a/base_partner_sequence/i18n/ro.po b/base_partner_sequence/i18n/ro.po new file mode 100644 index 00000000000..dd635d1e2f2 --- /dev/null +++ b/base_partner_sequence/i18n/ro.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partener" diff --git a/base_partner_sequence/i18n/ru.po b/base_partner_sequence/i18n/ru.po new file mode 100644 index 00000000000..63957857e85 --- /dev/null +++ b/base_partner_sequence/i18n/ru.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Контрагент" diff --git a/base_partner_sequence/i18n/sk.po b/base_partner_sequence/i18n/sk.po new file mode 100644 index 00000000000..5ed13d87c79 --- /dev/null +++ b/base_partner_sequence/i18n/sk.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/sl.po b/base_partner_sequence/i18n/sl.po index 6d9894c0e16..50b45f20ff5 100644 --- a/base_partner_sequence/i18n/sl.po +++ b/base_partner_sequence/i18n/sl.po @@ -3,30 +3,28 @@ # * base_partner_sequence # # Translators: -# Matjaž Mozetič , 2015 +# OCA Transbot , 2016 msgid "" msgstr "" -"Project-Id-Version: partner-contact (8.0)\n" +"Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-08-28 15:54+0000\n" -"PO-Revision-Date: 2015-05-28 07:14+0000\n" -"Last-Translator: Matjaž Mozetič \n" -"Language-Team: Slovenian (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/sl/)\n" +"POT-Creation-Date: 2016-12-21 03:40+0000\n" +"PO-Revision-Date: 2016-12-21 03:40+0000\n" +"Last-Translator: OCA Transbot , 2016\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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:69 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + #. module: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner msgid "Partner" msgstr "Partner" - -#. module: base_partner_sequence -#: view:res.partner:base_partner_sequence.view_partner_form -msgid "" -"{\n" -" 'readonly': [('is_company', '=', False),\n" -" ('parent_id', '!=', False)]}" -msgstr "{\n 'readonly': [('is_company', '=', False),\n ('parent_id', '!=', False)]}" diff --git a/base_partner_sequence/i18n/sr@latin.po b/base_partner_sequence/i18n/sr@latin.po new file mode 100644 index 00000000000..d8b8cc1c022 --- /dev/null +++ b/base_partner_sequence/i18n/sr@latin.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/sr@latin/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr@latin\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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Partner" diff --git a/base_partner_sequence/i18n/sv.po b/base_partner_sequence/i18n/sv.po new file mode 100644 index 00000000000..be777d0daf7 --- /dev/null +++ b/base_partner_sequence/i18n/sv.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Företag" diff --git a/base_partner_sequence/i18n/th.po b/base_partner_sequence/i18n/th.po new file mode 100644 index 00000000000..45fc638e2c8 --- /dev/null +++ b/base_partner_sequence/i18n/th.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "พาร์ทเนอร์" diff --git a/base_partner_sequence/i18n/tr.po b/base_partner_sequence/i18n/tr.po new file mode 100644 index 00000000000..090cf1c3872 --- /dev/null +++ b/base_partner_sequence/i18n/tr.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "İş Ortağı" diff --git a/base_partner_sequence/i18n/tr_TR.po b/base_partner_sequence/i18n/tr_TR.po new file mode 100644 index 00000000000..b81a2a9baee --- /dev/null +++ b/base_partner_sequence/i18n/tr_TR.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Ortak" diff --git a/base_partner_sequence/i18n/vi.po b/base_partner_sequence/i18n/vi.po new file mode 100644 index 00000000000..98df599eaeb --- /dev/null +++ b/base_partner_sequence/i18n/vi.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Vietnamese (https://www.transifex.com/oca/teams/23907/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "Đối tác" diff --git a/base_partner_sequence/i18n/zh_CN.po b/base_partner_sequence/i18n/zh_CN.po new file mode 100644 index 00000000000..6b4f06b5c84 --- /dev/null +++ b/base_partner_sequence/i18n/zh_CN.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "业务伙伴" diff --git a/base_partner_sequence/i18n/zh_TW.po b/base_partner_sequence/i18n/zh_TW.po new file mode 100644 index 00000000000..06430b262aa --- /dev/null +++ b/base_partner_sequence/i18n/zh_TW.po @@ -0,0 +1,30 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-03-10 03:39+0000\n" +"PO-Revision-Date: 2017-03-10 03:39+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:71 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Partner" +msgstr "夥伴" From b3949eda1ce8106c07601a48ac950f26cdaaf345 Mon Sep 17 00:00:00 2001 From: jesusVMayor Date: Wed, 13 Dec 2017 18:38:31 +0100 Subject: [PATCH 13/70] migration of base_partner_sequence --- base_partner_sequence/__init__.py | 2 +- base_partner_sequence/__manifest__.py | 3 +-- base_partner_sequence/models/__init__.py | 2 +- base_partner_sequence/models/partner.py | 32 ++++-------------------- 4 files changed, 8 insertions(+), 31 deletions(-) diff --git a/base_partner_sequence/__init__.py b/base_partner_sequence/__init__.py index 062d23fcc88..0b9e04a8790 100644 --- a/base_partner_sequence/__init__.py +++ b/base_partner_sequence/__init__.py @@ -1,7 +1,7 @@ -# -*- coding: utf-8 -*- # Copyright 2004-2009 Tiny SPRL (). # Copyright 2013 initOS GmbH & Co. KG (). # Copyright 2016 Tecnativa - Vicent Cubells +# Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/base_partner_sequence/__manifest__.py b/base_partner_sequence/__manifest__.py index 39f656ce6b5..867b9b6ed2d 100644 --- a/base_partner_sequence/__manifest__.py +++ b/base_partner_sequence/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2004-2009 Tiny SPRL (). # Copyright 2013 initOS GmbH & Co. KG (). # Copyright 2016 Tecnativa - Vicent Cubells @@ -11,7 +10,7 @@ "Odoo Community Association (OCA), " "Camptocamp, ", "name": "Add a sequence on customers' code", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "category": "Generic Modules/Base", "website": "http://www.initos.com", "depends": [ diff --git a/base_partner_sequence/models/__init__.py b/base_partner_sequence/models/__init__.py index 9e8bfde264e..0ebe9647a2a 100644 --- a/base_partner_sequence/models/__init__.py +++ b/base_partner_sequence/models/__init__.py @@ -1,7 +1,7 @@ -# -*- coding: utf-8 -*- # Copyright 2004-2009 Tiny SPRL (). # Copyright 2013 initOS GmbH & Co. KG (). # Copyright 2016 Tecnativa - Vicent Cubells +# Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import partner diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index 9ddb630ca1e..8a3c74b843c 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -1,26 +1,8 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# Copyright (C) 2004-2009 Tiny SPRL (). -# Copyright (C) 2013 initOS GmbH & Co. KG (). -# Author Thomas Rehn -# Copyright (C) 2016 Camptocamp SA (). -# -# 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 . -# -############################################################################## +# Copyright 2004-2009 Tiny SPRL (). +# Copyright 2013 initOS GmbH & Co. KG (). +# Copyright 2016 Tecnativa - Vicent Cubells +# Copyright 2016 Camptocamp - Akim Juillerat (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo import api, models, exceptions, _ @@ -53,7 +35,6 @@ def write(self, vals): if not vals.get('ref') and partner._needsRef(vals) and \ not partner.ref: vals['ref'] = self._get_next_ref(vals=vals) - super(ResPartner, partner).write(vals) return True @@ -62,9 +43,6 @@ def _needsRef(self, vals=None): """ Checks whether a sequence value should be assigned to a partner's 'ref' - :param cr: database cursor - :param uid: current user id - :param id: id of the partner object :param vals: known field values of the partner object :return: true iff a sequence value should be assigned to the\ partner's 'ref' From 4294e98fbcf0e9a5eb211b16fe64ef18edaaf0df Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 3 Mar 2018 09:28:18 +0100 Subject: [PATCH 14/70] OCA Transbot updated translations from Transifex --- base_partner_sequence/i18n/de.po | 29 +++++++++++++++++++---------- base_partner_sequence/i18n/es.po | 23 +++++++++++------------ base_partner_sequence/i18n/fr.po | 25 +++++++++++++------------ base_partner_sequence/i18n/hr_HR.po | 22 +++++++++++----------- base_partner_sequence/i18n/it.po | 22 +++++++++++----------- base_partner_sequence/i18n/nl.po | 22 +++++++++++----------- base_partner_sequence/i18n/sl.po | 22 +++++++++++----------- 7 files changed, 87 insertions(+), 78 deletions(-) diff --git a/base_partner_sequence/i18n/de.po b/base_partner_sequence/i18n/de.po index b2d209e708f..304b1e5cd40 100644 --- a/base_partner_sequence/i18n/de.po +++ b/base_partner_sequence/i18n/de.po @@ -1,21 +1,30 @@ -# Translation of OpenERP Server. +# Translation of Odoo Server. # This file contains the translation of the following modules: -# +# * base_partner_sequence +# +# Translators: +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: OpenERP Server 7.0-20131013-231025\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-11-13 13:47+0000\n" -"PO-Revision-Date: 2013-11-13 13:47+0000\n" -"Last-Translator: <>\n" -"Language-Team: \n" +"POT-Creation-Date: 2018-02-28 03:45+0000\n" +"PO-Revision-Date: 2018-02-28 03:45+0000\n" +"Last-Translator: OCA Transbot , 2018\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" -"Plural-Forms: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +msgid "Contact" +msgstr "Kontakt" +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" diff --git a/base_partner_sequence/i18n/es.po b/base_partner_sequence/i18n/es.po index 98e6fad1772..b2fa84a3acb 100644 --- a/base_partner_sequence/i18n/es.po +++ b/base_partner_sequence/i18n/es.po @@ -3,15 +3,14 @@ # * base_partner_sequence # # Translators: -# OCA Transbot , 2017 -# Pedro M. Baeza , 2017 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-11-21 01:48+0000\n" -"PO-Revision-Date: 2017-11-21 01:48+0000\n" -"Last-Translator: Pedro M. Baeza , 2017\n" +"POT-Creation-Date: 2018-02-28 03:45+0000\n" +"PO-Revision-Date: 2018-02-28 03:45+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,12 +19,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:73 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "Contacto" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "Debe proveer algún valor o un ID." - -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Empresa" diff --git a/base_partner_sequence/i18n/fr.po b/base_partner_sequence/i18n/fr.po index c7d4c7a6c8d..bdc65bc9c21 100644 --- a/base_partner_sequence/i18n/fr.po +++ b/base_partner_sequence/i18n/fr.po @@ -3,14 +3,15 @@ # * base_partner_sequence # # Translators: -# OCA Transbot , 2017 +# OCA Transbot , 2018 +# Quentin THEURET , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-11-21 01:48+0000\n" -"PO-Revision-Date: 2017-11-21 01:48+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"POT-Creation-Date: 2018-02-28 03:45+0000\n" +"PO-Revision-Date: 2018-02-28 03:45+0000\n" +"Last-Translator: Quentin THEURET , 2018\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" @@ -18,13 +19,13 @@ msgstr "" "Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" -#. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:73 -#, python-format -msgid "Either field values or an id must be provided." -msgstr "" - #. module: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" +msgid "Contact" msgstr "Contact" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "Les valeurs des champs ou un id doivent être fournis." diff --git a/base_partner_sequence/i18n/hr_HR.po b/base_partner_sequence/i18n/hr_HR.po index c5714c7efaf..234cd0a435f 100644 --- a/base_partner_sequence/i18n/hr_HR.po +++ b/base_partner_sequence/i18n/hr_HR.po @@ -3,14 +3,14 @@ # * base_partner_sequence # # Translators: -# OCA Transbot , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-31 03:41+0000\n" -"PO-Revision-Date: 2017-05-31 03:41+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2018-02-28 03:45+0000\n" +"PO-Revision-Date: 2018-02-28 03:45+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,12 +19,12 @@ 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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:73 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "Kontakt" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "Mora biti upisana vrijedonst u polju ili postojati ID partnera" - -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" diff --git a/base_partner_sequence/i18n/it.po b/base_partner_sequence/i18n/it.po index 5a682230019..16e63a4a215 100644 --- a/base_partner_sequence/i18n/it.po +++ b/base_partner_sequence/i18n/it.po @@ -3,14 +3,14 @@ # * base_partner_sequence # # Translators: -# OCA Transbot , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-31 03:41+0000\n" -"PO-Revision-Date: 2017-05-31 03:41+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2018-02-28 03:45+0000\n" +"PO-Revision-Date: 2018-02-28 03:45+0000\n" +"Last-Translator: OCA Transbot , 2018\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -19,12 +19,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:73 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "Contatto" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "Devono essere forniti i valori dei campi o un identificativo" - -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" diff --git a/base_partner_sequence/i18n/nl.po b/base_partner_sequence/i18n/nl.po index 4c25db4646c..0587a211830 100644 --- a/base_partner_sequence/i18n/nl.po +++ b/base_partner_sequence/i18n/nl.po @@ -3,14 +3,14 @@ # * base_partner_sequence # # Translators: -# OCA Transbot , 2017 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-11-21 01:48+0000\n" -"PO-Revision-Date: 2017-11-21 01:48+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"POT-Creation-Date: 2018-02-28 03:45+0000\n" +"PO-Revision-Date: 2018-02-28 03:45+0000\n" +"Last-Translator: OCA Transbot , 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" @@ -19,12 +19,12 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:73 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "Contact" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" - -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Relatie" diff --git a/base_partner_sequence/i18n/sl.po b/base_partner_sequence/i18n/sl.po index 50b45f20ff5..9855651f158 100644 --- a/base_partner_sequence/i18n/sl.po +++ b/base_partner_sequence/i18n/sl.po @@ -3,14 +3,14 @@ # * base_partner_sequence # # Translators: -# OCA Transbot , 2016 +# OCA Transbot , 2018 msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-12-21 03:40+0000\n" -"PO-Revision-Date: 2016-12-21 03:40+0000\n" -"Last-Translator: OCA Transbot , 2016\n" +"POT-Creation-Date: 2018-02-28 03:45+0000\n" +"PO-Revision-Date: 2018-02-28 03:45+0000\n" +"Last-Translator: OCA Transbot , 2018\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" @@ -19,12 +19,12 @@ msgstr "" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:69 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "Stik" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" - -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" From 7bdfcd53249d0eeb6aca6989d27d734a43a95edf Mon Sep 17 00:00:00 2001 From: oca-travis Date: Fri, 22 Jun 2018 10:49:19 +0000 Subject: [PATCH 15/70] Update base_partner_sequence.pot --- base_partner_sequence/i18n/am.po | 17 +++++++----- base_partner_sequence/i18n/ar.po | 20 ++++++++------ .../i18n/base_partner_sequence.pot | 26 +++++++++++++++++++ base_partner_sequence/i18n/bg.po | 17 +++++++----- base_partner_sequence/i18n/bs.po | 20 ++++++++------ base_partner_sequence/i18n/ca.po | 17 +++++++----- base_partner_sequence/i18n/cs.po | 17 +++++++----- base_partner_sequence/i18n/da.po | 17 +++++++----- base_partner_sequence/i18n/de.po | 4 +-- base_partner_sequence/i18n/el_GR.po | 20 ++++++++------ base_partner_sequence/i18n/en_GB.po | 20 ++++++++------ base_partner_sequence/i18n/es.po | 4 +-- base_partner_sequence/i18n/es_CR.po | 20 ++++++++------ base_partner_sequence/i18n/es_EC.po | 20 ++++++++------ base_partner_sequence/i18n/es_MX.po | 20 ++++++++------ base_partner_sequence/i18n/es_VE.po | 20 ++++++++------ base_partner_sequence/i18n/et.po | 17 +++++++----- base_partner_sequence/i18n/eu.po | 17 +++++++----- base_partner_sequence/i18n/fi.po | 22 +++++++++------- base_partner_sequence/i18n/fr.po | 4 +-- base_partner_sequence/i18n/fr_CA.po | 20 ++++++++------ base_partner_sequence/i18n/fr_CH.po | 20 ++++++++------ base_partner_sequence/i18n/gl.po | 17 +++++++----- base_partner_sequence/i18n/hr.po | 20 ++++++++------ base_partner_sequence/i18n/hr_HR.po | 10 ++++--- base_partner_sequence/i18n/hu.po | 17 +++++++----- base_partner_sequence/i18n/it.po | 4 +-- base_partner_sequence/i18n/ja.po | 17 +++++++----- base_partner_sequence/i18n/lt.po | 20 ++++++++------ base_partner_sequence/i18n/lv.po | 20 ++++++++------ base_partner_sequence/i18n/mk.po | 17 +++++++----- base_partner_sequence/i18n/mn.po | 17 +++++++----- base_partner_sequence/i18n/nb.po | 20 ++++++++------ base_partner_sequence/i18n/nb_NO.po | 20 ++++++++------ base_partner_sequence/i18n/nl.po | 4 +-- base_partner_sequence/i18n/nl_BE.po | 20 ++++++++------ base_partner_sequence/i18n/nl_NL.po | 20 ++++++++------ base_partner_sequence/i18n/pl.po | 21 +++++++++------ base_partner_sequence/i18n/pt.po | 17 +++++++----- base_partner_sequence/i18n/pt_BR.po | 22 +++++++++------- base_partner_sequence/i18n/pt_PT.po | 20 ++++++++------ base_partner_sequence/i18n/ro.po | 20 ++++++++------ base_partner_sequence/i18n/ru.po | 21 +++++++++------ base_partner_sequence/i18n/sk.po | 17 +++++++----- base_partner_sequence/i18n/sl.po | 7 ++--- base_partner_sequence/i18n/sr@latin.po | 23 +++++++++------- base_partner_sequence/i18n/sv.po | 17 +++++++----- base_partner_sequence/i18n/th.po | 17 +++++++----- base_partner_sequence/i18n/tr.po | 17 +++++++----- base_partner_sequence/i18n/tr_TR.po | 20 ++++++++------ base_partner_sequence/i18n/vi.po | 17 +++++++----- base_partner_sequence/i18n/zh_CN.po | 20 ++++++++------ base_partner_sequence/i18n/zh_TW.po | 20 ++++++++------ 53 files changed, 554 insertions(+), 364 deletions(-) create mode 100644 base_partner_sequence/i18n/base_partner_sequence.pot diff --git a/base_partner_sequence/i18n/am.po b/base_partner_sequence/i18n/am.po index 7ee793570f4..5464ed0af28 100644 --- a/base_partner_sequence/i18n/am.po +++ b/base_partner_sequence/i18n/am.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Amharic (https://www.transifex.com/oca/teams/23907/am/)\n" +"Language: am\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: am\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "ተባባሪ" +#~ msgid "Partner" +#~ msgstr "ተባባሪ" diff --git a/base_partner_sequence/i18n/ar.po b/base_partner_sequence/i18n/ar.po index f5f027c4e3f..796f26ff1b4 100644 --- a/base_partner_sequence/i18n/ar.po +++ b/base_partner_sequence/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,23 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "الشريك" +#~ msgid "Partner" +#~ msgstr "الشريك" diff --git a/base_partner_sequence/i18n/base_partner_sequence.pot b/base_partner_sequence/i18n/base_partner_sequence.pot new file mode 100644 index 00000000000..681907a4e17 --- /dev/null +++ b/base_partner_sequence/i18n/base_partner_sequence.pot @@ -0,0 +1,26 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * base_partner_sequence +# +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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 +#, python-format +msgid "Either field values or an id must be provided." +msgstr "" + diff --git a/base_partner_sequence/i18n/bg.po b/base_partner_sequence/i18n/bg.po index 5b1a9317231..cd93ae4a608 100644 --- a/base_partner_sequence/i18n/bg.po +++ b/base_partner_sequence/i18n/bg.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2016-12-31 01:39+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" +"Language: bg\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: bg\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:69 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Партньор" +#~ msgid "Partner" +#~ msgstr "Партньор" diff --git a/base_partner_sequence/i18n/bs.po b/base_partner_sequence/i18n/bs.po index 64dc31c0fff..4d1a53493c6 100644 --- a/base_partner_sequence/i18n/bs.po +++ b/base_partner_sequence/i18n/bs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,23 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/ca.po b/base_partner_sequence/i18n/ca.po index de0d379a46b..59dd8e7a59f 100644 --- a/base_partner_sequence/i18n/ca.po +++ b/base_partner_sequence/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n" +"Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: ca\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Empresa" +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/base_partner_sequence/i18n/cs.po b/base_partner_sequence/i18n/cs.po index 4fc1f008c65..299ebdbc3d1 100644 --- a/base_partner_sequence/i18n/cs.po +++ b/base_partner_sequence/i18n/cs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Czech (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Společník" +#~ msgid "Partner" +#~ msgstr "Společník" diff --git a/base_partner_sequence/i18n/da.po b/base_partner_sequence/i18n/da.po index ada1b86ff91..396b5e5f7c0 100644 --- a/base_partner_sequence/i18n/da.po +++ b/base_partner_sequence/i18n/da.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2016-12-21 03:40+0000\n" "Last-Translator: OCA Transbot , 2016\n" "Language-Team: Danish (https://www.transifex.com/oca/teams/23907/da/)\n" +"Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: da\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:69 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/de.po b/base_partner_sequence/i18n/de.po index 304b1e5cd40..112ef72f710 100644 --- a/base_partner_sequence/i18n/de.po +++ b/base_partner_sequence/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-02-28 03:45+0000\n" "Last-Translator: OCA Transbot , 2018\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: base_partner_sequence diff --git a/base_partner_sequence/i18n/el_GR.po b/base_partner_sequence/i18n/el_GR.po index a5d28789337..f2d600d3f97 100644 --- a/base_partner_sequence/i18n/el_GR.po +++ b/base_partner_sequence/i18n/el_GR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/el_GR/)\n" +"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" +"el_GR/)\n" +"Language: el_GR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: el_GR\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Συνεργάτης" +#~ msgid "Partner" +#~ msgstr "Συνεργάτης" diff --git a/base_partner_sequence/i18n/en_GB.po b/base_partner_sequence/i18n/en_GB.po index c4b0c132a73..fd953adb41c 100644 --- a/base_partner_sequence/i18n/en_GB.po +++ b/base_partner_sequence/i18n/en_GB.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/teams/23907/en_GB/)\n" +"Language-Team: English (United Kingdom) (https://www.transifex.com/oca/" +"teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/es.po b/base_partner_sequence/i18n/es.po index b2fa84a3acb..57b755e097f 100644 --- a/base_partner_sequence/i18n/es.po +++ b/base_partner_sequence/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-02-28 03:45+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence diff --git a/base_partner_sequence/i18n/es_CR.po b/base_partner_sequence/i18n/es_CR.po index e1ae8c940ee..77384e3e15c 100644 --- a/base_partner_sequence/i18n/es_CR.po +++ b/base_partner_sequence/i18n/es_CR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/teams/23907/es_CR/)\n" +"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/" +"teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Empresa" +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_EC.po b/base_partner_sequence/i18n/es_EC.po index db3c90b3a30..09197363ee0 100644 --- a/base_partner_sequence/i18n/es_EC.po +++ b/base_partner_sequence/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Empresa" +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_MX.po b/base_partner_sequence/i18n/es_MX.po index 2db6106d0de..8890aa16b6d 100644 --- a/base_partner_sequence/i18n/es_MX.po +++ b/base_partner_sequence/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/es_MX/)\n" +"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/" +"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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Empresa" +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/base_partner_sequence/i18n/es_VE.po b/base_partner_sequence/i18n/es_VE.po index f2767cc7d4d..4fb6edde78f 100644 --- a/base_partner_sequence/i18n/es_VE.po +++ b/base_partner_sequence/i18n/es_VE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/teams/23907/es_VE/)\n" +"Language-Team: Spanish (Venezuela) (https://www.transifex.com/oca/" +"teams/23907/es_VE/)\n" +"Language: es_VE\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: es_VE\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Empresa" +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/base_partner_sequence/i18n/et.po b/base_partner_sequence/i18n/et.po index 0eb77bfc63f..dc6410b801b 100644 --- a/base_partner_sequence/i18n/et.po +++ b/base_partner_sequence/i18n/et.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Estonian (https://www.transifex.com/oca/teams/23907/et/)\n" +"Language: et\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: et\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/eu.po b/base_partner_sequence/i18n/eu.po index 54f72902dd1..4bd43f53a8d 100644 --- a/base_partner_sequence/i18n/eu.po +++ b/base_partner_sequence/i18n/eu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Basque (https://www.transifex.com/oca/teams/23907/eu/)\n" +"Language: eu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: eu\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Kidea" +#~ msgid "Partner" +#~ msgstr "Kidea" diff --git a/base_partner_sequence/i18n/fi.po b/base_partner_sequence/i18n/fi.po index b5215527801..8502545bddc 100644 --- a/base_partner_sequence/i18n/fi.po +++ b/base_partner_sequence/i18n/fi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: msgid "" msgstr "" @@ -10,22 +10,24 @@ msgstr "" "POT-Creation-Date: 2016-01-19 01:46+0000\n" "PO-Revision-Date: 2015-05-21 21:57+0000\n" "Last-Translator: <>\n" -"Language-Team: Finnish (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/fi/)\n" +"Language-Team: Finnish (http://www.transifex.com/oca/OCA-partner-contact-8-0/" +"language/fi/)\n" +"Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fi\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Kumppani" +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: view:res.partner:base_partner_sequence.view_partner_form -msgid "" -"{\n" -" 'readonly': [('is_company', '=', False),\n" -" ('parent_id', '!=', False)]}" +#: code:addons/base_partner_sequence/models/partner.py:51 +#, python-format +msgid "Either field values or an id must be provided." msgstr "" + +#~ msgid "Partner" +#~ msgstr "Kumppani" diff --git a/base_partner_sequence/i18n/fr.po b/base_partner_sequence/i18n/fr.po index bdc65bc9c21..6282e9cd27a 100644 --- a/base_partner_sequence/i18n/fr.po +++ b/base_partner_sequence/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2018 # Quentin THEURET , 2018 @@ -13,10 +13,10 @@ msgstr "" "PO-Revision-Date: 2018-02-28 03:45+0000\n" "Last-Translator: Quentin THEURET , 2018\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: base_partner_sequence diff --git a/base_partner_sequence/i18n/fr_CA.po b/base_partner_sequence/i18n/fr_CA.po index ecde352d6a6..b7f3d20a392 100644 --- a/base_partner_sequence/i18n/fr_CA.po +++ b/base_partner_sequence/i18n/fr_CA.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/fr_CA/)\n" +"Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/" +"fr_CA/)\n" +"Language: fr_CA\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr_CA\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partenaire" +#~ msgid "Partner" +#~ msgstr "Partenaire" diff --git a/base_partner_sequence/i18n/fr_CH.po b/base_partner_sequence/i18n/fr_CH.po index 686c41bef92..a5369ccc865 100644 --- a/base_partner_sequence/i18n/fr_CH.po +++ b/base_partner_sequence/i18n/fr_CH.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: French (Switzerland) (https://www.transifex.com/oca/teams/23907/fr_CH/)\n" +"Language-Team: French (Switzerland) (https://www.transifex.com/oca/" +"teams/23907/fr_CH/)\n" +"Language: fr_CH\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr_CH\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partenaire" +#~ msgid "Partner" +#~ msgstr "Partenaire" diff --git a/base_partner_sequence/i18n/gl.po b/base_partner_sequence/i18n/gl.po index a2225ccf3c6..277484b5d01 100644 --- a/base_partner_sequence/i18n/gl.po +++ b/base_partner_sequence/i18n/gl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" +"Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: gl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Empresa" +#~ msgid "Partner" +#~ msgstr "Empresa" diff --git a/base_partner_sequence/i18n/hr.po b/base_partner_sequence/i18n/hr.po index c56ed808ba7..38fc5f6a273 100644 --- a/base_partner_sequence/i18n/hr.po +++ b/base_partner_sequence/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2016 msgid "" @@ -12,19 +12,23 @@ msgstr "" "PO-Revision-Date: 2016-12-31 01:39+0000\n" "Last-Translator: OCA Transbot , 2016\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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:69 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/hr_HR.po b/base_partner_sequence/i18n/hr_HR.po index 234cd0a435f..81751c4c65d 100644 --- a/base_partner_sequence/i18n/hr_HR.po +++ b/base_partner_sequence/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -11,12 +11,14 @@ msgstr "" "POT-Creation-Date: 2018-02-28 03:45+0000\n" "PO-Revision-Date: 2018-02-28 03:45+0000\n" "Last-Translator: OCA Transbot , 2018\n" -"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n" +"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" +"hr_HR/)\n" +"Language: hr_HR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr_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: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner diff --git a/base_partner_sequence/i18n/hu.po b/base_partner_sequence/i18n/hu.po index 4e5a0f3f4bb..f0e3d4b8847 100644 --- a/base_partner_sequence/i18n/hu.po +++ b/base_partner_sequence/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Hungarian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/it.po b/base_partner_sequence/i18n/it.po index 16e63a4a215..fe36a14cff0 100644 --- a/base_partner_sequence/i18n/it.po +++ b/base_partner_sequence/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-02-28 03:45+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Italian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence diff --git a/base_partner_sequence/i18n/ja.po b/base_partner_sequence/i18n/ja.po index 20b5e19a27d..0478d13a6b4 100644 --- a/base_partner_sequence/i18n/ja.po +++ b/base_partner_sequence/i18n/ja.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Japanese (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "パートナ" +#~ msgid "Partner" +#~ msgstr "パートナ" diff --git a/base_partner_sequence/i18n/lt.po b/base_partner_sequence/i18n/lt.po index a26275ab5e5..c77f3bbb550 100644 --- a/base_partner_sequence/i18n/lt.po +++ b/base_partner_sequence/i18n/lt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,23 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partneris" +#~ msgid "Partner" +#~ msgstr "Partneris" diff --git a/base_partner_sequence/i18n/lv.po b/base_partner_sequence/i18n/lv.po index c41d4e99b96..a90a62bc64c 100644 --- a/base_partner_sequence/i18n/lv.po +++ b/base_partner_sequence/i18n/lv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,23 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n" +"Language: lv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: lv\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partneris" +#~ msgid "Partner" +#~ msgstr "Partneris" diff --git a/base_partner_sequence/i18n/mk.po b/base_partner_sequence/i18n/mk.po index 64b50c1ab0b..800351be3d3 100644 --- a/base_partner_sequence/i18n/mk.po +++ b/base_partner_sequence/i18n/mk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Macedonian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Партнер" +#~ msgid "Partner" +#~ msgstr "Партнер" diff --git a/base_partner_sequence/i18n/mn.po b/base_partner_sequence/i18n/mn.po index 0d76bf6e4af..fd0107840d8 100644 --- a/base_partner_sequence/i18n/mn.po +++ b/base_partner_sequence/i18n/mn.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Mongolian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Харилцагч" +#~ msgid "Partner" +#~ msgstr "Харилцагч" diff --git a/base_partner_sequence/i18n/nb.po b/base_partner_sequence/i18n/nb.po index 1d5f2a69edf..67c18d7fe79 100644 --- a/base_partner_sequence/i18n/nb.po +++ b/base_partner_sequence/i18n/nb.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/nb/)\n" +"Language-Team: Norwegian Bokmål (https://www.transifex.com/oca/teams/23907/" +"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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/nb_NO.po b/base_partner_sequence/i18n/nb_NO.po index 4e6b8aabb63..c7a5accec4f 100644 --- a/base_partner_sequence/i18n/nb_NO.po +++ b/base_partner_sequence/i18n/nb_NO.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/teams/23907/nb_NO/)\n" +"Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" +"teams/23907/nb_NO/)\n" +"Language: nb_NO\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nb_NO\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/nl.po b/base_partner_sequence/i18n/nl.po index 0587a211830..19cfb552c82 100644 --- a/base_partner_sequence/i18n/nl.po +++ b/base_partner_sequence/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2018-02-28 03:45+0000\n" "Last-Translator: OCA Transbot , 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: base_partner_sequence diff --git a/base_partner_sequence/i18n/nl_BE.po b/base_partner_sequence/i18n/nl_BE.po index da4f0328f0a..0fd4f789c94 100644 --- a/base_partner_sequence/i18n/nl_BE.po +++ b/base_partner_sequence/i18n/nl_BE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/nl_BE/)\n" +"Language-Team: Dutch (Belgium) (https://www.transifex.com/oca/teams/23907/" +"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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Relatie" +#~ msgid "Partner" +#~ msgstr "Relatie" diff --git a/base_partner_sequence/i18n/nl_NL.po b/base_partner_sequence/i18n/nl_NL.po index 975f2f7c768..3b7d708f642 100644 --- a/base_partner_sequence/i18n/nl_NL.po +++ b/base_partner_sequence/i18n/nl_NL.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # Peter Hageman , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-06-10 01:50+0000\n" "PO-Revision-Date: 2017-06-10 01:50+0000\n" "Last-Translator: Peter Hageman , 2017\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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:73 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Relatie" +#~ msgid "Partner" +#~ msgstr "Relatie" diff --git a/base_partner_sequence/i18n/pl.po b/base_partner_sequence/i18n/pl.po index e48b7ad51de..dafeaf25030 100644 --- a/base_partner_sequence/i18n/pl.po +++ b/base_partner_sequence/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,24 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Polish (https://www.transifex.com/oca/teams/23907/pl/)\n" +"Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pl\n" -"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n" +"%100<12 || n%100>=14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n" +"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/pt.po b/base_partner_sequence/i18n/pt.po index 64b49ae8544..93cb2bd7256 100644 --- a/base_partner_sequence/i18n/pt.po +++ b/base_partner_sequence/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # Tiago Baptista , 2016 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2016-12-21 03:40+0000\n" "Last-Translator: Tiago Baptista , 2016\n" "Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:69 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Parceiro" +#~ msgid "Partner" +#~ msgstr "Parceiro" diff --git a/base_partner_sequence/i18n/pt_BR.po b/base_partner_sequence/i18n/pt_BR.po index 207979b3fb8..417d8d738f4 100644 --- a/base_partner_sequence/i18n/pt_BR.po +++ b/base_partner_sequence/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # danimaribeiro , 2015 msgid "" @@ -11,22 +11,24 @@ msgstr "" "POT-Creation-Date: 2015-08-28 15:54+0000\n" "PO-Revision-Date: 2015-07-22 18:40+0000\n" "Last-Translator: danimaribeiro \n" -"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-partner-contact-8-0/language/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-partner-" +"contact-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: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Parceiro" +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: view:res.partner:base_partner_sequence.view_partner_form -msgid "" -"{\n" -" 'readonly': [('is_company', '=', False),\n" -" ('parent_id', '!=', False)]}" +#: code:addons/base_partner_sequence/models/partner.py:51 +#, python-format +msgid "Either field values or an id must be provided." msgstr "" + +#~ msgid "Partner" +#~ msgstr "Parceiro" diff --git a/base_partner_sequence/i18n/pt_PT.po b/base_partner_sequence/i18n/pt_PT.po index da646a67313..28abaa382fa 100644 --- a/base_partner_sequence/i18n/pt_PT.po +++ b/base_partner_sequence/i18n/pt_PT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # Tiago Baptista , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-01-20 18:18+0000\n" "PO-Revision-Date: 2017-01-20 18:18+0000\n" "Last-Translator: Tiago Baptista , 2017\n" -"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/teams/23907/pt_PT/)\n" +"Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" +"teams/23907/pt_PT/)\n" +"Language: pt_PT\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_PT\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:69 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Parceiro" +#~ msgid "Partner" +#~ msgstr "Parceiro" diff --git a/base_partner_sequence/i18n/ro.po b/base_partner_sequence/i18n/ro.po index dd635d1e2f2..8d57af4ca39 100644 --- a/base_partner_sequence/i18n/ro.po +++ b/base_partner_sequence/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,23 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partener" +#~ msgid "Partner" +#~ msgstr "Partener" diff --git a/base_partner_sequence/i18n/ru.po b/base_partner_sequence/i18n/ru.po index 63957857e85..917c20e8916 100644 --- a/base_partner_sequence/i18n/ru.po +++ b/base_partner_sequence/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,24 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Russian (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Контрагент" +#~ msgid "Partner" +#~ msgstr "Контрагент" diff --git a/base_partner_sequence/i18n/sk.po b/base_partner_sequence/i18n/sk.po index 5ed13d87c79..c2d8fd4a3a7 100644 --- a/base_partner_sequence/i18n/sk.po +++ b/base_partner_sequence/i18n/sk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovak (https://www.transifex.com/oca/teams/23907/sk/)\n" +"Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sk\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/sl.po b/base_partner_sequence/i18n/sl.po index 9855651f158..720461f61da 100644 --- a/base_partner_sequence/i18n/sl.po +++ b/base_partner_sequence/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2018 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-02-28 03:45+0000\n" "Last-Translator: OCA Transbot , 2018\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: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner diff --git a/base_partner_sequence/i18n/sr@latin.po b/base_partner_sequence/i18n/sr@latin.po index d8b8cc1c022..11b476e2ad2 100644 --- a/base_partner_sequence/i18n/sr@latin.po +++ b/base_partner_sequence/i18n/sr@latin.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,25 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/sr@latin/)\n" +"Language-Team: Serbian (Latin) (https://www.transifex.com/oca/teams/23907/" +"sr@latin/)\n" +"Language: sr@latin\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sr@latin\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: base_partner_sequence +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Partner" +#~ msgid "Partner" +#~ msgstr "Partner" diff --git a/base_partner_sequence/i18n/sv.po b/base_partner_sequence/i18n/sv.po index be777d0daf7..a6a2a0eb73f 100644 --- a/base_partner_sequence/i18n/sv.po +++ b/base_partner_sequence/i18n/sv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Företag" +#~ msgid "Partner" +#~ msgstr "Företag" diff --git a/base_partner_sequence/i18n/th.po b/base_partner_sequence/i18n/th.po index 45fc638e2c8..94592746dc1 100644 --- a/base_partner_sequence/i18n/th.po +++ b/base_partner_sequence/i18n/th.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Thai (https://www.transifex.com/oca/teams/23907/th/)\n" +"Language: th\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: th\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "พาร์ทเนอร์" +#~ msgid "Partner" +#~ msgstr "พาร์ทเนอร์" diff --git a/base_partner_sequence/i18n/tr.po b/base_partner_sequence/i18n/tr.po index 090cf1c3872..39922ee48b0 100644 --- a/base_partner_sequence/i18n/tr.po +++ b/base_partner_sequence/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "İş Ortağı" +#~ msgid "Partner" +#~ msgstr "İş Ortağı" diff --git a/base_partner_sequence/i18n/tr_TR.po b/base_partner_sequence/i18n/tr_TR.po index b81a2a9baee..dc038a4fa43 100644 --- a/base_partner_sequence/i18n/tr_TR.po +++ b/base_partner_sequence/i18n/tr_TR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Ortak" +#~ msgid "Partner" +#~ msgstr "Ortak" diff --git a/base_partner_sequence/i18n/vi.po b/base_partner_sequence/i18n/vi.po index 98df599eaeb..69a7959d41b 100644 --- a/base_partner_sequence/i18n/vi.po +++ b/base_partner_sequence/i18n/vi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,19 +12,22 @@ msgstr "" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Vietnamese (https://www.transifex.com/oca/teams/23907/vi/)\n" +"Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: vi\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "Đối tác" +#~ msgid "Partner" +#~ msgstr "Đối tác" diff --git a/base_partner_sequence/i18n/zh_CN.po b/base_partner_sequence/i18n/zh_CN.po index 6b4f06b5c84..2854fd55e80 100644 --- a/base_partner_sequence/i18n/zh_CN.po +++ b/base_partner_sequence/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/zh_CN/)\n" +"Language-Team: Chinese (China) (https://www.transifex.com/oca/teams/23907/" +"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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "业务伙伴" +#~ msgid "Partner" +#~ msgstr "业务伙伴" diff --git a/base_partner_sequence/i18n/zh_TW.po b/base_partner_sequence/i18n/zh_TW.po index 06430b262aa..2b8be5faa55 100644 --- a/base_partner_sequence/i18n/zh_TW.po +++ b/base_partner_sequence/i18n/zh_TW.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * base_partner_sequence -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,20 +11,24 @@ msgstr "" "POT-Creation-Date: 2017-03-10 03:39+0000\n" "PO-Revision-Date: 2017-03-10 03:39+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/zh_TW/)\n" +"Language-Team: Chinese (Taiwan) (https://www.transifex.com/oca/teams/23907/" +"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: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:71 +#: model:ir.model,name:base_partner_sequence.model_res_partner +msgid "Contact" +msgstr "" + +#. module: base_partner_sequence +#: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." msgstr "" -#. module: base_partner_sequence -#: model:ir.model,name:base_partner_sequence.model_res_partner -msgid "Partner" -msgstr "夥伴" +#~ msgid "Partner" +#~ msgstr "夥伴" From 2b7b41b0dd0cf84b4c991e1fc412e59cae7bffe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Honor=C3=A9?= Date: Mon, 12 Nov 2018 13:38:57 +0100 Subject: [PATCH 16/70] Fix issue during write on base_partner_sequence --- base_partner_sequence/models/partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index 8a3c74b843c..29bbf95203b 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -34,7 +34,7 @@ def write(self, vals): for partner in self: if not vals.get('ref') and partner._needsRef(vals) and \ not partner.ref: - vals['ref'] = self._get_next_ref(vals=vals) + vals['ref'] = partner._get_next_ref(vals=vals) super(ResPartner, partner).write(vals) return True From 3ca6e34f219360d5fef820f9f6cb7ae8e1ddaf37 Mon Sep 17 00:00:00 2001 From: Cas Vissers Date: Wed, 14 Nov 2018 12:34:54 +0000 Subject: [PATCH 17/70] Translated using Weblate (Dutch) Currently translated at 100.0% (2 of 2 strings) Translation: partner-contact-11.0/partner-contact-11.0-base_partner_sequence Translate-URL: https://translation.odoo-community.org/projects/partner-contact-11-0/partner-contact-11-0-base_partner_sequence/nl/ --- base_partner_sequence/i18n/nl.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/base_partner_sequence/i18n/nl.po b/base_partner_sequence/i18n/nl.po index 19cfb552c82..ad93a14b097 100644 --- a/base_partner_sequence/i18n/nl.po +++ b/base_partner_sequence/i18n/nl.po @@ -9,14 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-02-28 03:45+0000\n" -"PO-Revision-Date: 2018-02-28 03:45+0000\n" -"Last-Translator: OCA Transbot , 2018\n" +"PO-Revision-Date: 2018-11-15 13:08+0000\n" +"Last-Translator: Cas Vissers \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" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.2.2\n" #. module: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner @@ -27,4 +28,4 @@ msgstr "Contact" #: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." -msgstr "" +msgstr "Velwaardes of een ID moet opgegeven worden." From 200ca0a7c1a6c15b02cc50adf1ce19ef18fb1d62 Mon Sep 17 00:00:00 2001 From: Quentin Groulard Date: Mon, 10 Dec 2018 17:25:52 +0100 Subject: [PATCH 18/70] Base Partner Sequence: Migration to 12.0 Bump module version to 12.0.1.0.0 Use README by fragment system Remove copyrights Update website Add development_status --- base_partner_sequence/README.rst | 84 ------------------- base_partner_sequence/__init__.py | 4 - base_partner_sequence/__manifest__.py | 17 ++-- base_partner_sequence/models/__init__.py | 4 - base_partner_sequence/readme/CONTRIBUTORS.rst | 11 +++ base_partner_sequence/readme/DESCRIPTION.rst | 11 +++ base_partner_sequence/tests/__init__.py | 3 - .../tests/test_base_partner_sequence.py | 2 +- 8 files changed, 33 insertions(+), 103 deletions(-) delete mode 100644 base_partner_sequence/README.rst create mode 100644 base_partner_sequence/readme/CONTRIBUTORS.rst create mode 100644 base_partner_sequence/readme/DESCRIPTION.rst diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst deleted file mode 100644 index acdb03db38e..00000000000 --- a/base_partner_sequence/README.rst +++ /dev/null @@ -1,84 +0,0 @@ -.. 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 - -===================== -Base Partner Sequence -===================== - -This module adds the possibility to define a sequence for -the partner's reference. This reference is then set as default -when you create a new partner, using the defined sequence. - -The reference field is treated as a commercial field, i.e. it -is managed from the commercial partner and then propagated to -the partner's contacts. The field is visible on the contacts, -but it can only be modified from the commercial partner. - -No references are assigned for contacts such as shipping and -invoice addresses. - -Installation -============ - -There are no special instructions regarding installation. - -Configuration -============= - -No configuration is needed. - -Usage -===== - -To use this module, you need to: - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/134/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 -======= - -Images ------- - -* Odoo Community Association: `Icon `_. - -Contributors ------------- - -* Thomas Rehn -* Stefan Rijnhart -* Yannick Vaucher -* Sandy Carter -* Laurent Mignon (ACSONE) -* Guewen Baconnier -* Alexandre Fayolle -* Vicent Cubells -* Akim Juillerat - - -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/base_partner_sequence/__init__.py b/base_partner_sequence/__init__.py index 0b9e04a8790..cfc40a3eacf 100644 --- a/base_partner_sequence/__init__.py +++ b/base_partner_sequence/__init__.py @@ -1,7 +1,3 @@ -# Copyright 2004-2009 Tiny SPRL (). -# Copyright 2013 initOS GmbH & Co. KG (). -# Copyright 2016 Tecnativa - Vicent Cubells -# Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import models diff --git a/base_partner_sequence/__manifest__.py b/base_partner_sequence/__manifest__.py index 867b9b6ed2d..2531161904a 100644 --- a/base_partner_sequence/__manifest__.py +++ b/base_partner_sequence/__manifest__.py @@ -4,15 +4,18 @@ # Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - "author": "Tiny/initOS GmbH & Co. KG," - "ACSONE SA/NV," - "Tecnativa, " - "Odoo Community Association (OCA), " - "Camptocamp, ", + "author": ( + "Tiny/initOS GmbH & Co. KG," + "ACSONE SA/NV," + "Tecnativa," + "Camptocamp," + "Odoo Community Association (OCA)" + ), "name": "Add a sequence on customers' code", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", + "development_status": "Stable", "category": "Generic Modules/Base", - "website": "http://www.initos.com", + "website": "https://github.com/OCA/partner-contact", "depends": [ 'base', ], diff --git a/base_partner_sequence/models/__init__.py b/base_partner_sequence/models/__init__.py index 0ebe9647a2a..35c698ed97c 100644 --- a/base_partner_sequence/models/__init__.py +++ b/base_partner_sequence/models/__init__.py @@ -1,7 +1,3 @@ -# Copyright 2004-2009 Tiny SPRL (). -# Copyright 2013 initOS GmbH & Co. KG (). -# Copyright 2016 Tecnativa - Vicent Cubells -# Copyright 2016 Camptocamp - Akim Juillerat (). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import partner diff --git a/base_partner_sequence/readme/CONTRIBUTORS.rst b/base_partner_sequence/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..fa6d2683cef --- /dev/null +++ b/base_partner_sequence/readme/CONTRIBUTORS.rst @@ -0,0 +1,11 @@ +* Thomas Rehn +* Stefan Rijnhart +* Yannick Vaucher +* Sandy Carter +* Laurent Mignon (ACSONE) +* Guewen Baconnier +* Alexandre Fayolle +* Vicent Cubells +* Akim Juillerat +* Cas Vissers +* Quentin Groulard \ No newline at end of file diff --git a/base_partner_sequence/readme/DESCRIPTION.rst b/base_partner_sequence/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..5f1e0aa00c5 --- /dev/null +++ b/base_partner_sequence/readme/DESCRIPTION.rst @@ -0,0 +1,11 @@ +This module adds the possibility to define a sequence for +the partner's reference. This reference is then set as default +when you create a new partner, using the defined sequence. + +The reference field is treated as a commercial field, i.e. it +is managed from the commercial partner and then propagated to +the partner's contacts. The field is visible on the contacts, +but it can only be modified from the commercial partner. + +No references are assigned for contacts such as shipping and +invoice addresses. \ No newline at end of file diff --git a/base_partner_sequence/tests/__init__.py b/base_partner_sequence/tests/__init__.py index 675c51b6e8c..1e07aa3f463 100644 --- a/base_partner_sequence/tests/__init__.py +++ b/base_partner_sequence/tests/__init__.py @@ -1,7 +1,4 @@ # -*- coding: utf-8 -*- -# Copyright 2004-2009 Tiny SPRL (). -# Copyright 2013 initOS GmbH & Co. KG (). -# Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import test_base_partner_sequence diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py index 32c68f2b1f9..b5e479cf3f9 100644 --- a/base_partner_sequence/tests/test_base_partner_sequence.py +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -3,7 +3,7 @@ # Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -import openerp.tests.common as common +import odoo.tests.common as common class TestBasePartnerSequence(common.TransactionCase): From 3cba0fd463335486cec1062db18f227d347be4db Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Sat, 15 Dec 2018 18:02:43 +0000 Subject: [PATCH 19/70] README.rst --- base_partner_sequence/README.rst | 93 ++++ .../static/description/index.html | 440 ++++++++++++++++++ 2 files changed, 533 insertions(+) create mode 100644 base_partner_sequence/README.rst create mode 100644 base_partner_sequence/static/description/index.html diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst new file mode 100644 index 00000000000..64b6c1ab504 --- /dev/null +++ b/base_partner_sequence/README.rst @@ -0,0 +1,93 @@ +================================= +Add a sequence on customers' code +================================= + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| 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 +.. |badge2| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github + :target: https://github.com/OCA/partner-contact/tree/12.0/base_partner_sequence + :alt: OCA/partner-contact +.. |badge3| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-base_partner_sequence + :alt: Translate me on Weblate +.. |badge4| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/134/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| + +This module adds the possibility to define a sequence for +the partner's reference. This reference is then set as default +when you create a new partner, using the defined sequence. + +The reference field is treated as a commercial field, i.e. it +is managed from the commercial partner and then propagated to +the partner's contacts. The field is visible on the contacts, +but it can only be modified from the commercial partner. + +No references are assigned for contacts such as shipping and +invoice addresses. + +**Table of contents** + +.. contents:: + :local: + +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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Tiny/initOS GmbH & Co. KG +* ACSONE SA/NV +* Tecnativa +* Camptocamp + +Contributors +~~~~~~~~~~~~ + +* Thomas Rehn +* Stefan Rijnhart +* Yannick Vaucher +* Sandy Carter +* Laurent Mignon (ACSONE) +* Guewen Baconnier +* Alexandre Fayolle +* Vicent Cubells +* Akim Juillerat +* Cas Vissers +* Quentin Groulard + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/partner-contact `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html new file mode 100644 index 00000000000..019f00cffbe --- /dev/null +++ b/base_partner_sequence/static/description/index.html @@ -0,0 +1,440 @@ + + + + + + +Add a sequence on customers' code + + + +
+

Add a sequence on customers’ code

+ + +

License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runbot

+

This module adds the possibility to define a sequence for +the partner’s reference. This reference is then set as default +when you create a new partner, using the defined sequence.

+

The reference field is treated as a commercial field, i.e. it +is managed from the commercial partner and then propagated to +the partner’s contacts. The field is visible on the contacts, +but it can only be modified from the commercial partner.

+

No references are assigned for contacts such as shipping and +invoice addresses.

+

Table of contents

+ +
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Tiny/initOS GmbH & Co. KG
  • +
  • ACSONE SA/NV
  • +
  • Tecnativa
  • +
  • Camptocamp
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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/partner-contact project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + From 5e25c664a79b76e79d5cac7d0bf4a5f6f5a1b6d9 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Sat, 15 Dec 2018 18:17:26 +0000 Subject: [PATCH 20/70] Update base_partner_sequence.pot --- base_partner_sequence/i18n/base_partner_sequence.pot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_partner_sequence/i18n/base_partner_sequence.pot b/base_partner_sequence/i18n/base_partner_sequence.pot index 681907a4e17..5a768dd982e 100644 --- a/base_partner_sequence/i18n/base_partner_sequence.pot +++ b/base_partner_sequence/i18n/base_partner_sequence.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" From 0537f9ca40b80a0da06d84642cf01eef5bcffccc Mon Sep 17 00:00:00 2001 From: sbejaoui Date: Wed, 9 Jan 2019 11:22:35 +0100 Subject: [PATCH 21/70] - unique ref on write --- base_partner_sequence/models/partner.py | 12 ++++++++---- .../tests/test_base_partner_sequence.py | 13 +++++++++++++ 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index 29bbf95203b..ef150eceba2 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -32,10 +32,14 @@ def copy(self, default=None): @api.multi def write(self, vals): for partner in self: - if not vals.get('ref') and partner._needsRef(vals) and \ - not partner.ref: - vals['ref'] = partner._get_next_ref(vals=vals) - super(ResPartner, partner).write(vals) + partner_vals = vals.copy() + if ( + not partner_vals.get('ref') + and partner._needsRef(partner_vals) + and not partner.ref + ): + partner_vals['ref'] = partner._get_next_ref(vals=partner_vals) + super(ResPartner, partner).write(partner_vals) return True @api.multi diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py index b5e479cf3f9..abf7d7885ae 100644 --- a/base_partner_sequence/tests/test_base_partner_sequence.py +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -33,3 +33,16 @@ def test_ref_sequence_on_contact(self): self.assertEqual( self.partner.ref, contact.ref, "All it's ok as sequence doesn't " "increase.") + + def test_unique_ref_on_write(self): + """Assert that create and write gives a different refs if we """ + vals = [ + {'name': "test1", 'email': "test@test.com"}, + {'name': "test2", 'email': "test@test.com"}, + ] + partners = self.env['res.partner'].create(vals) + self.assertFalse(partners[0].ref == partners[1].ref) + partners.write({'ref': False}) + self.assertFalse(partners[0].ref) + partners.write({}) + self.assertFalse(partners[0].ref == partners[1].ref) From c3ccd5b45b486adb14deef9142de33a37eb92beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20V=C3=A1zquez=20Rodr=C3=ADguez?= Date: Mon, 11 Feb 2019 09:44:57 +0000 Subject: [PATCH 22/70] Translated using Weblate (Galician) Currently translated at 100.0% (2 of 2 strings) Translation: partner-contact-12.0/partner-contact-12.0-base_partner_sequence Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-base_partner_sequence/gl/ --- base_partner_sequence/i18n/gl.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/base_partner_sequence/i18n/gl.po b/base_partner_sequence/i18n/gl.po index 277484b5d01..64e7e56a38b 100644 --- a/base_partner_sequence/i18n/gl.po +++ b/base_partner_sequence/i18n/gl.po @@ -9,25 +9,26 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-03-10 03:39+0000\n" -"PO-Revision-Date: 2017-03-10 03:39+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2019-02-11 11:50+0000\n" +"Last-Translator: Marta Vázquez Rodríguez \n" "Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" "Language: gl\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.4\n" #. module: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner msgid "Contact" -msgstr "" +msgstr "Contacto" #. module: base_partner_sequence #: code:addons/base_partner_sequence/models/partner.py:51 #, python-format msgid "Either field values or an id must be provided." -msgstr "" +msgstr "Debe prover algún valor ou un ID." #~ msgid "Partner" #~ msgstr "Empresa" From 8e94e3370b611dc7c41bee4fdea16ab26102abe9 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Wed, 8 May 2019 09:03:15 +0000 Subject: [PATCH 23/70] Update base_partner_sequence.pot --- base_partner_sequence/i18n/base_partner_sequence.pot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_partner_sequence/i18n/base_partner_sequence.pot b/base_partner_sequence/i18n/base_partner_sequence.pot index 5a768dd982e..2bae4f66904 100644 --- a/base_partner_sequence/i18n/base_partner_sequence.pot +++ b/base_partner_sequence/i18n/base_partner_sequence.pot @@ -19,7 +19,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" From bd3bd5981efec9fd2bcf975af93d4f0c215d5a58 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Mon, 20 May 2019 20:51:23 +0000 Subject: [PATCH 24/70] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: partner-contact-12.0/partner-contact-12.0-base_partner_sequence Translate-URL: https://translation.odoo-community.org/projects/partner-contact-12-0/partner-contact-12-0-base_partner_sequence/ --- base_partner_sequence/i18n/am.po | 2 +- base_partner_sequence/i18n/ar.po | 2 +- base_partner_sequence/i18n/bg.po | 2 +- base_partner_sequence/i18n/bs.po | 2 +- base_partner_sequence/i18n/ca.po | 2 +- base_partner_sequence/i18n/cs.po | 2 +- base_partner_sequence/i18n/da.po | 2 +- base_partner_sequence/i18n/de.po | 2 +- base_partner_sequence/i18n/el_GR.po | 2 +- base_partner_sequence/i18n/en_GB.po | 2 +- base_partner_sequence/i18n/es.po | 2 +- base_partner_sequence/i18n/es_CR.po | 2 +- base_partner_sequence/i18n/es_EC.po | 2 +- base_partner_sequence/i18n/es_MX.po | 2 +- base_partner_sequence/i18n/es_VE.po | 2 +- base_partner_sequence/i18n/et.po | 2 +- base_partner_sequence/i18n/eu.po | 2 +- base_partner_sequence/i18n/fi.po | 2 +- base_partner_sequence/i18n/fr.po | 2 +- base_partner_sequence/i18n/fr_CA.po | 2 +- base_partner_sequence/i18n/fr_CH.po | 2 +- base_partner_sequence/i18n/gl.po | 2 +- base_partner_sequence/i18n/hr.po | 2 +- base_partner_sequence/i18n/hr_HR.po | 2 +- base_partner_sequence/i18n/hu.po | 2 +- base_partner_sequence/i18n/it.po | 2 +- base_partner_sequence/i18n/ja.po | 2 +- base_partner_sequence/i18n/lt.po | 2 +- base_partner_sequence/i18n/lv.po | 2 +- base_partner_sequence/i18n/mk.po | 2 +- base_partner_sequence/i18n/mn.po | 2 +- base_partner_sequence/i18n/nb.po | 2 +- base_partner_sequence/i18n/nb_NO.po | 2 +- base_partner_sequence/i18n/nl.po | 2 +- base_partner_sequence/i18n/nl_BE.po | 2 +- base_partner_sequence/i18n/nl_NL.po | 2 +- base_partner_sequence/i18n/pl.po | 2 +- base_partner_sequence/i18n/pt.po | 2 +- base_partner_sequence/i18n/pt_BR.po | 2 +- base_partner_sequence/i18n/pt_PT.po | 2 +- base_partner_sequence/i18n/ro.po | 2 +- base_partner_sequence/i18n/ru.po | 2 +- base_partner_sequence/i18n/sk.po | 2 +- base_partner_sequence/i18n/sl.po | 2 +- base_partner_sequence/i18n/sr@latin.po | 2 +- base_partner_sequence/i18n/sv.po | 2 +- base_partner_sequence/i18n/th.po | 2 +- base_partner_sequence/i18n/tr.po | 2 +- base_partner_sequence/i18n/tr_TR.po | 2 +- base_partner_sequence/i18n/vi.po | 2 +- base_partner_sequence/i18n/zh_CN.po | 2 +- base_partner_sequence/i18n/zh_TW.po | 2 +- 52 files changed, 52 insertions(+), 52 deletions(-) diff --git a/base_partner_sequence/i18n/am.po b/base_partner_sequence/i18n/am.po index 5464ed0af28..32dacb07243 100644 --- a/base_partner_sequence/i18n/am.po +++ b/base_partner_sequence/i18n/am.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/ar.po b/base_partner_sequence/i18n/ar.po index 796f26ff1b4..c2b75f75f15 100644 --- a/base_partner_sequence/i18n/ar.po +++ b/base_partner_sequence/i18n/ar.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/bg.po b/base_partner_sequence/i18n/bg.po index cd93ae4a608..08711ee6bc5 100644 --- a/base_partner_sequence/i18n/bg.po +++ b/base_partner_sequence/i18n/bg.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/bs.po b/base_partner_sequence/i18n/bs.po index 4d1a53493c6..15dae49ff8c 100644 --- a/base_partner_sequence/i18n/bs.po +++ b/base_partner_sequence/i18n/bs.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/ca.po b/base_partner_sequence/i18n/ca.po index 59dd8e7a59f..f1059e6cb61 100644 --- a/base_partner_sequence/i18n/ca.po +++ b/base_partner_sequence/i18n/ca.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/cs.po b/base_partner_sequence/i18n/cs.po index 299ebdbc3d1..6a9f33e2e29 100644 --- a/base_partner_sequence/i18n/cs.po +++ b/base_partner_sequence/i18n/cs.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/da.po b/base_partner_sequence/i18n/da.po index 396b5e5f7c0..f3f0751d38b 100644 --- a/base_partner_sequence/i18n/da.po +++ b/base_partner_sequence/i18n/da.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/de.po b/base_partner_sequence/i18n/de.po index 112ef72f710..d188eaa428b 100644 --- a/base_partner_sequence/i18n/de.po +++ b/base_partner_sequence/i18n/de.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "Kontakt" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/el_GR.po b/base_partner_sequence/i18n/el_GR.po index f2d600d3f97..ce62d877342 100644 --- a/base_partner_sequence/i18n/el_GR.po +++ b/base_partner_sequence/i18n/el_GR.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/en_GB.po b/base_partner_sequence/i18n/en_GB.po index fd953adb41c..ff70e69aeb5 100644 --- a/base_partner_sequence/i18n/en_GB.po +++ b/base_partner_sequence/i18n/en_GB.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/es.po b/base_partner_sequence/i18n/es.po index 57b755e097f..e25870e804a 100644 --- a/base_partner_sequence/i18n/es.po +++ b/base_partner_sequence/i18n/es.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "Contacto" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "Debe proveer algún valor o un ID." diff --git a/base_partner_sequence/i18n/es_CR.po b/base_partner_sequence/i18n/es_CR.po index 77384e3e15c..7001db1b7d4 100644 --- a/base_partner_sequence/i18n/es_CR.po +++ b/base_partner_sequence/i18n/es_CR.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/es_EC.po b/base_partner_sequence/i18n/es_EC.po index 09197363ee0..e72e3c34ccc 100644 --- a/base_partner_sequence/i18n/es_EC.po +++ b/base_partner_sequence/i18n/es_EC.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/es_MX.po b/base_partner_sequence/i18n/es_MX.po index 8890aa16b6d..1e144f8c80d 100644 --- a/base_partner_sequence/i18n/es_MX.po +++ b/base_partner_sequence/i18n/es_MX.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/es_VE.po b/base_partner_sequence/i18n/es_VE.po index 4fb6edde78f..47b9a5aee90 100644 --- a/base_partner_sequence/i18n/es_VE.po +++ b/base_partner_sequence/i18n/es_VE.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/et.po b/base_partner_sequence/i18n/et.po index dc6410b801b..8e1a2c14a40 100644 --- a/base_partner_sequence/i18n/et.po +++ b/base_partner_sequence/i18n/et.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/eu.po b/base_partner_sequence/i18n/eu.po index 4bd43f53a8d..8dec00dff00 100644 --- a/base_partner_sequence/i18n/eu.po +++ b/base_partner_sequence/i18n/eu.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/fi.po b/base_partner_sequence/i18n/fi.po index 8502545bddc..f9529018be3 100644 --- a/base_partner_sequence/i18n/fi.po +++ b/base_partner_sequence/i18n/fi.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/fr.po b/base_partner_sequence/i18n/fr.po index 6282e9cd27a..893ebf1e107 100644 --- a/base_partner_sequence/i18n/fr.po +++ b/base_partner_sequence/i18n/fr.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "Contact" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "Les valeurs des champs ou un id doivent être fournis." diff --git a/base_partner_sequence/i18n/fr_CA.po b/base_partner_sequence/i18n/fr_CA.po index b7f3d20a392..0527faa138d 100644 --- a/base_partner_sequence/i18n/fr_CA.po +++ b/base_partner_sequence/i18n/fr_CA.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/fr_CH.po b/base_partner_sequence/i18n/fr_CH.po index a5369ccc865..0ae810b0ead 100644 --- a/base_partner_sequence/i18n/fr_CH.po +++ b/base_partner_sequence/i18n/fr_CH.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/gl.po b/base_partner_sequence/i18n/gl.po index 64e7e56a38b..103c9132e6d 100644 --- a/base_partner_sequence/i18n/gl.po +++ b/base_partner_sequence/i18n/gl.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "Contacto" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "Debe prover algún valor ou un ID." diff --git a/base_partner_sequence/i18n/hr.po b/base_partner_sequence/i18n/hr.po index 38fc5f6a273..d98079eabc3 100644 --- a/base_partner_sequence/i18n/hr.po +++ b/base_partner_sequence/i18n/hr.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/hr_HR.po b/base_partner_sequence/i18n/hr_HR.po index 81751c4c65d..0ebf0b43686 100644 --- a/base_partner_sequence/i18n/hr_HR.po +++ b/base_partner_sequence/i18n/hr_HR.po @@ -26,7 +26,7 @@ msgid "Contact" msgstr "Kontakt" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "Mora biti upisana vrijedonst u polju ili postojati ID partnera" diff --git a/base_partner_sequence/i18n/hu.po b/base_partner_sequence/i18n/hu.po index f0e3d4b8847..e593ca5b800 100644 --- a/base_partner_sequence/i18n/hu.po +++ b/base_partner_sequence/i18n/hu.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/it.po b/base_partner_sequence/i18n/it.po index fe36a14cff0..62f2631ffe1 100644 --- a/base_partner_sequence/i18n/it.po +++ b/base_partner_sequence/i18n/it.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "Contatto" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "Devono essere forniti i valori dei campi o un identificativo" diff --git a/base_partner_sequence/i18n/ja.po b/base_partner_sequence/i18n/ja.po index 0478d13a6b4..a4f79e56211 100644 --- a/base_partner_sequence/i18n/ja.po +++ b/base_partner_sequence/i18n/ja.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/lt.po b/base_partner_sequence/i18n/lt.po index c77f3bbb550..28c4dc98c20 100644 --- a/base_partner_sequence/i18n/lt.po +++ b/base_partner_sequence/i18n/lt.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/lv.po b/base_partner_sequence/i18n/lv.po index a90a62bc64c..a19bfecc52e 100644 --- a/base_partner_sequence/i18n/lv.po +++ b/base_partner_sequence/i18n/lv.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/mk.po b/base_partner_sequence/i18n/mk.po index 800351be3d3..b2dcfbaf93a 100644 --- a/base_partner_sequence/i18n/mk.po +++ b/base_partner_sequence/i18n/mk.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/mn.po b/base_partner_sequence/i18n/mn.po index fd0107840d8..fb449c1feff 100644 --- a/base_partner_sequence/i18n/mn.po +++ b/base_partner_sequence/i18n/mn.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/nb.po b/base_partner_sequence/i18n/nb.po index 67c18d7fe79..874723fe660 100644 --- a/base_partner_sequence/i18n/nb.po +++ b/base_partner_sequence/i18n/nb.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/nb_NO.po b/base_partner_sequence/i18n/nb_NO.po index c7a5accec4f..490c1488b6f 100644 --- a/base_partner_sequence/i18n/nb_NO.po +++ b/base_partner_sequence/i18n/nb_NO.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/nl.po b/base_partner_sequence/i18n/nl.po index ad93a14b097..8ca88b27519 100644 --- a/base_partner_sequence/i18n/nl.po +++ b/base_partner_sequence/i18n/nl.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "Contact" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "Velwaardes of een ID moet opgegeven worden." diff --git a/base_partner_sequence/i18n/nl_BE.po b/base_partner_sequence/i18n/nl_BE.po index 0fd4f789c94..070c0ffdba5 100644 --- a/base_partner_sequence/i18n/nl_BE.po +++ b/base_partner_sequence/i18n/nl_BE.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/nl_NL.po b/base_partner_sequence/i18n/nl_NL.po index 3b7d708f642..88c5e3042f4 100644 --- a/base_partner_sequence/i18n/nl_NL.po +++ b/base_partner_sequence/i18n/nl_NL.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/pl.po b/base_partner_sequence/i18n/pl.po index dafeaf25030..f64715ffed3 100644 --- a/base_partner_sequence/i18n/pl.po +++ b/base_partner_sequence/i18n/pl.po @@ -26,7 +26,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/pt.po b/base_partner_sequence/i18n/pt.po index 93cb2bd7256..5c3f74f6b90 100644 --- a/base_partner_sequence/i18n/pt.po +++ b/base_partner_sequence/i18n/pt.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/pt_BR.po b/base_partner_sequence/i18n/pt_BR.po index 417d8d738f4..b55c0c7cd8c 100644 --- a/base_partner_sequence/i18n/pt_BR.po +++ b/base_partner_sequence/i18n/pt_BR.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/pt_PT.po b/base_partner_sequence/i18n/pt_PT.po index 28abaa382fa..f4a2fe6b740 100644 --- a/base_partner_sequence/i18n/pt_PT.po +++ b/base_partner_sequence/i18n/pt_PT.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/ro.po b/base_partner_sequence/i18n/ro.po index 8d57af4ca39..69a79947e02 100644 --- a/base_partner_sequence/i18n/ro.po +++ b/base_partner_sequence/i18n/ro.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/ru.po b/base_partner_sequence/i18n/ru.po index 917c20e8916..51b337582d4 100644 --- a/base_partner_sequence/i18n/ru.po +++ b/base_partner_sequence/i18n/ru.po @@ -26,7 +26,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/sk.po b/base_partner_sequence/i18n/sk.po index c2d8fd4a3a7..bf2e099d532 100644 --- a/base_partner_sequence/i18n/sk.po +++ b/base_partner_sequence/i18n/sk.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/sl.po b/base_partner_sequence/i18n/sl.po index 720461f61da..3d1cf39f68d 100644 --- a/base_partner_sequence/i18n/sl.po +++ b/base_partner_sequence/i18n/sl.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "Stik" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/sr@latin.po b/base_partner_sequence/i18n/sr@latin.po index 11b476e2ad2..a406844b78e 100644 --- a/base_partner_sequence/i18n/sr@latin.po +++ b/base_partner_sequence/i18n/sr@latin.po @@ -26,7 +26,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/sv.po b/base_partner_sequence/i18n/sv.po index a6a2a0eb73f..2e8ba405020 100644 --- a/base_partner_sequence/i18n/sv.po +++ b/base_partner_sequence/i18n/sv.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/th.po b/base_partner_sequence/i18n/th.po index 94592746dc1..6a76b5ec54f 100644 --- a/base_partner_sequence/i18n/th.po +++ b/base_partner_sequence/i18n/th.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/tr.po b/base_partner_sequence/i18n/tr.po index 39922ee48b0..d8f63ff77ad 100644 --- a/base_partner_sequence/i18n/tr.po +++ b/base_partner_sequence/i18n/tr.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/tr_TR.po b/base_partner_sequence/i18n/tr_TR.po index dc038a4fa43..67feee12e1c 100644 --- a/base_partner_sequence/i18n/tr_TR.po +++ b/base_partner_sequence/i18n/tr_TR.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/vi.po b/base_partner_sequence/i18n/vi.po index 69a7959d41b..496114452e4 100644 --- a/base_partner_sequence/i18n/vi.po +++ b/base_partner_sequence/i18n/vi.po @@ -24,7 +24,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/zh_CN.po b/base_partner_sequence/i18n/zh_CN.po index 2854fd55e80..8ed79145ded 100644 --- a/base_partner_sequence/i18n/zh_CN.po +++ b/base_partner_sequence/i18n/zh_CN.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" diff --git a/base_partner_sequence/i18n/zh_TW.po b/base_partner_sequence/i18n/zh_TW.po index 2b8be5faa55..b4b2c41361e 100644 --- a/base_partner_sequence/i18n/zh_TW.po +++ b/base_partner_sequence/i18n/zh_TW.po @@ -25,7 +25,7 @@ msgid "Contact" msgstr "" #. module: base_partner_sequence -#: code:addons/base_partner_sequence/models/partner.py:51 +#: code:addons/base_partner_sequence/models/partner.py:55 #, python-format msgid "Either field values or an id must be provided." msgstr "" From e91bae1f7f4cfad638191370fefa962e72641086 Mon Sep 17 00:00:00 2001 From: Maxime Chambreuil Date: Sat, 20 Jul 2019 17:19:33 -0500 Subject: [PATCH 25/70] base_partner_reference: Pylint errors --- base_partner_sequence/readme/CONTRIBUTORS.rst | 2 +- base_partner_sequence/readme/DESCRIPTION.rst | 2 +- base_partner_sequence/tests/__init__.py | 1 - base_partner_sequence/tests/test_base_partner_sequence.py | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/base_partner_sequence/readme/CONTRIBUTORS.rst b/base_partner_sequence/readme/CONTRIBUTORS.rst index fa6d2683cef..5733f64db90 100644 --- a/base_partner_sequence/readme/CONTRIBUTORS.rst +++ b/base_partner_sequence/readme/CONTRIBUTORS.rst @@ -8,4 +8,4 @@ * Vicent Cubells * Akim Juillerat * Cas Vissers -* Quentin Groulard \ No newline at end of file +* Quentin Groulard diff --git a/base_partner_sequence/readme/DESCRIPTION.rst b/base_partner_sequence/readme/DESCRIPTION.rst index 5f1e0aa00c5..6a673079597 100644 --- a/base_partner_sequence/readme/DESCRIPTION.rst +++ b/base_partner_sequence/readme/DESCRIPTION.rst @@ -8,4 +8,4 @@ the partner's contacts. The field is visible on the contacts, but it can only be modified from the commercial partner. No references are assigned for contacts such as shipping and -invoice addresses. \ No newline at end of file +invoice addresses. diff --git a/base_partner_sequence/tests/__init__.py b/base_partner_sequence/tests/__init__.py index 1e07aa3f463..0cc5181d294 100644 --- a/base_partner_sequence/tests/__init__.py +++ b/base_partner_sequence/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from . import test_base_partner_sequence diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py index abf7d7885ae..fbbd3ec081e 100644 --- a/base_partner_sequence/tests/test_base_partner_sequence.py +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2015 ACSONE SA/NV (). # Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). From d325a5f36f223e947767baa60e561d16f6aa9492 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 29 Jul 2019 03:25:25 +0000 Subject: [PATCH 26/70] README.rst --- base_partner_sequence/static/description/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html index 019f00cffbe..c5b4465983a 100644 --- a/base_partner_sequence/static/description/index.html +++ b/base_partner_sequence/static/description/index.html @@ -3,7 +3,7 @@ - + Add a sequence on customers' code - - -
-

Add a sequence on customers’ code

- - -

Production/Stable License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

-

This module adds the possibility to define a sequence for -the partner’s reference. This reference is then set as default -when you create a new partner, using the defined sequence.

-

The reference field is treated as a commercial field, i.e. it -is managed from the commercial partner and then propagated to -the partner’s contacts. The field is visible on the contacts, -but it can only be modified from the commercial partner.

-

No references are assigned for contacts such as shipping and -invoice addresses.

-

Table of contents

- -
-

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 to smash it by providing a detailed and welcomed -feedback.

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

Credits

-
-

Authors

-
    -
  • Tiny/initOS GmbH & Co. KG
  • -
  • ACSONE SA/NV
  • -
  • Tecnativa
  • -
  • Camptocamp
  • -
-
-
-

Contributors

- -
-
-

Maintainers

-

This module is maintained by the OCA.

-Odoo Community Association -

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/partner-contact project on GitHub.

-

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

-
-
-
- + p.label { + white-space: nowrap } + + p.rubric { + font-weight: bold ; + font-size: larger ; + color: maroon ; + text-align: center } + + p.sidebar-title { + font-family: sans-serif ; + font-weight: bold ; + font-size: larger } + + p.sidebar-subtitle { + font-family: sans-serif ; + font-weight: bold } + + p.topic-title { + font-weight: bold } + + pre.address { + margin-bottom: 0 ; + margin-top: 0 ; + font: inherit } + + pre.literal-block, pre.doctest-block, pre.math, pre.code { + margin-left: 2em ; + margin-right: 2em } + + pre.code .ln { color: grey; } /* line numbers */ + pre.code, code { background-color: #eeeeee } + pre.code .comment, code .comment { color: #5C6576 } + pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } + pre.code .literal.string, code .literal.string { color: #0C5404 } + pre.code .name.builtin, code .name.builtin { color: #352B84 } + pre.code .deleted, code .deleted { background-color: #DEB0A1} + pre.code .inserted, code .inserted { background-color: #A3D289} + + span.classifier { + font-family: sans-serif ; + font-style: oblique } + + span.classifier-delimiter { + font-family: sans-serif ; + font-weight: bold } + + span.interpreted { + font-family: sans-serif } + + span.option { + white-space: nowrap } + + span.pre { + white-space: pre } + + span.problematic { + color: red } + + span.section-subtitle { + /* font-size relative to parent (h1..h6 element) */ + font-size: 80% } + + table.citation { + border-left: solid 1px gray; + margin-left: 1px } + + table.docinfo { + margin: 2em 4em } + + table.docutils { + margin-top: 0.5em ; + margin-bottom: 0.5em } + + table.footnote { + border-left: solid 1px black; + margin-left: 1px } + + table.docutils td, table.docutils th, + table.docinfo td, table.docinfo th { + padding-left: 0.5em ; + padding-right: 0.5em ; + vertical-align: top } + + table.docutils th.field-name, table.docinfo th.docinfo-name { + font-weight: bold ; + text-align: left ; + white-space: nowrap ; + padding-left: 0 } + + /* "booktabs" style (no vertical lines) */ + table.docutils.booktabs { + border: 0px; + border-top: 2px solid; + border-bottom: 2px solid; + border-collapse: collapse; + } + table.docutils.booktabs * { + border: 0px; + } + table.docutils.booktabs th { + border-bottom: thin solid; + text-align: left; + } + + h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, + h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { + font-size: 100% } + + ul.auto-toc { + list-style-type: none } + + + + +
+

Add a sequence on customers’ code

+ + +

+ + Production/Stable + + + License: AGPL-3 + + + OCA/partner-contact + + + Translate me on Weblate + + + Try me on Runboat + +

+

This module adds the possibility to define a sequence for + the partner’s reference. This reference is then set as default + when you create a new partner, using the defined sequence. +

+

The reference field is treated as a commercial field, i.e. it + is managed from the commercial partner and then propagated to + the partner’s contacts. The field is visible on the contacts, + but it can only be modified from the commercial partner. +

+

No references are assigned for contacts such as shipping and + invoice addresses. +

+

+ Table of contents +

+
+ +
+
+

+ 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 to smash it by providing a detailed and welcomed + + feedback. +

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

+ Credits +

+
+

+ Authors +

+
    +
  • Tiny/initOS GmbH & Co. KG
  • +
  • ACSONE SA/NV
  • +
  • Tecnativa
  • +
  • Camptocamp
  • +
+
+
+

+ Contributors +

+ +
+
+

+ Maintainers +

+

This module is maintained by the OCA.

+ + Odoo Community Association + +

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/partner-contact + + project on GitHub. +

+

You are welcome to contribute. To learn how please visit + https://odoo-community.org/page/Contribute. +

+
+
+
+ diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py index 70012f23f74..75244973d44 100644 --- a/base_partner_sequence/tests/test_base_partner_sequence.py +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -7,7 +7,7 @@ class TestBasePartnerSequence(common.TransactionCase): def setUp(self): - super(TestBasePartnerSequence, self).setUp() + super().setUp() self.res_partner = self.env["res.partner"] self.partner = self.res_partner.create( @@ -44,9 +44,11 @@ def test_unique_ref_on_write(self): ] partners = self.env["res.partner"].create(vals) self.assertFalse(partners[0].ref == partners[1].ref) - partners.write({"ref": False}) + for partner in partners: + partner.write({"ref": False}) self.assertFalse(partners[0].ref) - partners.write({}) + for partner in partners: + partner.write({}) self.assertFalse(partners[0].ref == partners[1].ref) def test_ref_change_convert_child_to_parent(self): diff --git a/base_partner_sequence/views/partner_view.xml b/base_partner_sequence/views/partner_view.xml index 6652f995878..e1c93e8f0ba 100644 --- a/base_partner_sequence/views/partner_view.xml +++ b/base_partner_sequence/views/partner_view.xml @@ -7,8 +7,8 @@ {'readonly': [('is_company', '=', False), ('parent_id', '!=', False)]} + name="options" + >{'readonly': [['is_company', '=', False], ['parent_id', '!=', False]]} From 5622c80d83ddeac51d144a9c9de66e08d63db905 Mon Sep 17 00:00:00 2001 From: FSchiepers <96426358+FSchiepers@users.noreply.github.com> Date: Mon, 8 Apr 2024 11:06:49 +0200 Subject: [PATCH 58/70] Update partner_view.xml --- base_partner_sequence/views/partner_view.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/base_partner_sequence/views/partner_view.xml b/base_partner_sequence/views/partner_view.xml index e1c93e8f0ba..542eb510064 100644 --- a/base_partner_sequence/views/partner_view.xml +++ b/base_partner_sequence/views/partner_view.xml @@ -5,11 +5,9 @@ res.partner - - {'readonly': [['is_company', '=', False], ['parent_id', '!=', False]]} - + + not is_company and parent_id + From e86df0c2575fd54ebd97fc4f0642fc73192bcd3b Mon Sep 17 00:00:00 2001 From: FSchiepers <96426358+FSchiepers@users.noreply.github.com> Date: Mon, 8 Apr 2024 11:12:38 +0200 Subject: [PATCH 59/70] Update partner.py --- base_partner_sequence/models/partner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_partner_sequence/models/partner.py b/base_partner_sequence/models/partner.py index c6f4e5326a5..b0d05fc04df 100644 --- a/base_partner_sequence/models/partner.py +++ b/base_partner_sequence/models/partner.py @@ -37,7 +37,7 @@ def write(self, vals): and not partner.ref ): partner_vals["ref"] = partner._get_next_ref(vals=partner_vals) - super().write(partner_vals) + super(ResPartner, partner).write(partner_vals) return True def _needs_ref(self, vals=None): From 4a7401735d9a9aed89e48ba5faeda97f519bc897 Mon Sep 17 00:00:00 2001 From: FSchiepers <96426358+FSchiepers@users.noreply.github.com> Date: Mon, 8 Apr 2024 11:51:54 +0200 Subject: [PATCH 60/70] Update test_base_partner_sequence.py --- base_partner_sequence/tests/test_base_partner_sequence.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py index 75244973d44..ec98ed3bb38 100644 --- a/base_partner_sequence/tests/test_base_partner_sequence.py +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -44,11 +44,9 @@ def test_unique_ref_on_write(self): ] partners = self.env["res.partner"].create(vals) self.assertFalse(partners[0].ref == partners[1].ref) - for partner in partners: - partner.write({"ref": False}) + partners.write({"ref": False}) self.assertFalse(partners[0].ref) - for partner in partners: - partner.write({}) + partners.write({}) self.assertFalse(partners[0].ref == partners[1].ref) def test_ref_change_convert_child_to_parent(self): From b7c7869af0a77b80768b09b42176883bd3d1ace7 Mon Sep 17 00:00:00 2001 From: oca-ci Date: Fri, 3 May 2024 08:02:41 +0000 Subject: [PATCH 61/70] [UPD] Update base_partner_sequence.pot --- base_partner_sequence/i18n/base_partner_sequence.pot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_partner_sequence/i18n/base_partner_sequence.pot b/base_partner_sequence/i18n/base_partner_sequence.pot index e27f5c96267..74573779724 100644 --- a/base_partner_sequence/i18n/base_partner_sequence.pot +++ b/base_partner_sequence/i18n/base_partner_sequence.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 16.0\n" +"Project-Id-Version: Odoo Server 17.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" From 2bb4f25e0795291ead43b9f5a10354f3d2df75fe Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 3 May 2024 08:05:49 +0000 Subject: [PATCH 62/70] [BOT] post-merge updates --- base_partner_sequence/README.rst | 12 +- .../static/description/index.html | 929 ++++++++---------- 2 files changed, 424 insertions(+), 517 deletions(-) diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst index 33a1443ae5c..80b782b4aa5 100644 --- a/base_partner_sequence/README.rst +++ b/base_partner_sequence/README.rst @@ -7,7 +7,7 @@ Add a sequence on customers' code !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:f9cc8be18f0a5732ba23036f7f3535e25835869d1a76d77d673d5c3943029886 + !! source digest: sha256:adaae2ffb987174eef0a3d40dadfe703454df576877555955035587244fb8221 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png @@ -17,13 +17,13 @@ Add a sequence on customers' code :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github - :target: https://github.com/OCA/partner-contact/tree/16.0/base_partner_sequence + :target: https://github.com/OCA/partner-contact/tree/17.0/base_partner_sequence :alt: OCA/partner-contact .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/partner-contact-16-0/partner-contact-16-0-base_partner_sequence + :target: https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-base_partner_sequence :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -51,7 +51,7 @@ 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 to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -98,6 +98,6 @@ 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/partner-contact `_ project on GitHub. +This module is part of the `OCA/partner-contact `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html index ba4a02e34d9..dbbda5e27c8 100644 --- a/base_partner_sequence/static/description/index.html +++ b/base_partner_sequence/static/description/index.html @@ -1,538 +1,445 @@ - - - - - - - Add a sequence on customers' code - - - -
-

Add a sequence on customers’ code

- - -

- - Production/Stable - - - License: AGPL-3 - - - OCA/partner-contact - - - Translate me on Weblate - - - Try me on Runboat - -

-

This module adds the possibility to define a sequence for - the partner’s reference. This reference is then set as default - when you create a new partner, using the defined sequence. -

-

The reference field is treated as a commercial field, i.e. it - is managed from the commercial partner and then propagated to - the partner’s contacts. The field is visible on the contacts, - but it can only be modified from the commercial partner. -

-

No references are assigned for contacts such as shipping and - invoice addresses. -

-

- Table of contents -

-
- -
-
-

- 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 to smash it by providing a detailed and welcomed - - feedback. -

-

Do not contact contributors directly about support or help with technical issues.

-
-
-

- Credits -

-
-

- Authors -

-
    -
  • Tiny/initOS GmbH & Co. KG
  • -
  • ACSONE SA/NV
  • -
  • Tecnativa
  • -
  • Camptocamp
  • -
-
-
-

- Contributors -

- -
-
-

- Maintainers -

-

This module is maintained by the OCA.

- - Odoo Community Association - -

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/partner-contact - - project on GitHub. -

-

You are welcome to contribute. To learn how please visit - https://odoo-community.org/page/Contribute. -

-
-
-
- +p.label { + white-space: nowrap } + +p.rubric { + font-weight: bold ; + font-size: larger ; + color: maroon ; + text-align: center } + +p.sidebar-title { + font-family: sans-serif ; + font-weight: bold ; + font-size: larger } + +p.sidebar-subtitle { + font-family: sans-serif ; + font-weight: bold } + +p.topic-title { + font-weight: bold } + +pre.address { + margin-bottom: 0 ; + margin-top: 0 ; + font: inherit } + +pre.literal-block, pre.doctest-block, pre.math, pre.code { + margin-left: 2em ; + margin-right: 2em } + +pre.code .ln { color: grey; } /* line numbers */ +pre.code, code { background-color: #eeeeee } +pre.code .comment, code .comment { color: #5C6576 } +pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } +pre.code .literal.string, code .literal.string { color: #0C5404 } +pre.code .name.builtin, code .name.builtin { color: #352B84 } +pre.code .deleted, code .deleted { background-color: #DEB0A1} +pre.code .inserted, code .inserted { background-color: #A3D289} + +span.classifier { + font-family: sans-serif ; + font-style: oblique } + +span.classifier-delimiter { + font-family: sans-serif ; + font-weight: bold } + +span.interpreted { + font-family: sans-serif } + +span.option { + white-space: nowrap } + +span.pre { + white-space: pre } + +span.problematic { + color: red } + +span.section-subtitle { + /* font-size relative to parent (h1..h6 element) */ + font-size: 80% } + +table.citation { + border-left: solid 1px gray; + margin-left: 1px } + +table.docinfo { + margin: 2em 4em } + +table.docutils { + margin-top: 0.5em ; + margin-bottom: 0.5em } + +table.footnote { + border-left: solid 1px black; + margin-left: 1px } + +table.docutils td, table.docutils th, +table.docinfo td, table.docinfo th { + padding-left: 0.5em ; + padding-right: 0.5em ; + vertical-align: top } + +table.docutils th.field-name, table.docinfo th.docinfo-name { + font-weight: bold ; + text-align: left ; + white-space: nowrap ; + padding-left: 0 } + +/* "booktabs" style (no vertical lines) */ +table.docutils.booktabs { + border: 0px; + border-top: 2px solid; + border-bottom: 2px solid; + border-collapse: collapse; +} +table.docutils.booktabs * { + border: 0px; +} +table.docutils.booktabs th { + border-bottom: thin solid; + text-align: left; +} + +h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, +h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { + font-size: 100% } + +ul.auto-toc { + list-style-type: none } + + + + +
+

Add a sequence on customers’ code

+ + +

Production/Stable License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

+

This module adds the possibility to define a sequence for +the partner’s reference. This reference is then set as default +when you create a new partner, using the defined sequence.

+

The reference field is treated as a commercial field, i.e. it +is managed from the commercial partner and then propagated to +the partner’s contacts. The field is visible on the contacts, +but it can only be modified from the commercial partner.

+

No references are assigned for contacts such as shipping and +invoice addresses.

+

Table of contents

+ +
+

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 to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Tiny/initOS GmbH & Co. KG
  • +
  • ACSONE SA/NV
  • +
  • Tecnativa
  • +
  • Camptocamp
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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/partner-contact project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ From 4a243309ae775f4f4451ec72b6511c7fbfa33934 Mon Sep 17 00:00:00 2001 From: trisdoan Date: Fri, 24 May 2024 11:37:35 +0700 Subject: [PATCH 63/70] [IMP] partner_display_name_line_break: pre-commit auto fixes --- base_partner_sequence/README.rst | 56 +++++++++---------- base_partner_sequence/readme/CONTRIBUTORS.md | 15 +++++ base_partner_sequence/readme/CONTRIBUTORS.rst | 15 ----- base_partner_sequence/readme/DESCRIPTION.md | 11 ++++ base_partner_sequence/readme/DESCRIPTION.rst | 11 ---- .../static/description/index.html | 18 +++--- 6 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 base_partner_sequence/readme/CONTRIBUTORS.md delete mode 100644 base_partner_sequence/readme/CONTRIBUTORS.rst create mode 100644 base_partner_sequence/readme/DESCRIPTION.md delete mode 100644 base_partner_sequence/readme/DESCRIPTION.rst diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst index 80b782b4aa5..c3107356fdb 100644 --- a/base_partner_sequence/README.rst +++ b/base_partner_sequence/README.rst @@ -28,17 +28,17 @@ Add a sequence on customers' code |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds the possibility to define a sequence for -the partner's reference. This reference is then set as default -when you create a new partner, using the defined sequence. +This module adds the possibility to define a sequence for the partner's +reference. This reference is then set as default when you create a new +partner, using the defined sequence. -The reference field is treated as a commercial field, i.e. it -is managed from the commercial partner and then propagated to -the partner's contacts. The field is visible on the contacts, -but it can only be modified from the commercial partner. +The reference field is treated as a commercial field, i.e. it is managed +from the commercial partner and then propagated to the partner's +contacts. The field is visible on the contacts, but it can only be +modified from the commercial partner. -No references are assigned for contacts such as shipping and -invoice addresses. +No references are assigned for contacts such as shipping and invoice +addresses. **Table of contents** @@ -59,7 +59,7 @@ Credits ======= Authors -~~~~~~~ +------- * Tiny/initOS GmbH & Co. KG * ACSONE SA/NV @@ -67,26 +67,26 @@ Authors * Camptocamp Contributors -~~~~~~~~~~~~ - -* Thomas Rehn -* Stefan Rijnhart -* Yannick Vaucher -* Sandy Carter -* Laurent Mignon (ACSONE) -* Guewen Baconnier -* Alexandre Fayolle -* Vicent Cubells -* Akim Juillerat -* Cas Vissers -* Quentin Groulard -* Kevin Khao -* Francesco Apruzzese -* Daniel Reis -* Nikul Chaudhary +------------ + +- Thomas Rehn +- Stefan Rijnhart +- Yannick Vaucher +- Sandy Carter +- Laurent Mignon (ACSONE) +- Guewen Baconnier +- Alexandre Fayolle +- Vicent Cubells +- Akim Juillerat +- Cas Vissers +- Quentin Groulard +- Kevin Khao +- Francesco Apruzzese +- Daniel Reis +- Nikul Chaudhary Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. diff --git a/base_partner_sequence/readme/CONTRIBUTORS.md b/base_partner_sequence/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..ae4d7c96df9 --- /dev/null +++ b/base_partner_sequence/readme/CONTRIBUTORS.md @@ -0,0 +1,15 @@ +- Thomas Rehn \<\> +- Stefan Rijnhart \<\> +- Yannick Vaucher \<\> +- Sandy Carter \<\> +- Laurent Mignon (ACSONE) \<\> +- Guewen Baconnier \<\> +- Alexandre Fayolle \<\> +- Vicent Cubells \<\> +- Akim Juillerat \<\> +- Cas Vissers \<\> +- Quentin Groulard \<\> +- Kevin Khao \<\> +- Francesco Apruzzese \<\> +- Daniel Reis \<\> +- Nikul Chaudhary \<\> diff --git a/base_partner_sequence/readme/CONTRIBUTORS.rst b/base_partner_sequence/readme/CONTRIBUTORS.rst deleted file mode 100644 index d2c0b51b1b1..00000000000 --- a/base_partner_sequence/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,15 +0,0 @@ -* Thomas Rehn -* Stefan Rijnhart -* Yannick Vaucher -* Sandy Carter -* Laurent Mignon (ACSONE) -* Guewen Baconnier -* Alexandre Fayolle -* Vicent Cubells -* Akim Juillerat -* Cas Vissers -* Quentin Groulard -* Kevin Khao -* Francesco Apruzzese -* Daniel Reis -* Nikul Chaudhary diff --git a/base_partner_sequence/readme/DESCRIPTION.md b/base_partner_sequence/readme/DESCRIPTION.md new file mode 100644 index 00000000000..cb666c322ec --- /dev/null +++ b/base_partner_sequence/readme/DESCRIPTION.md @@ -0,0 +1,11 @@ +This module adds the possibility to define a sequence for the partner's +reference. This reference is then set as default when you create a new +partner, using the defined sequence. + +The reference field is treated as a commercial field, i.e. it is managed +from the commercial partner and then propagated to the partner's +contacts. The field is visible on the contacts, but it can only be +modified from the commercial partner. + +No references are assigned for contacts such as shipping and invoice +addresses. diff --git a/base_partner_sequence/readme/DESCRIPTION.rst b/base_partner_sequence/readme/DESCRIPTION.rst deleted file mode 100644 index 6a673079597..00000000000 --- a/base_partner_sequence/readme/DESCRIPTION.rst +++ /dev/null @@ -1,11 +0,0 @@ -This module adds the possibility to define a sequence for -the partner's reference. This reference is then set as default -when you create a new partner, using the defined sequence. - -The reference field is treated as a commercial field, i.e. it -is managed from the commercial partner and then propagated to -the partner's contacts. The field is visible on the contacts, -but it can only be modified from the commercial partner. - -No references are assigned for contacts such as shipping and -invoice addresses. diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html index dbbda5e27c8..4799a18db12 100644 --- a/base_partner_sequence/static/description/index.html +++ b/base_partner_sequence/static/description/index.html @@ -369,15 +369,15 @@

Add a sequence on customers’ code

!! source digest: sha256:adaae2ffb987174eef0a3d40dadfe703454df576877555955035587244fb8221 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

Production/Stable License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

-

This module adds the possibility to define a sequence for -the partner’s reference. This reference is then set as default -when you create a new partner, using the defined sequence.

-

The reference field is treated as a commercial field, i.e. it -is managed from the commercial partner and then propagated to -the partner’s contacts. The field is visible on the contacts, -but it can only be modified from the commercial partner.

-

No references are assigned for contacts such as shipping and -invoice addresses.

+

This module adds the possibility to define a sequence for the partner’s +reference. This reference is then set as default when you create a new +partner, using the defined sequence.

+

The reference field is treated as a commercial field, i.e. it is managed +from the commercial partner and then propagated to the partner’s +contacts. The field is visible on the contacts, but it can only be +modified from the commercial partner.

+

No references are assigned for contacts such as shipping and invoice +addresses.

Table of contents

    From 6685ab3f3ddd9fbd8f22fc67e8278ecfb339a341 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Fri, 31 May 2024 07:27:23 +0000 Subject: [PATCH 64/70] [BOT] post-merge updates --- base_partner_sequence/README.rst | 2 +- base_partner_sequence/static/description/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst index c3107356fdb..659d8cced54 100644 --- a/base_partner_sequence/README.rst +++ b/base_partner_sequence/README.rst @@ -7,7 +7,7 @@ Add a sequence on customers' code !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:adaae2ffb987174eef0a3d40dadfe703454df576877555955035587244fb8221 + !! source digest: sha256:6353a32462ea4d44f94eed65ea040150024901f1848d89063d5da5e82db54238 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html index 4799a18db12..d38d424d143 100644 --- a/base_partner_sequence/static/description/index.html +++ b/base_partner_sequence/static/description/index.html @@ -366,7 +366,7 @@

    Add a sequence on customers’ code

    !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:adaae2ffb987174eef0a3d40dadfe703454df576877555955035587244fb8221 +!! source digest: sha256:6353a32462ea4d44f94eed65ea040150024901f1848d89063d5da5e82db54238 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->

    Production/Stable License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

    This module adds the possibility to define a sequence for the partner’s From 09eb36803b0d3a3300c5df34d1e5b7feab0bb9c1 Mon Sep 17 00:00:00 2001 From: jakobkrabbe Date: Wed, 5 Jun 2024 14:02:34 +0000 Subject: [PATCH 65/70] Translated using Weblate (Swedish) Currently translated at 100.0% (2 of 2 strings) Translation: partner-contact-17.0/partner-contact-17.0-base_partner_sequence Translate-URL: https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-base_partner_sequence/sv/ --- base_partner_sequence/i18n/sv.po | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/base_partner_sequence/i18n/sv.po b/base_partner_sequence/i18n/sv.po index 923555526df..3069e641442 100644 --- a/base_partner_sequence/i18n/sv.po +++ b/base_partner_sequence/i18n/sv.po @@ -9,26 +9,27 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-03-10 03:39+0000\n" -"PO-Revision-Date: 2017-03-10 03:39+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2024-06-05 16:35+0000\n" +"Last-Translator: jakobkrabbe \n" "Language-Team: Swedish (https://www.transifex.com/oca/teams/23907/sv/)\n" "Language: sv\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 4.17\n" #. module: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner msgid "Contact" -msgstr "" +msgstr "Kontakt" #. module: base_partner_sequence #. odoo-python #: code:addons/base_partner_sequence/models/partner.py:0 #, python-format msgid "Either field values or an id must be provided." -msgstr "" +msgstr "Antingen fältvärden eller ett id måste anges." #~ msgid "Partner" #~ msgstr "Företag" From 7ab265f27c437ec2823a0b3f80d238ccb5242e83 Mon Sep 17 00:00:00 2001 From: Nils Coenen Date: Thu, 18 Jul 2024 14:20:53 +0000 Subject: [PATCH 66/70] Translated using Weblate (German) Currently translated at 100.0% (2 of 2 strings) Translation: partner-contact-17.0/partner-contact-17.0-base_partner_sequence Translate-URL: https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-base_partner_sequence/de/ --- base_partner_sequence/i18n/de.po | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/base_partner_sequence/i18n/de.po b/base_partner_sequence/i18n/de.po index 2e9ee57e294..09131c68051 100644 --- a/base_partner_sequence/i18n/de.po +++ b/base_partner_sequence/i18n/de.po @@ -9,14 +9,15 @@ msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2018-02-28 03:45+0000\n" -"PO-Revision-Date: 2018-02-28 03:45+0000\n" -"Last-Translator: OCA Transbot , 2018\n" +"PO-Revision-Date: 2024-07-18 15:30+0000\n" +"Last-Translator: Nils Coenen \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 5.6.2\n" #. module: base_partner_sequence #: model:ir.model,name:base_partner_sequence.model_res_partner @@ -28,4 +29,4 @@ msgstr "Kontakt" #: code:addons/base_partner_sequence/models/partner.py:0 #, python-format msgid "Either field values or an id must be provided." -msgstr "" +msgstr "Es müssen entweder Feldwerte oder eine ID angegeben werden." From 0dd92a71af6563e984e6c4ad14310941f11c4350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Didderen?= Date: Wed, 7 Aug 2024 17:20:10 +0200 Subject: [PATCH 67/70] [IMP] partner_contact_role: pre-commit execution --- base_partner_sequence/static/description/index.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html index d38d424d143..7db19fc5ec6 100644 --- a/base_partner_sequence/static/description/index.html +++ b/base_partner_sequence/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -432,7 +433,9 @@

    Contributors

    Maintainers

    This module is maintained by the OCA.

    -Odoo Community Association + +Odoo Community Association +

    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.

    From b8f6bb91890679ee1c6d1f2fed78d061de90f8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=C3=B4i=20=28Ki=C3=AAn=20Kim=29?= Date: Fri, 11 Oct 2024 13:18:09 +0700 Subject: [PATCH 68/70] [IMP] base_partner_sequence: pre-commit auto fixes --- base_partner_sequence/README.rst | 10 +++++----- base_partner_sequence/static/description/index.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst index 659d8cced54..f8a21cf4d23 100644 --- a/base_partner_sequence/README.rst +++ b/base_partner_sequence/README.rst @@ -17,13 +17,13 @@ Add a sequence on customers' code :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpartner--contact-lightgray.png?logo=github - :target: https://github.com/OCA/partner-contact/tree/17.0/base_partner_sequence + :target: https://github.com/OCA/partner-contact/tree/18.0/base_partner_sequence :alt: OCA/partner-contact .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/partner-contact-17-0/partner-contact-17-0-base_partner_sequence + :target: https://translation.odoo-community.org/projects/partner-contact-18-0/partner-contact-18-0-base_partner_sequence :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/partner-contact&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -51,7 +51,7 @@ 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 to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -98,6 +98,6 @@ 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/partner-contact `_ project on GitHub. +This module is part of the `OCA/partner-contact `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html index 7db19fc5ec6..23f6bd914c6 100644 --- a/base_partner_sequence/static/description/index.html +++ b/base_partner_sequence/static/description/index.html @@ -369,7 +369,7 @@

    Add a sequence on customers’ code

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:6353a32462ea4d44f94eed65ea040150024901f1848d89063d5da5e82db54238 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

    Production/Stable License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

    +

    Production/Stable License: AGPL-3 OCA/partner-contact Translate me on Weblate Try me on Runboat

    This module adds the possibility to define a sequence for the partner’s reference. This reference is then set as default when you create a new partner, using the defined sequence.

    @@ -396,7 +396,7 @@

    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 to smash it by providing a detailed and welcomed -feedback.

    +feedback.

    Do not contact contributors directly about support or help with technical issues.

    @@ -439,7 +439,7 @@

    Maintainers

    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/partner-contact project on GitHub.

    +

    This module is part of the OCA/partner-contact project on GitHub.

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

From c741ee4df1d8dcb2dad35f2fd250d788a10f9cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=C3=B4i=20=28Ki=C3=AAn=20Kim=29?= Date: Mon, 14 Oct 2024 11:07:43 +0700 Subject: [PATCH 69/70] oca-port: blacklist PR(s) 1075, 1451 for base_partner_sequence --- .oca/oca-port/blacklist/base_partner_sequence.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .oca/oca-port/blacklist/base_partner_sequence.json diff --git a/.oca/oca-port/blacklist/base_partner_sequence.json b/.oca/oca-port/blacklist/base_partner_sequence.json new file mode 100644 index 00000000000..9358558f200 --- /dev/null +++ b/.oca/oca-port/blacklist/base_partner_sequence.json @@ -0,0 +1,6 @@ +{ + "pull_requests": { + "1075": "Nothing to port", + "1451": "Nothing to port" + } +} From 0a600b0d8805cbfa94be480855d1caf9d2a704ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kh=C3=B4i=20=28Ki=C3=AAn=20Kim=29?= Date: Fri, 11 Oct 2024 13:22:55 +0700 Subject: [PATCH 70/70] [MIG] base_partner_sequence: Migration to 18.0 --- base_partner_sequence/README.rst | 9 +++++++++ base_partner_sequence/__manifest__.py | 2 +- base_partner_sequence/readme/CONTRIBUTORS.md | 1 + base_partner_sequence/readme/CREDITS.md | 3 +++ .../static/description/index.html | 14 ++++++++++++-- .../tests/test_base_partner_sequence.py | 16 ++++------------ base_partner_sequence/views/partner_view.xml | 6 +++--- 7 files changed, 33 insertions(+), 18 deletions(-) create mode 100644 base_partner_sequence/readme/CREDITS.md diff --git a/base_partner_sequence/README.rst b/base_partner_sequence/README.rst index f8a21cf4d23..d349d495bae 100644 --- a/base_partner_sequence/README.rst +++ b/base_partner_sequence/README.rst @@ -84,6 +84,15 @@ Contributors - Francesco Apruzzese - Daniel Reis - Nikul Chaudhary +- Khoi (Kien Kim) + +Other credits +------------- + +The migration of this module from 17.0 to 18.0 was financially supported +by: + +- Camptocamp Maintainers ----------- diff --git a/base_partner_sequence/__manifest__.py b/base_partner_sequence/__manifest__.py index cb1caf9ca1e..48a5f52b5a4 100644 --- a/base_partner_sequence/__manifest__.py +++ b/base_partner_sequence/__manifest__.py @@ -12,7 +12,7 @@ "Odoo Community Association (OCA)" ), "name": "Add a sequence on customers' code", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "development_status": "Production/Stable", "category": "Generic Modules/Base", "website": "https://github.com/OCA/partner-contact", diff --git a/base_partner_sequence/readme/CONTRIBUTORS.md b/base_partner_sequence/readme/CONTRIBUTORS.md index ae4d7c96df9..e750bf22c78 100644 --- a/base_partner_sequence/readme/CONTRIBUTORS.md +++ b/base_partner_sequence/readme/CONTRIBUTORS.md @@ -13,3 +13,4 @@ - Francesco Apruzzese \<\> - Daniel Reis \<\> - Nikul Chaudhary \<\> +- Khoi (Kien Kim) \<\> diff --git a/base_partner_sequence/readme/CREDITS.md b/base_partner_sequence/readme/CREDITS.md new file mode 100644 index 00000000000..f024a19f86f --- /dev/null +++ b/base_partner_sequence/readme/CREDITS.md @@ -0,0 +1,3 @@ +The migration of this module from 17.0 to 18.0 was financially supported by: + +- Camptocamp diff --git a/base_partner_sequence/static/description/index.html b/base_partner_sequence/static/description/index.html index 23f6bd914c6..bd4b68ce45d 100644 --- a/base_partner_sequence/static/description/index.html +++ b/base_partner_sequence/static/description/index.html @@ -386,7 +386,8 @@

Add a sequence on customers’ code

  • Credits
  • @@ -428,10 +429,19 @@

    Contributors

  • Francesco Apruzzese <cescoap@gmail.com>
  • Daniel Reis <dreis@opensourceintegrators.com>
  • Nikul Chaudhary <nchaudhary@opensourceintegrators.com>
  • +
  • Khoi (Kien Kim) <khoikk@trobz.com>
  • + + +
    +

    Other credits

    +

    The migration of this module from 17.0 to 18.0 was financially supported +by:

    +
      +
    • Camptocamp
    -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association diff --git a/base_partner_sequence/tests/test_base_partner_sequence.py b/base_partner_sequence/tests/test_base_partner_sequence.py index ec98ed3bb38..d5c6344bc93 100644 --- a/base_partner_sequence/tests/test_base_partner_sequence.py +++ b/base_partner_sequence/tests/test_base_partner_sequence.py @@ -2,18 +2,10 @@ # Copyright 2016 Tecnativa - Vicent Cubells # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). -import odoo.tests.common as common +from odoo.addons.base.tests.common import BaseCommon -class TestBasePartnerSequence(common.TransactionCase): - def setUp(self): - super().setUp() - - self.res_partner = self.env["res.partner"] - self.partner = self.res_partner.create( - {"name": "test1", "email": "test@test.com"} - ) - +class TestBasePartnerSequence(BaseCommon): def test_ref_sequence_on_partner(self): # Test sequence on creating partner and copying it self.assertTrue(self.partner.ref, "A partner has always a ref.") @@ -25,7 +17,7 @@ def test_ref_sequence_on_partner(self): def test_ref_sequence_on_contact(self): # Test if sequence doesn't increase on creating a contact child - contact = self.res_partner.create( + contact = self.env["res.partner"].create( { "name": "contact1", "email": "contact@contact.com", @@ -54,7 +46,7 @@ def test_ref_change_convert_child_to_parent(self): converted to a commercial partner.""" # Remove the ref from the parent so child does not have one initially self.partner.write({"ref": False}) - contact = self.res_partner.create( + contact = self.env["res.partner"].create( { "name": "contact1", "email": "contact@contact.com", diff --git a/base_partner_sequence/views/partner_view.xml b/base_partner_sequence/views/partner_view.xml index 542eb510064..3ec8d0d0349 100644 --- a/base_partner_sequence/views/partner_view.xml +++ b/base_partner_sequence/views/partner_view.xml @@ -5,9 +5,9 @@ res.partner - - not is_company and parent_id - + + not is_company and parent_id +