From 0043965793f169c943e34c269a1bdac8b4fc6959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Fri, 31 Mar 2017 19:00:59 +0200 Subject: [PATCH 01/27] [ADD] account_journal_lock_date --- account_journal_lock_date/README.rst | 75 +++++++++++++++ account_journal_lock_date/__init__.py | 1 + account_journal_lock_date/__manifest__.py | 21 +++++ account_journal_lock_date/exceptions.py | 9 ++ account_journal_lock_date/models/__init__.py | 2 + .../models/account_journal.py | 23 +++++ .../models/account_move.py | 26 ++++++ .../static/description/icon.png | Bin 0 -> 9455 bytes account_journal_lock_date/tests/__init__.py | 1 + .../tests/test_journal_lock_date.py | 88 ++++++++++++++++++ .../views/account_journal.xml | 33 +++++++ 11 files changed, 279 insertions(+) create mode 100644 account_journal_lock_date/README.rst create mode 100644 account_journal_lock_date/__init__.py create mode 100644 account_journal_lock_date/__manifest__.py create mode 100644 account_journal_lock_date/exceptions.py create mode 100644 account_journal_lock_date/models/__init__.py create mode 100644 account_journal_lock_date/models/account_journal.py create mode 100644 account_journal_lock_date/models/account_move.py create mode 100644 account_journal_lock_date/static/description/icon.png create mode 100644 account_journal_lock_date/tests/__init__.py create mode 100644 account_journal_lock_date/tests/test_journal_lock_date.py create mode 100644 account_journal_lock_date/views/account_journal.xml diff --git a/account_journal_lock_date/README.rst b/account_journal_lock_date/README.rst new file mode 100644 index 00000000..0f0d5bb5 --- /dev/null +++ b/account_journal_lock_date/README.rst @@ -0,0 +1,75 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +========================= +Account Journal Lock Date +========================= + +Lock each accounting journal independently. + +In addition to the lock dates provided by standard Odoo and +account_permanent_lock_move, provide a per journal lock date. + +Note: this module depends on account_permanent_lock_move because it +implements stricter checks than standard Odoo, such as verifying that +one cannot create draft moves before the lock date. + +Note: the journal lock date is ignored for users that are part of +the Adviser group. This rule can be adapted by overriding method +`_can_bypass_journal_lock_date` of `account.journal`. + +Usage +===== + +To use this module, you need to set + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch} + +.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt +.. branch is "8.0" for example + +Known issues / Roadmap +====================== + +* a wizard to set the lock date on several journals could be nice to have +* the module does not check that all moves prior the lock date are posted, this could be + made as part of the wizard + +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 +------------ + +* Stéphane Bidoul + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/account_journal_lock_date/__init__.py b/account_journal_lock_date/__init__.py new file mode 100644 index 00000000..0650744f --- /dev/null +++ b/account_journal_lock_date/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/account_journal_lock_date/__manifest__.py b/account_journal_lock_date/__manifest__.py new file mode 100644 index 00000000..fe491dc7 --- /dev/null +++ b/account_journal_lock_date/__manifest__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'Account Journal Lock Date', + 'summary': """ + Lock each journal independently""", + 'version': '10.0.1.0.0', + 'license': 'AGPL-3', + 'author': 'ACSONE SA/NV,Odoo Community Association (OCA)', + 'website': 'https://acsone.eu/', + 'depends': [ + 'account_permanent_lock_move', + ], + 'data': [ + 'views/account_journal.xml', + ], + 'demo': [ + ], +} diff --git a/account_journal_lock_date/exceptions.py b/account_journal_lock_date/exceptions.py new file mode 100644 index 00000000..6a17c27a --- /dev/null +++ b/account_journal_lock_date/exceptions.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.exceptions import UserError + + +class JournalLockDateError(UserError): + pass diff --git a/account_journal_lock_date/models/__init__.py b/account_journal_lock_date/models/__init__.py new file mode 100644 index 00000000..067db8c5 --- /dev/null +++ b/account_journal_lock_date/models/__init__.py @@ -0,0 +1,2 @@ +from . import account_journal +from . import account_move diff --git a/account_journal_lock_date/models/account_journal.py b/account_journal_lock_date/models/account_journal.py new file mode 100644 index 00000000..134f231b --- /dev/null +++ b/account_journal_lock_date/models/account_journal.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class AccountJournal(models.Model): + + _inherit = 'account.journal' + + journal_lock_date = fields.Date( + string="Lock date", + help="Moves cannot be entered nor modified in this " + "journal prior to the lock date, unless the user " + "has the Adviser role." + ) + + @api.model + def _can_bypass_journal_lock_date(self): + """ This method is meant to be overridden to provide + finer control on who can bypass the lock date """ + return self.env.user.has_group('account.group_account_manager') diff --git a/account_journal_lock_date/models/account_move.py b/account_journal_lock_date/models/account_move.py new file mode 100644 index 00000000..1aaaaee5 --- /dev/null +++ b/account_journal_lock_date/models/account_move.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, models, _ + +from ..exceptions import JournalLockDateError + + +class AccountMove(models.Model): + + _inherit = 'account.move' + + @api.multi + def _check_lock_date(self): + res = super(AccountMove, self)._check_lock_date() + if self.env['account.journal']._can_bypass_journal_lock_date(): + return res + for move in self: + lock_date = move.journal_id.journal_lock_date + if lock_date and move.date <= lock_date: + raise JournalLockDateError( + _("You cannot add/modify entries prior to and " + "inclusive of the journal lock date %s") % + (lock_date, )) + return res diff --git a/account_journal_lock_date/static/description/icon.png b/account_journal_lock_date/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 diff --git a/account_journal_lock_date/tests/__init__.py b/account_journal_lock_date/tests/__init__.py new file mode 100644 index 00000000..a82bf0bf --- /dev/null +++ b/account_journal_lock_date/tests/__init__.py @@ -0,0 +1 @@ +from . import test_journal_lock_date diff --git a/account_journal_lock_date/tests/test_journal_lock_date.py b/account_journal_lock_date/tests/test_journal_lock_date.py new file mode 100644 index 00000000..88acdbc2 --- /dev/null +++ b/account_journal_lock_date/tests/test_journal_lock_date.py @@ -0,0 +1,88 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from datetime import date, timedelta + +from odoo import fields, tools +from odoo.modules import get_module_resource +from odoo.tests import common + +from ..exceptions import JournalLockDateError + + +class TestJournalLockDate(common.TransactionCase): + + def setUp(self): + super(TestJournalLockDate, self).setUp() + tools.convert_file(self.cr, 'account', + get_module_resource('account', 'test', + 'account_minimal_test.xml'), + {}, 'init', False, 'test') + self.account_move_obj = self.env["account.move"] + self.account_move_line_obj = \ + self.env["account.move.line"] + self.company_id = self.ref('base.main_company') + self.partner = self.browse_ref("base.res_partner_12") + self.account = self.browse_ref("account.a_recv") + self.account2 = self.browse_ref("account.a_expense") + self.journal = self.browse_ref("account.bank_journal") + + def test_journal_lock_date(self): + # create a move and post it + move = self.account_move_obj.create({ + 'date': fields.Date.today(), + 'journal_id': self.journal.id, + 'line_ids': [(0, 0, { + 'account_id': self.account.id, + 'credit': 1000.0, + 'name': 'Credit line', + }), (0, 0, { + 'account_id': self.account2.id, + 'debit': 1000.0, + 'name': 'Debit line', + })] + }) + move.post() + + # lock journal + self.journal.journal_lock_date = fields.Date.today() + + # Test that the move cannot be created, written, or cancelled + with self.assertRaises(JournalLockDateError): + self.account_move_obj.create({ + 'date': fields.Date.today(), + 'journal_id': self.journal.id, + 'line_ids': [(0, 0, { + 'account_id': self.account.id, + 'credit': 1000.0, + 'name': 'Credit line', + }), (0, 0, { + 'account_id': self.account2.id, + 'debit': 1000.0, + 'name': 'Debit line', + })] + }) + + with self.assertRaises(JournalLockDateError): + move.write({'name': 'TEST'}) + + with self.assertRaises(JournalLockDateError): + move.button_cancel() + + # create a move after ther lock date and post it + tomorrow = date.today() + timedelta(days=1) + move3 = self.account_move_obj.create({ + 'date': tomorrow, + 'journal_id': self.journal.id, + 'line_ids': [(0, 0, { + 'account_id': self.account.id, + 'credit': 1000.0, + 'name': 'Credit line', + }), (0, 0, { + 'account_id': self.account2.id, + 'debit': 1000.0, + 'name': 'Debit line', + })] + }) + move3.post() diff --git a/account_journal_lock_date/views/account_journal.xml b/account_journal_lock_date/views/account_journal.xml new file mode 100644 index 00000000..ec2a4504 --- /dev/null +++ b/account_journal_lock_date/views/account_journal.xml @@ -0,0 +1,33 @@ + + + + + + + + account.journal.form (in account_journal_lock_date) + account.journal + + + + + + + + + + + account.journal.tree (in account_journal_lock_date) + account.journal + + + + + + + + + + + From 184aa4c82808e0afcc13ccf7391059da0389b593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul=20=28ACSONE=29?= Date: Thu, 4 May 2017 13:59:42 +0200 Subject: [PATCH 02/27] [FIX] account_journal_lock_date test on travis The test failed on travis (not on a local install) because the admin users if part of the Adviser group. Make sure we have the right group and add a test for that feature too. --- .../tests/test_journal_lock_date.py | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/account_journal_lock_date/tests/test_journal_lock_date.py b/account_journal_lock_date/tests/test_journal_lock_date.py index 88acdbc2..7b1d1bd4 100644 --- a/account_journal_lock_date/tests/test_journal_lock_date.py +++ b/account_journal_lock_date/tests/test_journal_lock_date.py @@ -29,6 +29,12 @@ class TestJournalLockDate(common.TransactionCase): self.journal = self.browse_ref("account.bank_journal") def test_journal_lock_date(self): + self.env.user.write({ + 'groups_id': [(3, self.ref('account.group_account_manager'))], + }) + self.assertFalse(self.env.user.has_group( + 'account.group_account_manager')) + # create a move and post it move = self.account_move_obj.create({ 'date': fields.Date.today(), @@ -86,3 +92,29 @@ class TestJournalLockDate(common.TransactionCase): })] }) move3.post() + + def test_journal_lock_date_adviser(self): + """ The journal lock date is ignored for Advisers """ + self.env.user.write({ + 'groups_id': [(4, self.ref('account.group_account_manager'))], + }) + self.assertTrue(self.env.user.has_group( + 'account.group_account_manager')) + + # lock journal + self.journal.journal_lock_date = fields.Date.today() + + # advisers can create moves before or on the lock date + self.account_move_obj.create({ + 'date': fields.Date.today(), + 'journal_id': self.journal.id, + 'line_ids': [(0, 0, { + 'account_id': self.account.id, + 'credit': 1000.0, + 'name': 'Credit line', + }), (0, 0, { + 'account_id': self.account2.id, + 'debit': 1000.0, + 'name': 'Debit line', + })] + }) From 8fb551636d0dd8356fea7095f4c934191b2efacc Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sat, 3 Jun 2017 00:06:49 +0200 Subject: [PATCH 03/27] OCA Transbot updated translations from Transifex --- account_journal_lock_date/i18n/am.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/ar.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/bs.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/ca.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/cs.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/de.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/en_GB.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/es.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/es_CR.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/es_EC.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/es_MX.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/es_VE.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/et.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/fr.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/gl.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/hr.po | 53 ++++++++++++++++++++++ account_journal_lock_date/i18n/hr_HR.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/hu.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/id.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/it.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/ja.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/lt.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/mk.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/mn.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/nb.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/nl.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/nl_BE.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/pl.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/pt.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/pt_BR.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/pt_PT.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/ro.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/ru.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/sl.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/sr@latin.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/sv.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/tr.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/tr_TR.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/vi.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/zh_CN.po | 49 ++++++++++++++++++++ account_journal_lock_date/i18n/zh_TW.po | 49 ++++++++++++++++++++ 41 files changed, 2013 insertions(+) create mode 100644 account_journal_lock_date/i18n/am.po create mode 100644 account_journal_lock_date/i18n/ar.po create mode 100644 account_journal_lock_date/i18n/bs.po create mode 100644 account_journal_lock_date/i18n/ca.po create mode 100644 account_journal_lock_date/i18n/cs.po create mode 100644 account_journal_lock_date/i18n/de.po create mode 100644 account_journal_lock_date/i18n/en_GB.po create mode 100644 account_journal_lock_date/i18n/es.po create mode 100644 account_journal_lock_date/i18n/es_CR.po create mode 100644 account_journal_lock_date/i18n/es_EC.po create mode 100644 account_journal_lock_date/i18n/es_MX.po create mode 100644 account_journal_lock_date/i18n/es_VE.po create mode 100644 account_journal_lock_date/i18n/et.po create mode 100644 account_journal_lock_date/i18n/fr.po create mode 100644 account_journal_lock_date/i18n/gl.po create mode 100644 account_journal_lock_date/i18n/hr.po create mode 100644 account_journal_lock_date/i18n/hr_HR.po create mode 100644 account_journal_lock_date/i18n/hu.po create mode 100644 account_journal_lock_date/i18n/id.po create mode 100644 account_journal_lock_date/i18n/it.po create mode 100644 account_journal_lock_date/i18n/ja.po create mode 100644 account_journal_lock_date/i18n/lt.po create mode 100644 account_journal_lock_date/i18n/mk.po create mode 100644 account_journal_lock_date/i18n/mn.po create mode 100644 account_journal_lock_date/i18n/nb.po create mode 100644 account_journal_lock_date/i18n/nl.po create mode 100644 account_journal_lock_date/i18n/nl_BE.po create mode 100644 account_journal_lock_date/i18n/pl.po create mode 100644 account_journal_lock_date/i18n/pt.po create mode 100644 account_journal_lock_date/i18n/pt_BR.po create mode 100644 account_journal_lock_date/i18n/pt_PT.po create mode 100644 account_journal_lock_date/i18n/ro.po create mode 100644 account_journal_lock_date/i18n/ru.po create mode 100644 account_journal_lock_date/i18n/sl.po create mode 100644 account_journal_lock_date/i18n/sr@latin.po create mode 100644 account_journal_lock_date/i18n/sv.po create mode 100644 account_journal_lock_date/i18n/tr.po create mode 100644 account_journal_lock_date/i18n/tr_TR.po create mode 100644 account_journal_lock_date/i18n/vi.po create mode 100644 account_journal_lock_date/i18n/zh_CN.po create mode 100644 account_journal_lock_date/i18n/zh_TW.po diff --git a/account_journal_lock_date/i18n/am.po b/account_journal_lock_date/i18n/am.po new file mode 100644 index 00000000..75e9bcf2 --- /dev/null +++ b/account_journal_lock_date/i18n/am.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Asiento contable" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/ar.po b/account_journal_lock_date/i18n/ar.po new file mode 100644 index 00000000..e1bb5ff9 --- /dev/null +++ b/account_journal_lock_date/i18n/ar.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "السجل اليومي" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/bs.po b/account_journal_lock_date/i18n/bs.po new file mode 100644 index 00000000..5810ff16 --- /dev/null +++ b/account_journal_lock_date/i18n/bs.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Dnevnik" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/ca.po b/account_journal_lock_date/i18n/ca.po new file mode 100644 index 00000000..cc7e6ed0 --- /dev/null +++ b/account_journal_lock_date/i18n/ca.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Assentament comptable" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diari" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/cs.po b/account_journal_lock_date/i18n/cs.po new file mode 100644 index 00000000..e1a4b7bd --- /dev/null +++ b/account_journal_lock_date/i18n/cs.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Deník" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/de.po b/account_journal_lock_date/i18n/de.po new file mode 100644 index 00000000..f6bb6d38 --- /dev/null +++ b/account_journal_lock_date/i18n/de.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Kontobuchung" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Journal" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/en_GB.po b/account_journal_lock_date/i18n/en_GB.po new file mode 100644 index 00000000..5ea01caf --- /dev/null +++ b/account_journal_lock_date/i18n/en_GB.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Journal" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/es.po b/account_journal_lock_date/i18n/es.po new file mode 100644 index 00000000..5cd37036 --- /dev/null +++ b/account_journal_lock_date/i18n/es.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Asiento contable" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diario" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/es_CR.po b/account_journal_lock_date/i18n/es_CR.po new file mode 100644 index 00000000..0f58210c --- /dev/null +++ b/account_journal_lock_date/i18n/es_CR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diario" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/es_EC.po b/account_journal_lock_date/i18n/es_EC.po new file mode 100644 index 00000000..691cabe0 --- /dev/null +++ b/account_journal_lock_date/i18n/es_EC.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diario" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/es_MX.po b/account_journal_lock_date/i18n/es_MX.po new file mode 100644 index 00000000..f82fcb52 --- /dev/null +++ b/account_journal_lock_date/i18n/es_MX.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diario" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/es_VE.po b/account_journal_lock_date/i18n/es_VE.po new file mode 100644 index 00000000..14ce08c8 --- /dev/null +++ b/account_journal_lock_date/i18n/es_VE.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diario" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/et.po b/account_journal_lock_date/i18n/et.po new file mode 100644 index 00000000..f7b36b45 --- /dev/null +++ b/account_journal_lock_date/i18n/et.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Päevik" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/fr.po b/account_journal_lock_date/i18n/fr.po new file mode 100644 index 00000000..c97930dc --- /dev/null +++ b/account_journal_lock_date/i18n/fr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Pièce comptable" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Journal" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/gl.po b/account_journal_lock_date/i18n/gl.po new file mode 100644 index 00000000..710c2d0a --- /dev/null +++ b/account_journal_lock_date/i18n/gl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Asento contable" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/hr.po b/account_journal_lock_date/i18n/hr.po new file mode 100644 index 00000000..a5addacc --- /dev/null +++ b/account_journal_lock_date/i18n/hr.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# Bole , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-23 01:41+0000\n" +"PO-Revision-Date: 2018-02-23 01:41+0000\n" +"Last-Translator: Bole , 2017\n" +"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Stavka knjiženja" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Dnevnik" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "Datum zaključavanja" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" +"Stavke nije moguće unesti ili urediti u ovom dnevniku prije datuma " +"zaključavanja, osim ukoliko korisnik ima rolu Savjetnika" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" +"Nije moguće unositi/uređivati stavke prije i uključivo sa datum " +"zaključavanja dnevnika %s" diff --git a/account_journal_lock_date/i18n/hr_HR.po b/account_journal_lock_date/i18n/hr_HR.po new file mode 100644 index 00000000..6724075d --- /dev/null +++ b/account_journal_lock_date/i18n/hr_HR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Stavka dnevnika" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/hu.po b/account_journal_lock_date/i18n/hu.po new file mode 100644 index 00000000..5b0a7796 --- /dev/null +++ b/account_journal_lock_date/i18n/hu.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Napló" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/id.po b/account_journal_lock_date/i18n/id.po new file mode 100644 index 00000000..2a74fcdc --- /dev/null +++ b/account_journal_lock_date/i18n/id.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Indonesian (https://www.transifex.com/oca/teams/23907/id/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Jurnal" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/it.po b/account_journal_lock_date/i18n/it.po new file mode 100644 index 00000000..902ef1f2 --- /dev/null +++ b/account_journal_lock_date/i18n/it.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Registrazione Contabile" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Sezionale" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/ja.po b/account_journal_lock_date/i18n/ja.po new file mode 100644 index 00000000..1e2f47b8 --- /dev/null +++ b/account_journal_lock_date/i18n/ja.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "仕訳帳" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/lt.po b/account_journal_lock_date/i18n/lt.po new file mode 100644 index 00000000..fcc417cb --- /dev/null +++ b/account_journal_lock_date/i18n/lt.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Žurnalas" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/mk.po b/account_journal_lock_date/i18n/mk.po new file mode 100644 index 00000000..fc356cf9 --- /dev/null +++ b/account_journal_lock_date/i18n/mk.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Дневник" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/mn.po b/account_journal_lock_date/i18n/mn.po new file mode 100644 index 00000000..ec15cd34 --- /dev/null +++ b/account_journal_lock_date/i18n/mn.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Журнал" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/nb.po b/account_journal_lock_date/i18n/nb.po new file mode 100644 index 00000000..f05a5a6b --- /dev/null +++ b/account_journal_lock_date/i18n/nb.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Journal" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/nl.po b/account_journal_lock_date/i18n/nl.po new file mode 100644 index 00000000..747d8af5 --- /dev/null +++ b/account_journal_lock_date/i18n/nl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Boeking" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Dagboek" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/nl_BE.po b/account_journal_lock_date/i18n/nl_BE.po new file mode 100644 index 00000000..694c618f --- /dev/null +++ b/account_journal_lock_date/i18n/nl_BE.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Journaal" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/pl.po b/account_journal_lock_date/i18n/pl.po new file mode 100644 index 00000000..3e0f9c07 --- /dev/null +++ b/account_journal_lock_date/i18n/pl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Dziennik" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/pt.po b/account_journal_lock_date/i18n/pt.po new file mode 100644 index 00000000..8392c2c8 --- /dev/null +++ b/account_journal_lock_date/i18n/pt.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Movimento de Conta" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diário" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/pt_BR.po b/account_journal_lock_date/i18n/pt_BR.po new file mode 100644 index 00000000..8478f34c --- /dev/null +++ b/account_journal_lock_date/i18n/pt_BR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Entrada de conta" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diário" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/pt_PT.po b/account_journal_lock_date/i18n/pt_PT.po new file mode 100644 index 00000000..8fa9b26a --- /dev/null +++ b/account_journal_lock_date/i18n/pt_PT.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Movimento de Conta" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Diário" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/ro.po b/account_journal_lock_date/i18n/ro.po new file mode 100644 index 00000000..9bdcdca4 --- /dev/null +++ b/account_journal_lock_date/i18n/ro.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Registru" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/ru.po b/account_journal_lock_date/i18n/ru.po new file mode 100644 index 00000000..6626453f --- /dev/null +++ b/account_journal_lock_date/i18n/ru.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Журнал" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/sl.po b/account_journal_lock_date/i18n/sl.po new file mode 100644 index 00000000..a1ad994e --- /dev/null +++ b/account_journal_lock_date/i18n/sl.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "Knjigovodski vnos" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Dnevnik" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/sr@latin.po b/account_journal_lock_date/i18n/sr@latin.po new file mode 100644 index 00000000..e34f9b2f --- /dev/null +++ b/account_journal_lock_date/i18n/sr@latin.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Dnevnik" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/sv.po b/account_journal_lock_date/i18n/sv.po new file mode 100644 index 00000000..e5cff003 --- /dev/null +++ b/account_journal_lock_date/i18n/sv.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Journal" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/tr.po b/account_journal_lock_date/i18n/tr.po new file mode 100644 index 00000000..1a66a59f --- /dev/null +++ b/account_journal_lock_date/i18n/tr.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Günlük" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/tr_TR.po b/account_journal_lock_date/i18n/tr_TR.po new file mode 100644 index 00000000..60f12ed3 --- /dev/null +++ b/account_journal_lock_date/i18n/tr_TR.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# Ediz Duman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"Last-Translator: Ediz Duman , 2017\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr_TR\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Yevmiye" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/vi.po b/account_journal_lock_date/i18n/vi.po new file mode 100644 index 00000000..561c5f54 --- /dev/null +++ b/account_journal_lock_date/i18n/vi.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "Sổ nhật ký" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/zh_CN.po b/account_journal_lock_date/i18n/zh_CN.po new file mode 100644 index 00000000..4b30dc46 --- /dev/null +++ b/account_journal_lock_date/i18n/zh_CN.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "凭证簿" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" diff --git a/account_journal_lock_date/i18n/zh_TW.po b/account_journal_lock_date/i18n/zh_TW.po new file mode 100644 index 00000000..85f05ce1 --- /dev/null +++ b/account_journal_lock_date/i18n/zh_TW.po @@ -0,0 +1,49 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "帳簿" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "" +"Moves cannot be entered nor modified in this journal prior to the lock date," +" unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "" +"You cannot add/modify entries prior to and inclusive of the journal lock " +"date %s" +msgstr "" From 2acb10833bc6d45bd9cc8914099aa3f0ff1293ee Mon Sep 17 00:00:00 2001 From: oca-travis Date: Fri, 22 Jun 2018 22:39:43 +0000 Subject: [PATCH 04/27] [UPD] Update account_journal_lock_date.pot --- .../i18n/account_journal_lock_date.pot | 41 +++++++++++++++++++ account_journal_lock_date/i18n/am.po | 8 ++-- account_journal_lock_date/i18n/ar.po | 11 ++--- account_journal_lock_date/i18n/bs.po | 11 ++--- account_journal_lock_date/i18n/ca.po | 8 ++-- account_journal_lock_date/i18n/cs.po | 8 ++-- account_journal_lock_date/i18n/de.po | 8 ++-- account_journal_lock_date/i18n/en_GB.po | 11 ++--- account_journal_lock_date/i18n/es.po | 8 ++-- account_journal_lock_date/i18n/es_CR.po | 11 ++--- account_journal_lock_date/i18n/es_EC.po | 11 ++--- account_journal_lock_date/i18n/es_MX.po | 11 ++--- account_journal_lock_date/i18n/es_VE.po | 11 ++--- account_journal_lock_date/i18n/et.po | 8 ++-- account_journal_lock_date/i18n/fr.po | 8 ++-- account_journal_lock_date/i18n/gl.po | 8 ++-- account_journal_lock_date/i18n/hr.po | 11 ++--- account_journal_lock_date/i18n/hr_HR.po | 14 ++++--- account_journal_lock_date/i18n/hu.po | 8 ++-- account_journal_lock_date/i18n/id.po | 8 ++-- account_journal_lock_date/i18n/it.po | 8 ++-- account_journal_lock_date/i18n/ja.po | 8 ++-- account_journal_lock_date/i18n/lt.po | 11 ++--- account_journal_lock_date/i18n/mk.po | 8 ++-- account_journal_lock_date/i18n/mn.po | 8 ++-- account_journal_lock_date/i18n/nb.po | 11 ++--- account_journal_lock_date/i18n/nl.po | 8 ++-- account_journal_lock_date/i18n/nl_BE.po | 11 ++--- account_journal_lock_date/i18n/pl.po | 12 +++--- account_journal_lock_date/i18n/pt.po | 8 ++-- account_journal_lock_date/i18n/pt_BR.po | 11 ++--- account_journal_lock_date/i18n/pt_PT.po | 11 ++--- account_journal_lock_date/i18n/ro.po | 11 ++--- account_journal_lock_date/i18n/ru.po | 12 +++--- account_journal_lock_date/i18n/sl.po | 11 ++--- account_journal_lock_date/i18n/sr@latin.po | 14 ++++--- account_journal_lock_date/i18n/sv.po | 8 ++-- account_journal_lock_date/i18n/tr.po | 8 ++-- account_journal_lock_date/i18n/tr_TR.po | 11 ++--- account_journal_lock_date/i18n/vi.po | 8 ++-- account_journal_lock_date/i18n/zh_CN.po | 11 ++--- account_journal_lock_date/i18n/zh_TW.po | 11 ++--- 42 files changed, 255 insertions(+), 188 deletions(-) create mode 100644 account_journal_lock_date/i18n/account_journal_lock_date.pot diff --git a/account_journal_lock_date/i18n/account_journal_lock_date.pot b/account_journal_lock_date/i18n/account_journal_lock_date.pot new file mode 100644 index 00000000..b52413a9 --- /dev/null +++ b/account_journal_lock_date/i18n/account_journal_lock_date.pot @@ -0,0 +1,41 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_journal_lock_date +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Account Entry" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_account_journal +msgid "Journal" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Lock date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +msgid "Moves cannot be entered nor modified in this journal prior to the lock date, unless the user has the Adviser role." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:23 +#, python-format +msgid "You cannot add/modify entries prior to and inclusive of the journal lock date %s" +msgstr "" + diff --git a/account_journal_lock_date/i18n/am.po b/account_journal_lock_date/i18n/am.po index 75e9bcf2..0e754a77 100644 --- a/account_journal_lock_date/i18n/am.po +++ b/account_journal_lock_date/i18n/am.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/ar.po b/account_journal_lock_date/i18n/ar.po index e1bb5ff9..7f5227d6 100644 --- a/account_journal_lock_date/i18n/ar.po +++ b/account_journal_lock_date/i18n/ar.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/bs.po b/account_journal_lock_date/i18n/bs.po index 5810ff16..fe2e982a 100644 --- a/account_journal_lock_date/i18n/bs.po +++ b/account_journal_lock_date/i18n/bs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/ca.po b/account_journal_lock_date/i18n/ca.po index cc7e6ed0..9f24f47e 100644 --- a/account_journal_lock_date/i18n/ca.po +++ b/account_journal_lock_date/i18n/ca.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/cs.po b/account_journal_lock_date/i18n/cs.po index e1a4b7bd..8447365c 100644 --- a/account_journal_lock_date/i18n/cs.po +++ b/account_journal_lock_date/i18n/cs.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/de.po b/account_journal_lock_date/i18n/de.po index f6bb6d38..d0fad333 100644 --- a/account_journal_lock_date/i18n/de.po +++ b/account_journal_lock_date/i18n/de.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" +"Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: de\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/en_GB.po b/account_journal_lock_date/i18n/en_GB.po index 5ea01caf..28071d1f 100644 --- a/account_journal_lock_date/i18n/en_GB.po +++ b/account_journal_lock_date/i18n/en_GB.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/es.po b/account_journal_lock_date/i18n/es.po index 5cd37036..dc2adcb6 100644 --- a/account_journal_lock_date/i18n/es.po +++ b/account_journal_lock_date/i18n/es.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/es_CR.po b/account_journal_lock_date/i18n/es_CR.po index 0f58210c..dd04bd4e 100644 --- a/account_journal_lock_date/i18n/es_CR.po +++ b/account_journal_lock_date/i18n/es_CR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/es_EC.po b/account_journal_lock_date/i18n/es_EC.po index 691cabe0..65d39019 100644 --- a/account_journal_lock_date/i18n/es_EC.po +++ b/account_journal_lock_date/i18n/es_EC.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/es_MX.po b/account_journal_lock_date/i18n/es_MX.po index f82fcb52..9ad0d40e 100644 --- a/account_journal_lock_date/i18n/es_MX.po +++ b/account_journal_lock_date/i18n/es_MX.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/es_VE.po b/account_journal_lock_date/i18n/es_VE.po index 14ce08c8..afdb0801 100644 --- a/account_journal_lock_date/i18n/es_VE.po +++ b/account_journal_lock_date/i18n/es_VE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/et.po b/account_journal_lock_date/i18n/et.po index f7b36b45..840dd85b 100644 --- a/account_journal_lock_date/i18n/et.po +++ b/account_journal_lock_date/i18n/et.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/fr.po b/account_journal_lock_date/i18n/fr.po index c97930dc..4e7bde88 100644 --- a/account_journal_lock_date/i18n/fr.po +++ b/account_journal_lock_date/i18n/fr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" +"Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: fr\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/gl.po b/account_journal_lock_date/i18n/gl.po index 710c2d0a..1a549e87 100644 --- a/account_journal_lock_date/i18n/gl.po +++ b/account_journal_lock_date/i18n/gl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/hr.po b/account_journal_lock_date/i18n/hr.po index a5addacc..74adb299 100644 --- a/account_journal_lock_date/i18n/hr.po +++ b/account_journal_lock_date/i18n/hr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # Bole , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2018-02-23 01:41+0000\n" "Last-Translator: Bole , 2017\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" +"Language: hr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +37,8 @@ msgstr "Datum zaključavanja" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" "Stavke nije moguće unesti ili urediti u ovom dnevniku prije datuma " "zaključavanja, osim ukoliko korisnik ima rolu Savjetnika" diff --git a/account_journal_lock_date/i18n/hr_HR.po b/account_journal_lock_date/i18n/hr_HR.po index 6724075d..1dce9c88 100644 --- a/account_journal_lock_date/i18n/hr_HR.po +++ b/account_journal_lock_date/i18n/hr_HR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,12 +11,14 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +38,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/hu.po b/account_journal_lock_date/i18n/hu.po index 5b0a7796..9e9c06cb 100644 --- a/account_journal_lock_date/i18n/hu.po +++ b/account_journal_lock_date/i18n/hu.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/id.po b/account_journal_lock_date/i18n/id.po index 2a74fcdc..a6b9ffd4 100644 --- a/account_journal_lock_date/i18n/id.po +++ b/account_journal_lock_date/i18n/id.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Indonesian (https://www.transifex.com/oca/teams/23907/id/)\n" +"Language: id\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: id\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/it.po b/account_journal_lock_date/i18n/it.po index 902ef1f2..24c278b7 100644 --- a/account_journal_lock_date/i18n/it.po +++ b/account_journal_lock_date/i18n/it.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/ja.po b/account_journal_lock_date/i18n/ja.po index 1e2f47b8..636acfb2 100644 --- a/account_journal_lock_date/i18n/ja.po +++ b/account_journal_lock_date/i18n/ja.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/lt.po b/account_journal_lock_date/i18n/lt.po index fcc417cb..b1065646 100644 --- a/account_journal_lock_date/i18n/lt.po +++ b/account_journal_lock_date/i18n/lt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/mk.po b/account_journal_lock_date/i18n/mk.po index fc356cf9..f1a4a870 100644 --- a/account_journal_lock_date/i18n/mk.po +++ b/account_journal_lock_date/i18n/mk.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/mn.po b/account_journal_lock_date/i18n/mn.po index ec15cd34..f0d70f7c 100644 --- a/account_journal_lock_date/i18n/mn.po +++ b/account_journal_lock_date/i18n/mn.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/nb.po b/account_journal_lock_date/i18n/nb.po index f05a5a6b..2cd1dc9c 100644 --- a/account_journal_lock_date/i18n/nb.po +++ b/account_journal_lock_date/i18n/nb.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/nl.po b/account_journal_lock_date/i18n/nl.po index 747d8af5..9737b4d1 100644 --- a/account_journal_lock_date/i18n/nl.po +++ b/account_journal_lock_date/i18n/nl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n" +"Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: nl\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/nl_BE.po b/account_journal_lock_date/i18n/nl_BE.po index 694c618f..f7b90116 100644 --- a/account_journal_lock_date/i18n/nl_BE.po +++ b/account_journal_lock_date/i18n/nl_BE.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/pl.po b/account_journal_lock_date/i18n/pl.po index 3e0f9c07..d6cfd380 100644 --- a/account_journal_lock_date/i18n/pl.po +++ b/account_journal_lock_date/i18n/pl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,13 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +38,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/pt.po b/account_journal_lock_date/i18n/pt.po index 8392c2c8..e2ad2a83 100644 --- a/account_journal_lock_date/i18n/pt.po +++ b/account_journal_lock_date/i18n/pt.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/pt_BR.po b/account_journal_lock_date/i18n/pt_BR.po index 8478f34c..32b1a157 100644 --- a/account_journal_lock_date/i18n/pt_BR.po +++ b/account_journal_lock_date/i18n/pt_BR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n" +"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/" +"teams/23907/pt_BR/)\n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: pt_BR\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/pt_PT.po b/account_journal_lock_date/i18n/pt_PT.po index 8fa9b26a..238e3491 100644 --- a/account_journal_lock_date/i18n/pt_PT.po +++ b/account_journal_lock_date/i18n/pt_PT.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/ro.po b/account_journal_lock_date/i18n/ro.po index 9bdcdca4..b573c90a 100644 --- a/account_journal_lock_date/i18n/ro.po +++ b/account_journal_lock_date/i18n/ro.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/ru.po b/account_journal_lock_date/i18n/ru.po index 6626453f..ad23e3b7 100644 --- a/account_journal_lock_date/i18n/ru.po +++ b/account_journal_lock_date/i18n/ru.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,13 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +38,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/sl.po b/account_journal_lock_date/i18n/sl.po index a1ad994e..4d26d42a 100644 --- a/account_journal_lock_date/i18n/sl.po +++ b/account_journal_lock_date/i18n/sl.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,11 +12,12 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: OCA Transbot , 2017\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: sl\n" -"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" #. module: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/sr@latin.po b/account_journal_lock_date/i18n/sr@latin.po index e34f9b2f..e935e571 100644 --- a/account_journal_lock_date/i18n/sr@latin.po +++ b/account_journal_lock_date/i18n/sr@latin.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,12 +11,14 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_move @@ -36,8 +38,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/sv.po b/account_journal_lock_date/i18n/sv.po index e5cff003..be03adfd 100644 --- a/account_journal_lock_date/i18n/sv.po +++ b/account_journal_lock_date/i18n/sv.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/tr.po b/account_journal_lock_date/i18n/tr.po index 1a66a59f..98dd6de1 100644 --- a/account_journal_lock_date/i18n/tr.po +++ b/account_journal_lock_date/i18n/tr.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/tr_TR.po b/account_journal_lock_date/i18n/tr_TR.po index 60f12ed3..2911090a 100644 --- a/account_journal_lock_date/i18n/tr_TR.po +++ b/account_journal_lock_date/i18n/tr_TR.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # Ediz Duman , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: Ediz Duman , 2017\n" -"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n" +"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" +"tr_TR/)\n" +"Language: tr_TR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Language: tr_TR\n" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/vi.po b/account_journal_lock_date/i18n/vi.po index 561c5f54..08c14178 100644 --- a/account_journal_lock_date/i18n/vi.po +++ b/account_journal_lock_date/i18n/vi.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -12,10 +12,10 @@ msgstr "" "PO-Revision-Date: 2017-05-30 00:47+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: account_journal_lock_date @@ -36,8 +36,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/zh_CN.po b/account_journal_lock_date/i18n/zh_CN.po index 4b30dc46..e7c34fce 100644 --- a/account_journal_lock_date/i18n/zh_CN.po +++ b/account_journal_lock_date/i18n/zh_CN.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date diff --git a/account_journal_lock_date/i18n/zh_TW.po b/account_journal_lock_date/i18n/zh_TW.po index 85f05ce1..4354c096 100644 --- a/account_journal_lock_date/i18n/zh_TW.po +++ b/account_journal_lock_date/i18n/zh_TW.po @@ -1,7 +1,7 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: # * account_journal_lock_date -# +# # Translators: # OCA Transbot , 2017 msgid "" @@ -11,11 +11,12 @@ msgstr "" "POT-Creation-Date: 2017-05-30 00:47+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: 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: account_journal_lock_date @@ -36,8 +37,8 @@ msgstr "" #. module: account_journal_lock_date #: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date," -" unless the user has the Adviser role." +"Moves cannot be entered nor modified in this journal prior to the lock date, " +"unless the user has the Adviser role." msgstr "" #. module: account_journal_lock_date From 6e1f206475392e0fe0e53a669f1432d2e965bb90 Mon Sep 17 00:00:00 2001 From: sbejaoui Date: Fri, 24 May 2019 17:09:51 +0200 Subject: [PATCH 05/27] [MIG] - account_journal_lock_date migration to 12.0 --- account_journal_lock_date/README.rst | 81 ++-- account_journal_lock_date/__manifest__.py | 7 +- .../models/account_journal.py | 1 - .../models/account_move.py | 14 +- .../readme/CONTRIBUTORS.rst | 10 + .../readme/DESCRIPTION.rst | 12 + account_journal_lock_date/readme/ROADMAP.rst | 3 + .../static/description/index.html | 446 ++++++++++++++++++ .../tests/test_journal_lock_date.py | 8 +- 9 files changed, 546 insertions(+), 36 deletions(-) create mode 100644 account_journal_lock_date/readme/CONTRIBUTORS.rst create mode 100644 account_journal_lock_date/readme/DESCRIPTION.rst create mode 100644 account_journal_lock_date/readme/ROADMAP.rst create mode 100644 account_journal_lock_date/static/description/index.html diff --git a/account_journal_lock_date/README.rst b/account_journal_lock_date/README.rst index 0f0d5bb5..36d49d33 100644 --- a/account_journal_lock_date/README.rst +++ b/account_journal_lock_date/README.rst @@ -1,11 +1,30 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ========================= Account Journal Lock Date ========================= +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github + :target: https://github.com/OCA/account-financial-tools/tree/12.0/account_journal_lock_date + :alt: OCA/account-financial-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_journal_lock_date + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/92/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + Lock each accounting journal independently. In addition to the lock dates provided by standard Odoo and @@ -19,17 +38,10 @@ Note: the journal lock date is ignored for users that are part of the Adviser group. This rule can be adapted by overriding method `_can_bypass_journal_lock_date` of `account.journal`. -Usage -===== +**Table of contents** -To use this module, you need to set - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch} - -.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt -.. branch is "8.0" for example +.. contents:: + :local: Known issues / Roadmap ====================== @@ -41,35 +53,48 @@ Known issues / Roadmap Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. +* ACSONE SA/NV Contributors ------------- +~~~~~~~~~~~~ -* Stéphane Bidoul +* `Akretion `_: -Maintainer ----------- + * Benoît GUILLOT + * Chafique DELLI + * Alexis de Lattre + * Mourad EL HADJ MIMOUNE + +* `Tecnativa `_: + + * Pedro M. Baeza + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/account-financial-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_journal_lock_date/__manifest__.py b/account_journal_lock_date/__manifest__.py index fe491dc7..eb18a363 100644 --- a/account_journal_lock_date/__manifest__.py +++ b/account_journal_lock_date/__manifest__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -6,12 +5,12 @@ 'name': 'Account Journal Lock Date', 'summary': """ Lock each journal independently""", - 'version': '10.0.1.0.0', + 'version': '12.0.1.0.0', 'license': 'AGPL-3', 'author': 'ACSONE SA/NV,Odoo Community Association (OCA)', - 'website': 'https://acsone.eu/', + 'website': 'https://github.com/OCA/account-financial-tools', 'depends': [ - 'account_permanent_lock_move', + 'account', ], 'data': [ 'views/account_journal.xml', diff --git a/account_journal_lock_date/models/account_journal.py b/account_journal_lock_date/models/account_journal.py index 134f231b..bd1cc739 100644 --- a/account_journal_lock_date/models/account_journal.py +++ b/account_journal_lock_date/models/account_journal.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/account_journal_lock_date/models/account_move.py b/account_journal_lock_date/models/account_move.py index 1aaaaee5..634b9763 100644 --- a/account_journal_lock_date/models/account_move.py +++ b/account_journal_lock_date/models/account_move.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -11,6 +10,19 @@ class AccountMove(models.Model): _inherit = 'account.move' + @api.model + def create(self, values): + move = super().create(values) + move._check_lock_date() + return move + + @api.multi + def write(self, values): + self._check_lock_date() + res = super().write(values) + self._check_lock_date() + return res + @api.multi def _check_lock_date(self): res = super(AccountMove, self)._check_lock_date() diff --git a/account_journal_lock_date/readme/CONTRIBUTORS.rst b/account_journal_lock_date/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..21d67b3a --- /dev/null +++ b/account_journal_lock_date/readme/CONTRIBUTORS.rst @@ -0,0 +1,10 @@ +* `Akretion `_: + + * Benoît GUILLOT + * Chafique DELLI + * Alexis de Lattre + * Mourad EL HADJ MIMOUNE + +* `Tecnativa `_: + + * Pedro M. Baeza diff --git a/account_journal_lock_date/readme/DESCRIPTION.rst b/account_journal_lock_date/readme/DESCRIPTION.rst new file mode 100644 index 00000000..aa9ab76f --- /dev/null +++ b/account_journal_lock_date/readme/DESCRIPTION.rst @@ -0,0 +1,12 @@ +Lock each accounting journal independently. + +In addition to the lock dates provided by standard Odoo and +account_permanent_lock_move, provide a per journal lock date. + +Note: this module depends on account_permanent_lock_move because it +implements stricter checks than standard Odoo, such as verifying that +one cannot create draft moves before the lock date. + +Note: the journal lock date is ignored for users that are part of +the Adviser group. This rule can be adapted by overriding method +`_can_bypass_journal_lock_date` of `account.journal`. diff --git a/account_journal_lock_date/readme/ROADMAP.rst b/account_journal_lock_date/readme/ROADMAP.rst new file mode 100644 index 00000000..6b1f5ba3 --- /dev/null +++ b/account_journal_lock_date/readme/ROADMAP.rst @@ -0,0 +1,3 @@ +* a wizard to set the lock date on several journals could be nice to have +* the module does not check that all moves prior the lock date are posted, this could be + made as part of the wizard \ No newline at end of file diff --git a/account_journal_lock_date/static/description/index.html b/account_journal_lock_date/static/description/index.html new file mode 100644 index 00000000..edd7d242 --- /dev/null +++ b/account_journal_lock_date/static/description/index.html @@ -0,0 +1,446 @@ + + + + + + +Account Journal Lock Date + + + +
+

Account Journal Lock Date

+ + +

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runbot

+

Lock each accounting journal independently.

+

In addition to the lock dates provided by standard Odoo and +account_permanent_lock_move, provide a per journal lock date.

+

Note: this module depends on account_permanent_lock_move because it +implements stricter checks than standard Odoo, such as verifying that +one cannot create draft moves before the lock date.

+

Note: the journal lock date is ignored for users that are part of +the Adviser group. This rule can be adapted by overriding method +_can_bypass_journal_lock_date of account.journal.

+

Table of contents

+ +
+

Known issues / Roadmap

+
    +
  • a wizard to set the lock date on several journals could be nice to have
  • +
  • the module does not check that all moves prior the lock date are posted, this could be +made as part of the wizard
  • +
+
+
+

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

+
    +
  • ACSONE SA/NV
  • +
+
+
+

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/account-financial-tools project on GitHub.

+

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

+
+
+
+ + diff --git a/account_journal_lock_date/tests/test_journal_lock_date.py b/account_journal_lock_date/tests/test_journal_lock_date.py index 7b1d1bd4..741a9910 100644 --- a/account_journal_lock_date/tests/test_journal_lock_date.py +++ b/account_journal_lock_date/tests/test_journal_lock_date.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -29,6 +28,9 @@ class TestJournalLockDate(common.TransactionCase): self.journal = self.browse_ref("account.bank_journal") def test_journal_lock_date(self): + self.env.user.write({ + 'groups_id': [(3, self.ref('base.group_system'))], + }) self.env.user.write({ 'groups_id': [(3, self.ref('account.group_account_manager'))], }) @@ -73,10 +75,12 @@ class TestJournalLockDate(common.TransactionCase): with self.assertRaises(JournalLockDateError): move.write({'name': 'TEST'}) + # allow cancel posted move + self.journal.update_posted = True with self.assertRaises(JournalLockDateError): move.button_cancel() - # create a move after ther lock date and post it + # create a move after the lock date and post it tomorrow = date.today() + timedelta(days=1) move3 = self.account_move_obj.create({ 'date': tomorrow, From 0464802099e47f75deb570813a9b09922b01cff3 Mon Sep 17 00:00:00 2001 From: Ernesto Tejeda Date: Thu, 20 Aug 2020 09:22:40 -0400 Subject: [PATCH 06/27] [IMP] account_journal_lock_date: two dates per journal - Change in journal the existing 'Lock date' by two dates, the same as in company. - Add a wizard to allows a massive update of those dates for several journals at the same time. --- account_journal_lock_date/README.rst | 38 ++++-- account_journal_lock_date/__init__.py | 3 + account_journal_lock_date/__manifest__.py | 3 +- .../i18n/account_journal_lock_date.pot | 99 ++++++++++++-- account_journal_lock_date/i18n/es.po | 129 ++++++++++++++++-- .../models/account_journal.py | 25 ++-- .../models/account_move.py | 33 +++-- .../readme/CONFIGURE.rst | 8 ++ .../readme/CONTRIBUTORS.rst | 1 + .../readme/DESCRIPTION.rst | 13 +- account_journal_lock_date/readme/ROADMAP.rst | 3 +- account_journal_lock_date/readme/USAGE.rst | 7 + .../static/description/index.html | 63 ++++++--- .../tests/test_journal_lock_date.py | 70 +++++++--- .../views/account_journal.xml | 8 +- account_journal_lock_date/wizards/__init__.py | 3 + .../wizards/update_journal_lock_dates.py | 30 ++++ .../update_journal_lock_dates_views.xml | 39 ++++++ 18 files changed, 467 insertions(+), 108 deletions(-) create mode 100644 account_journal_lock_date/readme/CONFIGURE.rst create mode 100644 account_journal_lock_date/readme/USAGE.rst create mode 100644 account_journal_lock_date/wizards/__init__.py create mode 100644 account_journal_lock_date/wizards/update_journal_lock_dates.py create mode 100644 account_journal_lock_date/wizards/update_journal_lock_dates_views.xml diff --git a/account_journal_lock_date/README.rst b/account_journal_lock_date/README.rst index 36d49d33..e42aabb4 100644 --- a/account_journal_lock_date/README.rst +++ b/account_journal_lock_date/README.rst @@ -27,26 +27,43 @@ Account Journal Lock Date Lock each accounting journal independently. -In addition to the lock dates provided by standard Odoo and -account_permanent_lock_move, provide a per journal lock date. +In addition to the lock dates provided by standard Odoo, this module +provides a 'Lock Date' and a 'Lock Date for Non-Advisers' per journal. -Note: this module depends on account_permanent_lock_move because it -implements stricter checks than standard Odoo, such as verifying that -one cannot create draft moves before the lock date. - -Note: the journal lock date is ignored for users that are part of -the Adviser group. This rule can be adapted by overriding method -`_can_bypass_journal_lock_date` of `account.journal`. +This module also adds a wizard that allows you to update the 'Lock Date' +and the 'Lock Date for Non-Advisers' for several Journals at the same time. **Table of contents** .. contents:: :local: +Configuration +============= + +To configure this module, you need to: + +#. Go to *Invoicing > Configuration > Journals* +#. Open a Journal and set the 'Lock Date' and the 'Lock Date for Non-Advisers' + in the' Advanced Settings' tab of the form view or select several + Journals in the list view and click on the action menu + 'Update journals lock dates' to update those dates for the selected + journals at the same time. + +Usage +===== + +If the logged-in user has the access group 'Adviser', he/she will +not be able to create a journal entry if the 'Lock Date' of the +journal is greater than or equal to the journal entry. + +If the logged-in user has not the access group 'Adviser', he/she will +not be able to create a journal entry if the 'Lock Date for Non-Advisers' +of the journal is greater than or equal to the journal entry. + Known issues / Roadmap ====================== -* a wizard to set the lock date on several journals could be nice to have * the module does not check that all moves prior the lock date are posted, this could be made as part of the wizard @@ -81,6 +98,7 @@ Contributors * `Tecnativa `_: * Pedro M. Baeza + * Ernesto Tejeda Maintainers ~~~~~~~~~~~ diff --git a/account_journal_lock_date/__init__.py b/account_journal_lock_date/__init__.py index 0650744f..adc6207f 100644 --- a/account_journal_lock_date/__init__.py +++ b/account_journal_lock_date/__init__.py @@ -1 +1,4 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + from . import models +from . import wizards diff --git a/account_journal_lock_date/__manifest__.py b/account_journal_lock_date/__manifest__.py index eb18a363..da853481 100644 --- a/account_journal_lock_date/__manifest__.py +++ b/account_journal_lock_date/__manifest__.py @@ -5,7 +5,7 @@ 'name': 'Account Journal Lock Date', 'summary': """ Lock each journal independently""", - 'version': '12.0.1.0.0', + 'version': '12.0.2.0.0', 'license': 'AGPL-3', 'author': 'ACSONE SA/NV,Odoo Community Association (OCA)', 'website': 'https://github.com/OCA/account-financial-tools', @@ -14,6 +14,7 @@ ], 'data': [ 'views/account_journal.xml', + 'wizards/update_journal_lock_dates_views.xml', ], 'demo': [ ], diff --git a/account_journal_lock_date/i18n/account_journal_lock_date.pot b/account_journal_lock_date/i18n/account_journal_lock_date.pot index b52413a9..d28fc5e3 100644 --- a/account_journal_lock_date/i18n/account_journal_lock_date.pot +++ b/account_journal_lock_date/i18n/account_journal_lock_date.pot @@ -4,8 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2020-08-20 04:25+0000\n" +"PO-Revision-Date: 2020-08-20 04:25+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -14,8 +16,28 @@ msgstr "" "Plural-Forms: \n" #. module: account_journal_lock_date -#: model:ir.model,name:account_journal_lock_date.model_account_move -msgid "Account Entry" +#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form +msgid "Cancel" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__create_uid +msgid "Created by" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__create_date +msgid "Created on" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__display_name +msgid "Display Name" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__id +msgid "ID" msgstr "" #. module: account_journal_lock_date @@ -24,18 +46,77 @@ msgid "Journal" msgstr "" #. module: account_journal_lock_date -#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date -msgid "Lock date" +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Journal Entries" msgstr "" #. module: account_journal_lock_date -#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date -msgid "Moves cannot be entered nor modified in this journal prior to the lock date, unless the user has the Adviser role." +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard____last_update +msgid "Last Modified on" msgstr "" #. module: account_journal_lock_date -#: code:addons/account_journal_lock_date/models/account_move.py:23 +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__fiscalyear_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__fiscalyear_lock_date +msgid "Lock Date" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__period_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__period_lock_date +msgid "Lock Date for Non-Advisers" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_update_journal_lock_dates_wizard +msgid "Mass Update Journal Lock Dates Wizard" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__fiscalyear_lock_date +msgid "No users, including Advisers, can edit accounts prior to and inclusive of this date for this journal. Use it for fiscal year locking for this journal, for example." +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__period_lock_date +msgid "Only users with the 'Adviser' role can edit accounts prior to and inclusive of this date for this journal. Use it for period locking inside an open fiscal year for this journal, for example." +msgstr "" + +#. module: account_journal_lock_date +#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form +msgid "Update" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.actions.act_window,name:account_journal_lock_date.update_journal_lock_dates_wizard_action +msgid "Update journal lock dates" +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/wizards/update_journal_lock_dates.py:20 #, python-format -msgid "You cannot add/modify entries prior to and inclusive of the journal lock date %s" +msgid "You are not allowed to execute this action." +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:39 +#, python-format +msgid "You cannot add/modify entries for the journal '%s' prior to and inclusive of the lock date %s" +msgstr "" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:44 +#, python-format +msgid "You cannot add/modify entries for the journal '%s' prior to and inclusive of the lock date %s. Check the Journal settings or ask someone with the 'Adviser' role" msgstr "" diff --git a/account_journal_lock_date/i18n/es.po b/account_journal_lock_date/i18n/es.po index dc2adcb6..6342e1ba 100644 --- a/account_journal_lock_date/i18n/es.po +++ b/account_journal_lock_date/i18n/es.po @@ -8,20 +8,41 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-30 00:47+0000\n" -"PO-Revision-Date: 2017-05-30 00:47+0000\n" +"POT-Creation-Date: 2020-08-20 04:25+0000\n" +"PO-Revision-Date: 2020-08-20 00:52-0400\n" "Last-Translator: OCA Transbot , 2017\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" +"Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 2.0.6\n" #. module: account_journal_lock_date -#: model:ir.model,name:account_journal_lock_date.model_account_move -msgid "Account Entry" -msgstr "Asiento contable" +#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form +msgid "Cancel" +msgstr "Cancelar" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__create_uid +msgid "Created by" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__create_date +msgid "Created on" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__display_name +msgid "Display Name" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__id +msgid "ID" +msgstr "" #. module: account_journal_lock_date #: model:ir.model,name:account_journal_lock_date.model_account_journal @@ -29,21 +50,101 @@ msgid "Journal" msgstr "Diario" #. module: account_journal_lock_date -#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal_journal_lock_date -msgid "Lock date" +#: model:ir.model,name:account_journal_lock_date.model_account_move +msgid "Journal Entries" +msgstr "Asientos Contables" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard____last_update +msgid "Last Modified on" msgstr "" #. module: account_journal_lock_date -#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__write_date +msgid "Last Updated on" +msgstr "" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__fiscalyear_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__fiscalyear_lock_date +msgid "Lock Date" +msgstr "Fecha de bloqueo" + +#. module: account_journal_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_account_journal__period_lock_date +#: model:ir.model.fields,field_description:account_journal_lock_date.field_update_journal_lock_dates_wizard__period_lock_date +msgid "Lock Date for Non-Advisers" +msgstr "Fecha de bloqueo para no asesores" + +#. module: account_journal_lock_date +#: model:ir.model,name:account_journal_lock_date.model_update_journal_lock_dates_wizard +msgid "Mass Update Journal Lock Dates Wizard" +msgstr "Asistente para la actualización masiva de fechas de bloqueo" + +#. module: account_journal_lock_date +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__fiscalyear_lock_date msgid "" -"Moves cannot be entered nor modified in this journal prior to the lock date, " -"unless the user has the Adviser role." +"No users, including Advisers, can edit accounts prior to and inclusive of " +"this date for this journal. Use it for fiscal year locking for this journal, " +"for example." msgstr "" +"Ningún usuario, incluyendo Asesores, pueden editar cuentas antes de y en " +"esta fecha para este diario. Utilícela, por ejemplo, para bloquear un año " +"fiscal para este Diario." #. module: account_journal_lock_date -#: code:addons/account_journal_lock_date/models/account_move.py:23 +#: model:ir.model.fields,help:account_journal_lock_date.field_account_journal__period_lock_date +msgid "" +"Only users with the 'Adviser' role can edit accounts prior to and inclusive " +"of this date for this journal. Use it for period locking inside an open " +"fiscal year for this journal, for example." +msgstr "" +"Sólo los usuarios con el rol 'Asesor' pueden editar cuentas antes de y en " +"esta fecha para este Diario. Utilícelo para bloquear un período dentro de un " +"año fiscal abierto para este diario, por ejemplo." + +#. module: account_journal_lock_date +#: model_terms:ir.ui.view,arch_db:account_journal_lock_date.update_journal_lock_dates_wizard_view_form +msgid "Update" +msgstr "Actualizar" + +#. module: account_journal_lock_date +#: model:ir.actions.act_window,name:account_journal_lock_date.update_journal_lock_dates_wizard_action +msgid "Update journal lock dates" +msgstr "Actualizar fechas de bloqueo" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/wizards/update_journal_lock_dates.py:20 +#, python-format +msgid "You are not allowed to execute this action." +msgstr "No está autorizado a realizar esta acción." + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:39 #, python-format msgid "" -"You cannot add/modify entries prior to and inclusive of the journal lock " -"date %s" +"You cannot add/modify entries for the journal '%s' prior to and inclusive of " +"the lock date %s" msgstr "" +"No puede añadir/modificar asientos para el diario '%s' con anterioridad y " +"hasta la fecha de bloqueo %s" + +#. module: account_journal_lock_date +#: code:addons/account_journal_lock_date/models/account_move.py:44 +#, python-format +msgid "" +"You cannot add/modify entries for the journal '%s' prior to and inclusive of " +"the lock date %s. Check the Journal settings or ask someone with the " +"'Adviser' role" +msgstr "" +"No puede añadir/modificar asientos para el Diario '%s' con anterioridad y " +"hasta la fecha de bloqueo %s. Compruebe la configuración del Diario o " +"pregunte a alguien con el grupo de acceso 'Asesor'" + +#~ msgid "Account Entry" +#~ msgstr "Asiento contable" diff --git a/account_journal_lock_date/models/account_journal.py b/account_journal_lock_date/models/account_journal.py index bd1cc739..958ddf68 100644 --- a/account_journal_lock_date/models/account_journal.py +++ b/account_journal_lock_date/models/account_journal.py @@ -1,22 +1,23 @@ # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import api, fields, models +from odoo import fields, models class AccountJournal(models.Model): _inherit = 'account.journal' - journal_lock_date = fields.Date( - string="Lock date", - help="Moves cannot be entered nor modified in this " - "journal prior to the lock date, unless the user " - "has the Adviser role." + fiscalyear_lock_date = fields.Date( + string="Lock Date", + help="No users, including Advisers, can edit accounts prior " + "to and inclusive of this date for this journal. Use it " + "for fiscal year locking for this journal, for example." + ) + period_lock_date = fields.Date( + string="Lock Date for Non-Advisers", + help="Only users with the 'Adviser' role can edit accounts " + "prior to and inclusive of this date for this journal. " + "Use it for period locking inside an open fiscal year " + "for this journal, for example." ) - - @api.model - def _can_bypass_journal_lock_date(self): - """ This method is meant to be overridden to provide - finer control on who can bypass the lock date """ - return self.env.user.has_group('account.group_account_manager') diff --git a/account_journal_lock_date/models/account_move.py b/account_journal_lock_date/models/account_move.py index 634b9763..ec5c780a 100644 --- a/account_journal_lock_date/models/account_move.py +++ b/account_journal_lock_date/models/account_move.py @@ -1,6 +1,7 @@ # Copyright 2017 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +from datetime import date from odoo import api, models, _ from ..exceptions import JournalLockDateError @@ -23,16 +24,30 @@ class AccountMove(models.Model): self._check_lock_date() return res - @api.multi def _check_lock_date(self): - res = super(AccountMove, self)._check_lock_date() - if self.env['account.journal']._can_bypass_journal_lock_date(): + res = super()._check_lock_date() + if self.env.context.get("bypass_journal_lock_date"): return res for move in self: - lock_date = move.journal_id.journal_lock_date - if lock_date and move.date <= lock_date: - raise JournalLockDateError( - _("You cannot add/modify entries prior to and " - "inclusive of the journal lock date %s") % - (lock_date, )) + if self.user_has_groups('account.group_account_manager'): + lock_date = move.journal_id.fiscalyear_lock_date or date.min + else: + lock_date = max( + move.journal_id.period_lock_date or date.min, + move.journal_id.fiscalyear_lock_date or date.min, + ) + if move.date <= lock_date: + if self.user_has_groups('account.group_account_manager'): + message = _( + "You cannot add/modify entries for the journal '%s' " + "prior to and inclusive of the lock date %s" + ) % (move.journal_id.display_name, lock_date) + else: + message = _( + "You cannot add/modify entries for the journal '%s' " + "prior to and inclusive of the lock date %s. " + "Check the Journal settings or ask someone " + "with the 'Adviser' role" + ) % (move.journal_id.display_name, lock_date) + raise JournalLockDateError(message) return res diff --git a/account_journal_lock_date/readme/CONFIGURE.rst b/account_journal_lock_date/readme/CONFIGURE.rst new file mode 100644 index 00000000..304673ab --- /dev/null +++ b/account_journal_lock_date/readme/CONFIGURE.rst @@ -0,0 +1,8 @@ +To configure this module, you need to: + +#. Go to *Invoicing > Configuration > Journals* +#. Open a Journal and set the 'Lock Date' and the 'Lock Date for Non-Advisers' + in the' Advanced Settings' tab of the form view or select several + Journals in the list view and click on the action menu + 'Update journals lock dates' to update those dates for the selected + journals at the same time. diff --git a/account_journal_lock_date/readme/CONTRIBUTORS.rst b/account_journal_lock_date/readme/CONTRIBUTORS.rst index 21d67b3a..a644f445 100644 --- a/account_journal_lock_date/readme/CONTRIBUTORS.rst +++ b/account_journal_lock_date/readme/CONTRIBUTORS.rst @@ -8,3 +8,4 @@ * `Tecnativa `_: * Pedro M. Baeza + * Ernesto Tejeda diff --git a/account_journal_lock_date/readme/DESCRIPTION.rst b/account_journal_lock_date/readme/DESCRIPTION.rst index aa9ab76f..51cdc34e 100644 --- a/account_journal_lock_date/readme/DESCRIPTION.rst +++ b/account_journal_lock_date/readme/DESCRIPTION.rst @@ -1,12 +1,7 @@ Lock each accounting journal independently. -In addition to the lock dates provided by standard Odoo and -account_permanent_lock_move, provide a per journal lock date. +In addition to the lock dates provided by standard Odoo, this module +provides a 'Lock Date' and a 'Lock Date for Non-Advisers' per journal. -Note: this module depends on account_permanent_lock_move because it -implements stricter checks than standard Odoo, such as verifying that -one cannot create draft moves before the lock date. - -Note: the journal lock date is ignored for users that are part of -the Adviser group. This rule can be adapted by overriding method -`_can_bypass_journal_lock_date` of `account.journal`. +This module also adds a wizard that allows you to update the 'Lock Date' +and the 'Lock Date for Non-Advisers' for several Journals at the same time. diff --git a/account_journal_lock_date/readme/ROADMAP.rst b/account_journal_lock_date/readme/ROADMAP.rst index 6b1f5ba3..e1c0bfa0 100644 --- a/account_journal_lock_date/readme/ROADMAP.rst +++ b/account_journal_lock_date/readme/ROADMAP.rst @@ -1,3 +1,2 @@ -* a wizard to set the lock date on several journals could be nice to have * the module does not check that all moves prior the lock date are posted, this could be - made as part of the wizard \ No newline at end of file + made as part of the wizard diff --git a/account_journal_lock_date/readme/USAGE.rst b/account_journal_lock_date/readme/USAGE.rst new file mode 100644 index 00000000..4e0e74e9 --- /dev/null +++ b/account_journal_lock_date/readme/USAGE.rst @@ -0,0 +1,7 @@ +If the logged-in user has the access group 'Adviser', he/she will +not be able to create a journal entry if the 'Lock Date' of the +journal is greater than or equal to the journal entry. + +If the logged-in user has not the access group 'Adviser', he/she will +not be able to create a journal entry if the 'Lock Date for Non-Advisers' +of the journal is greater than or equal to the journal entry. diff --git a/account_journal_lock_date/static/description/index.html b/account_journal_lock_date/static/description/index.html index edd7d242..d719f421 100644 --- a/account_journal_lock_date/static/description/index.html +++ b/account_journal_lock_date/static/description/index.html @@ -3,7 +3,7 @@ - + Account Journal Lock Date