From 0dcdf80442ed99b771dc3bbe55c69282e398a2ed Mon Sep 17 00:00:00 2001 From: Kelly Lougheed Date: Fri, 3 Mar 2017 09:02:13 -0800 Subject: [PATCH 01/12] [10.0] project_task_pull_request: Adds PR URI to project.task --- project_task_pull_request/README.rst | 67 ++++++++++++++++++ project_task_pull_request/__init__.py | 5 ++ project_task_pull_request/__manifest__.py | 21 ++++++ project_task_pull_request/models/__init__.py | 6 ++ .../models/project_project.py | 18 +++++ .../models/project_task.py | 28 ++++++++ .../static/description/icon.png | Bin 0 -> 9455 bytes project_task_pull_request/tests/__init__.py | 5 ++ .../tests/test_project_task_pull_request.py | 56 +++++++++++++++ .../views/project_task_pull_request_view.xml | 33 +++++++++ 10 files changed, 239 insertions(+) create mode 100644 project_task_pull_request/README.rst create mode 100644 project_task_pull_request/__init__.py create mode 100644 project_task_pull_request/__manifest__.py create mode 100644 project_task_pull_request/models/__init__.py create mode 100644 project_task_pull_request/models/project_project.py create mode 100644 project_task_pull_request/models/project_task.py create mode 100644 project_task_pull_request/static/description/icon.png create mode 100644 project_task_pull_request/tests/__init__.py create mode 100644 project_task_pull_request/tests/test_project_task_pull_request.py create mode 100644 project_task_pull_request/views/project_task_pull_request_view.xml diff --git a/project_task_pull_request/README.rst b/project_task_pull_request/README.rst new file mode 100644 index 0000000000..ebd4e1f7c0 --- /dev/null +++ b/project_task_pull_request/README.rst @@ -0,0 +1,67 @@ +.. 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 + +========================= +Project Task Pull Request +========================= + +This module extends the functionality of project to allow you to +add PR URIs to tasks and require PR URIs before tasks can be moved +to certain stages. + +Usage +===== + +To use this module, you need to: + +#. Go to Project -> Configuration -> Project +#. Select a project and, under "Pull Request URIs", select the stages + where you would like a PR URI to be required +#. Go to Dashboard and select a project +#. Attempt to move one of the project's task without a PR URI into one of + the stages you selected to require a PR; you will receive a Validation Error +#. To add a PR URI to a task, click on the task and go to the "Extra Info" tag + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/140/10.0 + +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 smash it by providing detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Kelly Lougheed + +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/project_task_pull_request/__init__.py b/project_task_pull_request/__init__.py new file mode 100644 index 0000000000..5ce3eb5888 --- /dev/null +++ b/project_task_pull_request/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Specialty Medical Drugstore +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/project_task_pull_request/__manifest__.py b/project_task_pull_request/__manifest__.py new file mode 100644 index 0000000000..ac1257851c --- /dev/null +++ b/project_task_pull_request/__manifest__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Specialty Medical Drugstore +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Project Task Pull Request", + "summary": "Adds a field for a PR URI to project tasks", + "version": "10.0.1.0.0", + "category": "Project Management", + "website": "https://odoo-community.org/", + "author": "SMDrugstore, Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": [ + "project", + "project_stage_state", + ], + "data": [ + "views/project_task_pull_request_view.xml", + ], +} diff --git a/project_task_pull_request/models/__init__.py b/project_task_pull_request/models/__init__.py new file mode 100644 index 0000000000..a9c6e78cd0 --- /dev/null +++ b/project_task_pull_request/models/__init__.py @@ -0,0 +1,6 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Specialty Medical Drugstore +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import project_task +from . import project_project diff --git a/project_task_pull_request/models/project_project.py b/project_task_pull_request/models/project_project.py new file mode 100644 index 0000000000..496f49dfb8 --- /dev/null +++ b/project_task_pull_request/models/project_project.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Specialty Medical Drugstore +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class Project(models.Model): + _inherit = "project.project" + _name = "project.project" + + pr_required_states = fields.Many2many( + 'project.task.type', + 'project_pr_required', + 'project_id', + 'state_id', + 'PR Required States', + ) diff --git a/project_task_pull_request/models/project_task.py b/project_task_pull_request/models/project_task.py new file mode 100644 index 0000000000..eae93eb053 --- /dev/null +++ b/project_task_pull_request/models/project_task.py @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Specialty Medical Drugstore +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import _, api, exceptions, fields, models + + +class ProjectTask(models.Model): + _inherit = "project.task" + _name = "project.task" + + pr_uri = fields.Char( + string='PR URI', + ) + + pr_required_states = fields.Many2many( + related='project_id.pr_required_states', + ) + + @api.constrains('pr_uri', 'stage_id', 'project_id') + def _check_pr_uri_required(self): + for task in self: + stages_pr_req = task.project_id.pr_required_states + is_stage_pr_req = task.stage_id in stages_pr_req + if not task.pr_uri and stages_pr_req and is_stage_pr_req: + raise exceptions.ValidationError(_( + 'Please add the URI for the pull request ' + 'before moving the task to this stage.')) diff --git a/project_task_pull_request/static/description/icon.png b/project_task_pull_request/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/project_task_pull_request/tests/__init__.py b/project_task_pull_request/tests/__init__.py new file mode 100644 index 0000000000..57db9f2b32 --- /dev/null +++ b/project_task_pull_request/tests/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Specialty Medical Drugstore +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import test_project_task_pull_request diff --git a/project_task_pull_request/tests/test_project_task_pull_request.py b/project_task_pull_request/tests/test_project_task_pull_request.py new file mode 100644 index 0000000000..6db1dce4e6 --- /dev/null +++ b/project_task_pull_request/tests/test_project_task_pull_request.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Specialty Medical Drugstore +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests.common import TransactionCase +from odoo.exceptions import ValidationError + + +class TestProjectTaskPullRequest(TransactionCase): + + def setUp(self): + super(TestProjectTaskPullRequest, self).setUp() + self.project_1 = self.env['project.project'].create({ + 'name': 'Test Project', + 'pr_required_states': [(4, 6, 0)], + }) + self.project_2 = self.env['project.project'].create({ + 'name': 'Test Project', + 'pr_required_states': [(4, 6, 0), (4, 5, 0)], + }) + self.task_1 = self.env['project.task'].create({ + 'name': 'Test Task', + 'project_id': self.project_1.id, + 'pr_uri': False, + 'stage_id': 1, + }) + self.task_2 = self.env['project.task'].create({ + 'name': 'Test Task', + 'project_id': self.project_2.id, + 'pr_uri': False, + 'stage_id': 1, + }) + self.task_3 = self.env['project.task'].create({ + 'name': 'Test Task', + 'project_id': self.project_2.id, + 'pr_uri': 'github.com', + 'stage_id': 1, + }) + + def test_write_allowed_when_allowed(self): + self.task_1.write({'stage_id': 3, }) + self.task_1.refresh() + self.assertEquals(3, self.task_1.stage_id.id) + + def test_write_not_allowed_without_pr(self): + with self.assertRaises(ValidationError): + self.task_1.write({'stage_id': 6, }) + + def test_write_not_allowed_without_pr_multiple_stages(self): + with self.assertRaises(ValidationError): + self.task_2.write({'stage_id': 6, }) + + def test_write_allowed_with_pr(self): + self.task_3.write({'stage_id': 6, }) + self.task_3.refresh() + self.assertEquals(6, self.task_3.stage_id.id) diff --git a/project_task_pull_request/views/project_task_pull_request_view.xml b/project_task_pull_request/views/project_task_pull_request_view.xml new file mode 100644 index 0000000000..669f4b6e15 --- /dev/null +++ b/project_task_pull_request/views/project_task_pull_request_view.xml @@ -0,0 +1,33 @@ + + + + + + + project.task.form.pr + project.task + + + + + + + + + + + project.project.form + project.project + + + + + + + + + + + From b4897f9a6ac19f6590223de5104edb957fa52eb5 Mon Sep 17 00:00:00 2001 From: Michell Stuttgart Date: Fri, 8 Sep 2017 15:58:37 -0300 Subject: [PATCH 02/12] [IMP] Add widget='url' to PR field --- project_task_pull_request/i18n/ar.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/ca.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/de.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/el.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/es.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/es_CR.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/es_MX.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/es_VE.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/fi.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/fr.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/gl.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/hr.po | 54 ++++++++++++++++++ project_task_pull_request/i18n/hr_HR.po | 54 ++++++++++++++++++ project_task_pull_request/i18n/hu.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/it.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/ja.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/lt.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/lv.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/mk.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/mn.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/nl.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/nl_NL.po | 55 +++++++++++++++++++ project_task_pull_request/i18n/pl.po | 54 ++++++++++++++++++ .../i18n/project_task_pull_request.pot | 47 ++++++++++++++++ project_task_pull_request/i18n/pt.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/pt_BR.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/pt_PT.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/ro.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/sl.po | 54 ++++++++++++++++++ project_task_pull_request/i18n/sv.po | 52 ++++++++++++++++++ project_task_pull_request/i18n/tr.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/uk.po | 53 ++++++++++++++++++ project_task_pull_request/i18n/zh_CN.po | 53 ++++++++++++++++++ .../views/project_task_pull_request_view.xml | 1 + 34 files changed, 1736 insertions(+) create mode 100644 project_task_pull_request/i18n/ar.po create mode 100644 project_task_pull_request/i18n/ca.po create mode 100644 project_task_pull_request/i18n/de.po create mode 100644 project_task_pull_request/i18n/el.po create mode 100644 project_task_pull_request/i18n/es.po create mode 100644 project_task_pull_request/i18n/es_CR.po create mode 100644 project_task_pull_request/i18n/es_MX.po create mode 100644 project_task_pull_request/i18n/es_VE.po create mode 100644 project_task_pull_request/i18n/fi.po create mode 100644 project_task_pull_request/i18n/fr.po create mode 100644 project_task_pull_request/i18n/gl.po create mode 100644 project_task_pull_request/i18n/hr.po create mode 100644 project_task_pull_request/i18n/hr_HR.po create mode 100644 project_task_pull_request/i18n/hu.po create mode 100644 project_task_pull_request/i18n/it.po create mode 100644 project_task_pull_request/i18n/ja.po create mode 100644 project_task_pull_request/i18n/lt.po create mode 100644 project_task_pull_request/i18n/lv.po create mode 100644 project_task_pull_request/i18n/mk.po create mode 100644 project_task_pull_request/i18n/mn.po create mode 100644 project_task_pull_request/i18n/nl.po create mode 100644 project_task_pull_request/i18n/nl_NL.po create mode 100644 project_task_pull_request/i18n/pl.po create mode 100644 project_task_pull_request/i18n/project_task_pull_request.pot create mode 100644 project_task_pull_request/i18n/pt.po create mode 100644 project_task_pull_request/i18n/pt_BR.po create mode 100644 project_task_pull_request/i18n/pt_PT.po create mode 100644 project_task_pull_request/i18n/ro.po create mode 100644 project_task_pull_request/i18n/sl.po create mode 100644 project_task_pull_request/i18n/sv.po create mode 100644 project_task_pull_request/i18n/tr.po create mode 100644 project_task_pull_request/i18n/uk.po create mode 100644 project_task_pull_request/i18n/zh_CN.po diff --git a/project_task_pull_request/i18n/ar.po b/project_task_pull_request/i18n/ar.po new file mode 100644 index 0000000000..290e0ea76b --- /dev/null +++ b/project_task_pull_request/i18n/ar.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"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: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "مهمة" diff --git a/project_task_pull_request/i18n/ca.po b/project_task_pull_request/i18n/ca.po new file mode 100644 index 0000000000..1957155d19 --- /dev/null +++ b/project_task_pull_request/i18n/ca.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tasca" diff --git a/project_task_pull_request/i18n/de.po b/project_task_pull_request/i18n/de.po new file mode 100644 index 0000000000..4590ad2522 --- /dev/null +++ b/project_task_pull_request/i18n/de.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projekt" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Aufgabe" diff --git a/project_task_pull_request/i18n/el.po b/project_task_pull_request/i18n/el.po new file mode 100644 index 0000000000..dfac4eeade --- /dev/null +++ b/project_task_pull_request/i18n/el.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Greek (https://www.transifex.com/oca/teams/23907/el/)\n" +"Language: el\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Εργασία" diff --git a/project_task_pull_request/i18n/es.po b/project_task_pull_request/i18n/es.po new file mode 100644 index 0000000000..95784e27d9 --- /dev/null +++ b/project_task_pull_request/i18n/es.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Proyecto" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tarea" diff --git a/project_task_pull_request/i18n/es_CR.po b/project_task_pull_request/i18n/es_CR.po new file mode 100644 index 0000000000..7f942309c5 --- /dev/null +++ b/project_task_pull_request/i18n/es_CR.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tarea" diff --git a/project_task_pull_request/i18n/es_MX.po b/project_task_pull_request/i18n/es_MX.po new file mode 100644 index 0000000000..9f519029b7 --- /dev/null +++ b/project_task_pull_request/i18n/es_MX.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-07-01 03:31+0000\n" +"PO-Revision-Date: 2017-07-01 03:31+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Proyecto" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tarea" diff --git a/project_task_pull_request/i18n/es_VE.po b/project_task_pull_request/i18n/es_VE.po new file mode 100644 index 0000000000..0d616b9295 --- /dev/null +++ b/project_task_pull_request/i18n/es_VE.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tarea" diff --git a/project_task_pull_request/i18n/fi.po b/project_task_pull_request/i18n/fi.po new file mode 100644 index 0000000000..1b39fa800e --- /dev/null +++ b/project_task_pull_request/i18n/fi.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" +"Language: fi\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projekti" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tehtävä" diff --git a/project_task_pull_request/i18n/fr.po b/project_task_pull_request/i18n/fr.po new file mode 100644 index 0000000000..52ff53d80c --- /dev/null +++ b/project_task_pull_request/i18n/fr.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projet" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tâche" diff --git a/project_task_pull_request/i18n/gl.po b/project_task_pull_request/i18n/gl.po new file mode 100644 index 0000000000..9ad836c47c --- /dev/null +++ b/project_task_pull_request/i18n/gl.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tarefa" diff --git a/project_task_pull_request/i18n/hr.po b/project_task_pull_request/i18n/hr.po new file mode 100644 index 0000000000..b0f6fa982c --- /dev/null +++ b/project_task_pull_request/i18n/hr.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +# Bole , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-02 01:51+0000\n" +"PO-Revision-Date: 2018-02-02 01:51+0000\n" +"Last-Translator: Bole , 2018\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" +"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: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "PR zahtijevana stanja" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "PR URI" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "Molimo dodajte URL zahtijevu prije prebacivanja zadatka u ovu fazu" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projekt" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "Pull zahtjev URL" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Zadatak" diff --git a/project_task_pull_request/i18n/hr_HR.po b/project_task_pull_request/i18n/hr_HR.po new file mode 100644 index 0000000000..959e806cf1 --- /dev/null +++ b/project_task_pull_request/i18n/hr_HR.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"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: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Zadatak" diff --git a/project_task_pull_request/i18n/hu.po b/project_task_pull_request/i18n/hu.po new file mode 100644 index 0000000000..331676c041 --- /dev/null +++ b/project_task_pull_request/i18n/hu.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Feladat" diff --git a/project_task_pull_request/i18n/it.po b/project_task_pull_request/i18n/it.po new file mode 100644 index 0000000000..754cdb9f8f --- /dev/null +++ b/project_task_pull_request/i18n/it.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Attività" diff --git a/project_task_pull_request/i18n/ja.po b/project_task_pull_request/i18n/ja.po new file mode 100644 index 0000000000..715348297d --- /dev/null +++ b/project_task_pull_request/i18n/ja.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "タスク" diff --git a/project_task_pull_request/i18n/lt.po b/project_task_pull_request/i18n/lt.po new file mode 100644 index 0000000000..34bcc1f6d5 --- /dev/null +++ b/project_task_pull_request/i18n/lt.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"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: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Užduotis" diff --git a/project_task_pull_request/i18n/lv.po b/project_task_pull_request/i18n/lv.po new file mode 100644 index 0000000000..5473bd5c2d --- /dev/null +++ b/project_task_pull_request/i18n/lv.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Latvian (https://www.transifex.com/oca/teams/23907/lv/)\n" +"Language: lv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : " +"2);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Uzdevums" diff --git a/project_task_pull_request/i18n/mk.po b/project_task_pull_request/i18n/mk.po new file mode 100644 index 0000000000..ebdfcc76f0 --- /dev/null +++ b/project_task_pull_request/i18n/mk.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Задача" diff --git a/project_task_pull_request/i18n/mn.po b/project_task_pull_request/i18n/mn.po new file mode 100644 index 0000000000..21f4f8b408 --- /dev/null +++ b/project_task_pull_request/i18n/mn.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Даалгавар" diff --git a/project_task_pull_request/i18n/nl.po b/project_task_pull_request/i18n/nl.po new file mode 100644 index 0000000000..8b81053f2a --- /dev/null +++ b/project_task_pull_request/i18n/nl.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# Erwin van der Ploeg , 2017 +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Project" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Taak" diff --git a/project_task_pull_request/i18n/nl_NL.po b/project_task_pull_request/i18n/nl_NL.po new file mode 100644 index 0000000000..91ba50ff99 --- /dev/null +++ b/project_task_pull_request/i18n/nl_NL.po @@ -0,0 +1,55 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# Peter Hageman , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-06-17 05:53+0000\n" +"PO-Revision-Date: 2017-06-17 05:53+0000\n" +"Last-Translator: Peter Hageman , 2017\n" +"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" +"teams/23907/nl_NL/)\n" +"Language: nl_NL\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "PR Verplichte Fases" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "PR URI" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" +"Voeg de URI toe voor de 'pull request' voor de taak naar deze fase te " +"verplaatsen." + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Project" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "'Pull Request' URI's" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Taak" diff --git a/project_task_pull_request/i18n/pl.po b/project_task_pull_request/i18n/pl.po new file mode 100644 index 0000000000..a933da5c3d --- /dev/null +++ b/project_task_pull_request/i18n/pl.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"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: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Zadanie" diff --git a/project_task_pull_request/i18n/project_task_pull_request.pot b/project_task_pull_request/i18n/project_task_pull_request.pot new file mode 100644 index 0000000000..eb9d80c89d --- /dev/null +++ b/project_task_pull_request/i18n/project_task_pull_request.pot @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +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: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + diff --git a/project_task_pull_request/i18n/pt.po b/project_task_pull_request/i18n/pt.po new file mode 100644 index 0000000000..dc0ec6347a --- /dev/null +++ b/project_task_pull_request/i18n/pt.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projeto" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tarefa" diff --git a/project_task_pull_request/i18n/pt_BR.po b/project_task_pull_request/i18n/pt_BR.po new file mode 100644 index 0000000000..be0ddf82af --- /dev/null +++ b/project_task_pull_request/i18n/pt_BR.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projeto" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tarefa" diff --git a/project_task_pull_request/i18n/pt_PT.po b/project_task_pull_request/i18n/pt_PT.po new file mode 100644 index 0000000000..c839e45e68 --- /dev/null +++ b/project_task_pull_request/i18n/pt_PT.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projeto" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Tarefa" diff --git a/project_task_pull_request/i18n/ro.po b/project_task_pull_request/i18n/ro.po new file mode 100644 index 0000000000..92d8b1dae3 --- /dev/null +++ b/project_task_pull_request/i18n/ro.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?" +"2:1));\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Sarcina" diff --git a/project_task_pull_request/i18n/sl.po b/project_task_pull_request/i18n/sl.po new file mode 100644 index 0000000000..ed24e96981 --- /dev/null +++ b/project_task_pull_request/i18n/sl.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +# Matjaž Mozetič , 2018 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-02-02 01:51+0000\n" +"PO-Revision-Date: 2018-02-02 01:51+0000\n" +"Last-Translator: Matjaž Mozetič , 2018\n" +"Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" +"Language: sl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n" +"%100==4 ? 2 : 3);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "PR zahtevana stanja" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "PR URI" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "Dodajte URI za PR pred premikom opravila v to stopnjo." + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projekt" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "Pull Request URIs" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Opravilo" diff --git a/project_task_pull_request/i18n/sv.po b/project_task_pull_request/i18n/sv.po new file mode 100644 index 0000000000..264bc08d26 --- /dev/null +++ b/project_task_pull_request/i18n/sv.po @@ -0,0 +1,52 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Uppgift" diff --git a/project_task_pull_request/i18n/tr.po b/project_task_pull_request/i18n/tr.po new file mode 100644 index 0000000000..ecc02d20ce --- /dev/null +++ b/project_task_pull_request/i18n/tr.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# Ivan BARAYEV , 2017 +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+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" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Proje" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Görev" diff --git a/project_task_pull_request/i18n/uk.po b/project_task_pull_request/i18n/uk.po new file mode 100644 index 0000000000..2ae8fc3fff --- /dev/null +++ b/project_task_pull_request/i18n/uk.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-23 02:44+0000\n" +"PO-Revision-Date: 2017-05-23 02:44+0000\n" +"Last-Translator: OCA Transbot , 2017\n" +"Language-Team: Ukrainian (https://www.transifex.com/oca/teams/23907/uk/)\n" +"Language: uk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \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: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "Завдання" diff --git a/project_task_pull_request/i18n/zh_CN.po b/project_task_pull_request/i18n/zh_CN.po new file mode 100644 index 0000000000..67fcbc744e --- /dev/null +++ b/project_task_pull_request/i18n/zh_CN.po @@ -0,0 +1,53 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_task_pull_request +# +# Translators: +# OCA Transbot , 2017 +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 10.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-04-28 08:33+0000\n" +"PO-Revision-Date: 2017-04-28 08:33+0000\n" +"Last-Translator: OCA Transbot , 2017\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" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +msgid "PR Required States" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +msgid "PR URI" +msgstr "" + +#. module: project_task_pull_request +#: code:addons/project_task_pull_request/models/project_task.py:26 +#, python-format +msgid "" +"Please add the URI for the pull request before moving the task to this stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "项目" + +#. module: project_task_pull_request +#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +msgid "Pull Request URIs" +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_task +msgid "Task" +msgstr "任务" diff --git a/project_task_pull_request/views/project_task_pull_request_view.xml b/project_task_pull_request/views/project_task_pull_request_view.xml index 669f4b6e15..1360a7d6a7 100644 --- a/project_task_pull_request/views/project_task_pull_request_view.xml +++ b/project_task_pull_request/views/project_task_pull_request_view.xml @@ -12,6 +12,7 @@ From add6b38f11ec10c13eacd09e066c247e84c9c816 Mon Sep 17 00:00:00 2001 From: Michell Stuttgart Date: Mon, 30 Jul 2018 15:12:16 -0300 Subject: [PATCH 03/12] [MIG] project_task_pull_request Migration to 11.0 --- project_task_pull_request/README.rst | 2 +- project_task_pull_request/__init__.py | 1 - project_task_pull_request/__manifest__.py | 3 +-- .../i18n/project_task_pull_request.pot | 12 ++++++------ project_task_pull_request/models/__init__.py | 1 - project_task_pull_request/models/project_project.py | 1 - project_task_pull_request/models/project_task.py | 1 - project_task_pull_request/tests/__init__.py | 1 - .../tests/test_project_task_pull_request.py | 5 ++++- 9 files changed, 12 insertions(+), 15 deletions(-) diff --git a/project_task_pull_request/README.rst b/project_task_pull_request/README.rst index ebd4e1f7c0..40739f1a63 100644 --- a/project_task_pull_request/README.rst +++ b/project_task_pull_request/README.rst @@ -25,7 +25,7 @@ To use this module, you need to: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/140/10.0 + :target: https://runbot.odoo-community.org/runbot/140/11.0 Known issues / Roadmap ====================== diff --git a/project_task_pull_request/__init__.py b/project_task_pull_request/__init__.py index 5ce3eb5888..e1487c2648 100644 --- a/project_task_pull_request/__init__.py +++ b/project_task_pull_request/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/project_task_pull_request/__manifest__.py b/project_task_pull_request/__manifest__.py index ac1257851c..9028b237f4 100644 --- a/project_task_pull_request/__manifest__.py +++ b/project_task_pull_request/__manifest__.py @@ -1,10 +1,9 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Project Task Pull Request", "summary": "Adds a field for a PR URI to project tasks", - "version": "10.0.1.0.0", + "version": "11.0.1.0.0", "category": "Project Management", "website": "https://odoo-community.org/", "author": "SMDrugstore, Odoo Community Association (OCA)", diff --git a/project_task_pull_request/i18n/project_task_pull_request.pot b/project_task_pull_request/i18n/project_task_pull_request.pot index eb9d80c89d..0900096fb9 100644 --- a/project_task_pull_request/i18n/project_task_pull_request.pot +++ b/project_task_pull_request/i18n/project_task_pull_request.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 10.0\n" +"Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -30,6 +30,11 @@ msgstr "" msgid "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -40,8 +45,3 @@ msgstr "" msgid "Task" msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - diff --git a/project_task_pull_request/models/__init__.py b/project_task_pull_request/models/__init__.py index a9c6e78cd0..5d5333c102 100644 --- a/project_task_pull_request/models/__init__.py +++ b/project_task_pull_request/models/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/project_task_pull_request/models/project_project.py b/project_task_pull_request/models/project_project.py index 496f49dfb8..78d0e3cb95 100644 --- a/project_task_pull_request/models/project_project.py +++ b/project_task_pull_request/models/project_project.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/project_task_pull_request/models/project_task.py b/project_task_pull_request/models/project_task.py index eae93eb053..52ede0f322 100644 --- a/project_task_pull_request/models/project_task.py +++ b/project_task_pull_request/models/project_task.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/project_task_pull_request/tests/__init__.py b/project_task_pull_request/tests/__init__.py index 57db9f2b32..f4fdb7883d 100644 --- a/project_task_pull_request/tests/__init__.py +++ b/project_task_pull_request/tests/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/project_task_pull_request/tests/test_project_task_pull_request.py b/project_task_pull_request/tests/test_project_task_pull_request.py index 6db1dce4e6..8f9e22c615 100644 --- a/project_task_pull_request/tests/test_project_task_pull_request.py +++ b/project_task_pull_request/tests/test_project_task_pull_request.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). @@ -7,16 +6,20 @@ class TestProjectTaskPullRequest(TransactionCase): + post_install = True + at_install = False def setUp(self): super(TestProjectTaskPullRequest, self).setUp() self.project_1 = self.env['project.project'].create({ 'name': 'Test Project', 'pr_required_states': [(4, 6, 0)], + 'key': 'ABC', }) self.project_2 = self.env['project.project'].create({ 'name': 'Test Project', 'pr_required_states': [(4, 6, 0), (4, 5, 0)], + 'key': 'DEF', }) self.task_1 = self.env['project.task'].create({ 'name': 'Test Task', From 1cbddbcc107a87ed64fb73fd42f0281e6cf3e786 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Tue, 11 Sep 2018 13:36:52 +0200 Subject: [PATCH 04/12] [FIX] project_task_pull_request: Avoid side effect with related + unneded dependency --- project_task_pull_request/__manifest__.py | 1 - project_task_pull_request/models/project_task.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/project_task_pull_request/__manifest__.py b/project_task_pull_request/__manifest__.py index 9028b237f4..5accaf2124 100644 --- a/project_task_pull_request/__manifest__.py +++ b/project_task_pull_request/__manifest__.py @@ -12,7 +12,6 @@ "installable": True, "depends": [ "project", - "project_stage_state", ], "data": [ "views/project_task_pull_request_view.xml", diff --git a/project_task_pull_request/models/project_task.py b/project_task_pull_request/models/project_task.py index 52ede0f322..51d66fd9fb 100644 --- a/project_task_pull_request/models/project_task.py +++ b/project_task_pull_request/models/project_task.py @@ -14,6 +14,7 @@ class ProjectTask(models.Model): pr_required_states = fields.Many2many( related='project_id.pr_required_states', + readonly=True, ) @api.constrains('pr_uri', 'stage_id', 'project_id') From e45b323c24b0e9512595e6a1e331370fdde45b5b Mon Sep 17 00:00:00 2001 From: ernesto Date: Mon, 12 Nov 2018 01:52:43 -0500 Subject: [PATCH 05/12] [MIG] project_task_pull_request: Migration to 12.0 --- project_task_pull_request/README.rst | 73 ++- project_task_pull_request/__init__.py | 1 - project_task_pull_request/__manifest__.py | 9 +- project_task_pull_request/i18n/ar.po | 8 +- project_task_pull_request/i18n/ca.po | 8 +- project_task_pull_request/i18n/de.po | 23 +- project_task_pull_request/i18n/el.po | 8 +- project_task_pull_request/i18n/es.po | 23 +- project_task_pull_request/i18n/es_CR.po | 8 +- project_task_pull_request/i18n/es_MX.po | 8 +- project_task_pull_request/i18n/es_VE.po | 8 +- project_task_pull_request/i18n/fi.po | 8 +- project_task_pull_request/i18n/fr.po | 8 +- project_task_pull_request/i18n/gl.po | 8 +- project_task_pull_request/i18n/hr.po | 8 +- project_task_pull_request/i18n/hr_HR.po | 8 +- project_task_pull_request/i18n/hu.po | 8 +- project_task_pull_request/i18n/it.po | 8 +- project_task_pull_request/i18n/ja.po | 8 +- project_task_pull_request/i18n/lt.po | 8 +- project_task_pull_request/i18n/lv.po | 8 +- project_task_pull_request/i18n/mk.po | 8 +- project_task_pull_request/i18n/mn.po | 8 +- project_task_pull_request/i18n/nl.po | 8 +- project_task_pull_request/i18n/nl_NL.po | 8 +- project_task_pull_request/i18n/pl.po | 8 +- .../i18n/project_task_pull_request.pot | 10 +- project_task_pull_request/i18n/pt.po | 8 +- project_task_pull_request/i18n/pt_BR.po | 8 +- project_task_pull_request/i18n/pt_PT.po | 8 +- project_task_pull_request/i18n/ro.po | 8 +- project_task_pull_request/i18n/sl.po | 8 +- project_task_pull_request/i18n/sv.po | 8 +- project_task_pull_request/i18n/tr.po | 8 +- project_task_pull_request/i18n/uk.po | 8 +- project_task_pull_request/i18n/zh_CN.po | 8 +- project_task_pull_request/models/__init__.py | 1 - .../readme/CONTRIBUTORS.rst | 4 + .../readme/DESCRIPTION.rst | 3 + project_task_pull_request/readme/USAGE.rst | 9 + .../static/description/index.html | 440 ++++++++++++++++++ project_task_pull_request/tests/__init__.py | 1 - .../tests/test_project_task_pull_request.py | 27 +- .../views/project_task_pull_request_view.xml | 4 +- 44 files changed, 679 insertions(+), 189 deletions(-) create mode 100644 project_task_pull_request/readme/CONTRIBUTORS.rst create mode 100644 project_task_pull_request/readme/DESCRIPTION.rst create mode 100644 project_task_pull_request/readme/USAGE.rst create mode 100644 project_task_pull_request/static/description/index.html diff --git a/project_task_pull_request/README.rst b/project_task_pull_request/README.rst index 40739f1a63..8bb4e254ff 100644 --- a/project_task_pull_request/README.rst +++ b/project_task_pull_request/README.rst @@ -1,15 +1,39 @@ -.. 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 - ========================= Project Task Pull Request ========================= +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fproject-lightgray.png?logo=github + :target: https://github.com/OCA/project/tree/12.0/project_task_pull_request + :alt: OCA/project +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/project-12-0/project-12-0-project_task_pull_request + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/140/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module extends the functionality of project to allow you to add PR URIs to tasks and require PR URIs before tasks can be moved to certain stages. +**Table of contents** + +.. contents:: + :local: + Usage ===== @@ -23,45 +47,46 @@ To use this module, you need to: the stages you selected to require a PR; you will receive a Validation Error #. To add a PR URI to a task, click on the task and go to the "Extra Info" tag -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/140/11.0 - -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 smash it by providing 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 `_. +* SMDrugstore +* Tecnativa Contributors ------------- +~~~~~~~~~~~~ * Kelly Lougheed +* `Tecnativa `_: -Maintainer ----------- + * Ernesto Tejeda + +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/project `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/project_task_pull_request/__init__.py b/project_task_pull_request/__init__.py index e1487c2648..69f7babdfb 100644 --- a/project_task_pull_request/__init__.py +++ b/project_task_pull_request/__init__.py @@ -1,4 +1,3 @@ -# Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import models diff --git a/project_task_pull_request/__manifest__.py b/project_task_pull_request/__manifest__.py index 5accaf2124..5a111885bf 100644 --- a/project_task_pull_request/__manifest__.py +++ b/project_task_pull_request/__manifest__.py @@ -1,12 +1,15 @@ # Copyright 2017 Specialty Medical Drugstore +# Copyright 2018 Tecnativa - Ernesto Tejeda # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Project Task Pull Request", "summary": "Adds a field for a PR URI to project tasks", - "version": "11.0.1.0.0", + "version": "12.0.1.0.0", "category": "Project Management", - "website": "https://odoo-community.org/", - "author": "SMDrugstore, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/project", + "author": "SMDrugstore, " + "Tecnativa, " + "Odoo Community Association (OCA)", "license": "AGPL-3", "application": False, "installable": True, diff --git a/project_task_pull_request/i18n/ar.po b/project_task_pull_request/i18n/ar.po index 290e0ea76b..4e154b639d 100644 --- a/project_task_pull_request/i18n/ar.po +++ b/project_task_pull_request/i18n/ar.po @@ -20,13 +20,13 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/ca.po b/project_task_pull_request/i18n/ca.po index 1957155d19..ff187c366f 100644 --- a/project_task_pull_request/i18n/ca.po +++ b/project_task_pull_request/i18n/ca.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/de.po b/project_task_pull_request/i18n/de.po index 4590ad2522..a0e1784570 100644 --- a/project_task_pull_request/i18n/de.po +++ b/project_task_pull_request/i18n/de.po @@ -9,25 +9,26 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-04-28 08:33+0000\n" -"PO-Revision-Date: 2017-04-28 08:33+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2019-07-12 15:43+0000\n" +"Last-Translator: Maria Sparenberg \n" "Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.7.1\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" -msgstr "" +msgstr "PR erforderliche Status" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" -msgstr "" +msgstr "PR URI" #. module: project_task_pull_request #: code:addons/project_task_pull_request/models/project_task.py:26 @@ -35,6 +36,8 @@ msgstr "" msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +"Bitte fügen Sie die URI des Pull Request's hinzu, bevor Sie eine Aufgabe in " +"diese Stufe verschieben." #. module: project_task_pull_request #: model:ir.model,name:project_task_pull_request.model_project_project @@ -42,9 +45,9 @@ msgid "Project" msgstr "Projekt" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" -msgstr "" +msgstr "Pull Request URIs" #. module: project_task_pull_request #: model:ir.model,name:project_task_pull_request.model_project_task diff --git a/project_task_pull_request/i18n/el.po b/project_task_pull_request/i18n/el.po index dfac4eeade..51511c4bff 100644 --- a/project_task_pull_request/i18n/el.po +++ b/project_task_pull_request/i18n/el.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/es.po b/project_task_pull_request/i18n/es.po index 95784e27d9..f1a79ffa7b 100644 --- a/project_task_pull_request/i18n/es.po +++ b/project_task_pull_request/i18n/es.po @@ -9,25 +9,26 @@ msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2017-04-28 08:33+0000\n" -"PO-Revision-Date: 2017-04-28 08:33+0000\n" -"Last-Translator: OCA Transbot , 2017\n" +"PO-Revision-Date: 2019-02-11 12:50+0000\n" +"Last-Translator: Marta Vázquez Rodríguez \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" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 3.4\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" -msgstr "" +msgstr "PR Estado Requeridos" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" -msgstr "" +msgstr "URI PR" #. module: project_task_pull_request #: code:addons/project_task_pull_request/models/project_task.py:26 @@ -35,6 +36,8 @@ msgstr "" msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +"Por favor agregar el URI del pull request antes de pasar la tarea a esta " +"etapa." #. module: project_task_pull_request #: model:ir.model,name:project_task_pull_request.model_project_project @@ -42,9 +45,9 @@ msgid "Project" msgstr "Proyecto" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" -msgstr "" +msgstr "URIs del Pull Request" #. module: project_task_pull_request #: model:ir.model,name:project_task_pull_request.model_project_task diff --git a/project_task_pull_request/i18n/es_CR.po b/project_task_pull_request/i18n/es_CR.po index 7f942309c5..9d990c6802 100644 --- a/project_task_pull_request/i18n/es_CR.po +++ b/project_task_pull_request/i18n/es_CR.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/es_MX.po b/project_task_pull_request/i18n/es_MX.po index 9f519029b7..755b406ea0 100644 --- a/project_task_pull_request/i18n/es_MX.po +++ b/project_task_pull_request/i18n/es_MX.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "Proyecto" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/es_VE.po b/project_task_pull_request/i18n/es_VE.po index 0d616b9295..373360549f 100644 --- a/project_task_pull_request/i18n/es_VE.po +++ b/project_task_pull_request/i18n/es_VE.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/fi.po b/project_task_pull_request/i18n/fi.po index 1b39fa800e..8e78d84c7a 100644 --- a/project_task_pull_request/i18n/fi.po +++ b/project_task_pull_request/i18n/fi.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "Projekti" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/fr.po b/project_task_pull_request/i18n/fr.po index 52ff53d80c..9338be64a6 100644 --- a/project_task_pull_request/i18n/fr.po +++ b/project_task_pull_request/i18n/fr.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "Projet" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/gl.po b/project_task_pull_request/i18n/gl.po index 9ad836c47c..1cbbfb6908 100644 --- a/project_task_pull_request/i18n/gl.po +++ b/project_task_pull_request/i18n/gl.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/hr.po b/project_task_pull_request/i18n/hr.po index b0f6fa982c..114490c43b 100644 --- a/project_task_pull_request/i18n/hr.po +++ b/project_task_pull_request/i18n/hr.po @@ -21,13 +21,13 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "PR zahtijevana stanja" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "PR URI" @@ -44,7 +44,7 @@ msgid "Project" msgstr "Projekt" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "Pull zahtjev URL" diff --git a/project_task_pull_request/i18n/hr_HR.po b/project_task_pull_request/i18n/hr_HR.po index 959e806cf1..8d7a932b73 100644 --- a/project_task_pull_request/i18n/hr_HR.po +++ b/project_task_pull_request/i18n/hr_HR.po @@ -21,13 +21,13 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -44,7 +44,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/hu.po b/project_task_pull_request/i18n/hu.po index 331676c041..311374334b 100644 --- a/project_task_pull_request/i18n/hu.po +++ b/project_task_pull_request/i18n/hu.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/it.po b/project_task_pull_request/i18n/it.po index 754cdb9f8f..5bb407ac9d 100644 --- a/project_task_pull_request/i18n/it.po +++ b/project_task_pull_request/i18n/it.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/ja.po b/project_task_pull_request/i18n/ja.po index 715348297d..8100c76716 100644 --- a/project_task_pull_request/i18n/ja.po +++ b/project_task_pull_request/i18n/ja.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/lt.po b/project_task_pull_request/i18n/lt.po index 34bcc1f6d5..67f9065f10 100644 --- a/project_task_pull_request/i18n/lt.po +++ b/project_task_pull_request/i18n/lt.po @@ -20,13 +20,13 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/lv.po b/project_task_pull_request/i18n/lv.po index 5473bd5c2d..1199464aa3 100644 --- a/project_task_pull_request/i18n/lv.po +++ b/project_task_pull_request/i18n/lv.po @@ -20,13 +20,13 @@ msgstr "" "2);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/mk.po b/project_task_pull_request/i18n/mk.po index ebdfcc76f0..ad0fc6d073 100644 --- a/project_task_pull_request/i18n/mk.po +++ b/project_task_pull_request/i18n/mk.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/mn.po b/project_task_pull_request/i18n/mn.po index 21f4f8b408..40586abf05 100644 --- a/project_task_pull_request/i18n/mn.po +++ b/project_task_pull_request/i18n/mn.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/nl.po b/project_task_pull_request/i18n/nl.po index 8b81053f2a..b10eb41fb5 100644 --- a/project_task_pull_request/i18n/nl.po +++ b/project_task_pull_request/i18n/nl.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "Project" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/nl_NL.po b/project_task_pull_request/i18n/nl_NL.po index 91ba50ff99..7d63b563a2 100644 --- a/project_task_pull_request/i18n/nl_NL.po +++ b/project_task_pull_request/i18n/nl_NL.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "PR Verplichte Fases" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "PR URI" @@ -45,7 +45,7 @@ msgid "Project" msgstr "Project" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "'Pull Request' URI's" diff --git a/project_task_pull_request/i18n/pl.po b/project_task_pull_request/i18n/pl.po index a933da5c3d..10874dbcce 100644 --- a/project_task_pull_request/i18n/pl.po +++ b/project_task_pull_request/i18n/pl.po @@ -21,13 +21,13 @@ msgstr "" "%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -44,7 +44,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/project_task_pull_request.pot b/project_task_pull_request/i18n/project_task_pull_request.pot index 0900096fb9..c287af7714 100644 --- a/project_task_pull_request/i18n/project_task_pull_request.pot +++ b/project_task_pull_request/i18n/project_task_pull_request.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" @@ -14,13 +14,13 @@ msgstr "" "Plural-Forms: \n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -36,7 +36,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/pt.po b/project_task_pull_request/i18n/pt.po index dc0ec6347a..94bf33ecfe 100644 --- a/project_task_pull_request/i18n/pt.po +++ b/project_task_pull_request/i18n/pt.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "Projeto" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/pt_BR.po b/project_task_pull_request/i18n/pt_BR.po index be0ddf82af..66db1f512d 100644 --- a/project_task_pull_request/i18n/pt_BR.po +++ b/project_task_pull_request/i18n/pt_BR.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "Projeto" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/pt_PT.po b/project_task_pull_request/i18n/pt_PT.po index c839e45e68..c48b905f47 100644 --- a/project_task_pull_request/i18n/pt_PT.po +++ b/project_task_pull_request/i18n/pt_PT.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "Projeto" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/ro.po b/project_task_pull_request/i18n/ro.po index 92d8b1dae3..b6d35311b5 100644 --- a/project_task_pull_request/i18n/ro.po +++ b/project_task_pull_request/i18n/ro.po @@ -20,13 +20,13 @@ msgstr "" "2:1));\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/sl.po b/project_task_pull_request/i18n/sl.po index ed24e96981..e2ec4adfd3 100644 --- a/project_task_pull_request/i18n/sl.po +++ b/project_task_pull_request/i18n/sl.po @@ -21,13 +21,13 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "PR zahtevana stanja" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "PR URI" @@ -44,7 +44,7 @@ msgid "Project" msgstr "Projekt" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "Pull Request URIs" diff --git a/project_task_pull_request/i18n/sv.po b/project_task_pull_request/i18n/sv.po index 264bc08d26..a8f7c3ecbd 100644 --- a/project_task_pull_request/i18n/sv.po +++ b/project_task_pull_request/i18n/sv.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -42,7 +42,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/tr.po b/project_task_pull_request/i18n/tr.po index ecc02d20ce..e3aa043730 100644 --- a/project_task_pull_request/i18n/tr.po +++ b/project_task_pull_request/i18n/tr.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "Proje" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/uk.po b/project_task_pull_request/i18n/uk.po index 2ae8fc3fff..bea3115058 100644 --- a/project_task_pull_request/i18n/uk.po +++ b/project_task_pull_request/i18n/uk.po @@ -20,13 +20,13 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/i18n/zh_CN.po b/project_task_pull_request/i18n/zh_CN.po index 67fcbc744e..78db591946 100644 --- a/project_task_pull_request/i18n/zh_CN.po +++ b/project_task_pull_request/i18n/zh_CN.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project_pr_required_states -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_project__pr_required_states +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_required_states msgid "PR Required States" msgstr "" #. module: project_task_pull_request -#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task_pr_uri +#: model:ir.model.fields,field_description:project_task_pull_request.field_project_task__pr_uri msgid "PR URI" msgstr "" @@ -43,7 +43,7 @@ msgid "Project" msgstr "项目" #. module: project_task_pull_request -#: model:ir.ui.view,arch_db:project_task_pull_request.edit_project +#: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" msgstr "" diff --git a/project_task_pull_request/models/__init__.py b/project_task_pull_request/models/__init__.py index 5d5333c102..8882b5dc0a 100644 --- a/project_task_pull_request/models/__init__.py +++ b/project_task_pull_request/models/__init__.py @@ -1,4 +1,3 @@ -# Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import project_task diff --git a/project_task_pull_request/readme/CONTRIBUTORS.rst b/project_task_pull_request/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..353471aa34 --- /dev/null +++ b/project_task_pull_request/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Kelly Lougheed +* `Tecnativa `_: + + * Ernesto Tejeda diff --git a/project_task_pull_request/readme/DESCRIPTION.rst b/project_task_pull_request/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..fcfad48226 --- /dev/null +++ b/project_task_pull_request/readme/DESCRIPTION.rst @@ -0,0 +1,3 @@ +This module extends the functionality of project to allow you to +add PR URIs to tasks and require PR URIs before tasks can be moved +to certain stages. diff --git a/project_task_pull_request/readme/USAGE.rst b/project_task_pull_request/readme/USAGE.rst new file mode 100644 index 0000000000..a47081f417 --- /dev/null +++ b/project_task_pull_request/readme/USAGE.rst @@ -0,0 +1,9 @@ +To use this module, you need to: + +#. Go to Project -> Configuration -> Project +#. Select a project and, under "Pull Request URIs", select the stages + where you would like a PR URI to be required +#. Go to Dashboard and select a project +#. Attempt to move one of the project's task without a PR URI into one of + the stages you selected to require a PR; you will receive a Validation Error +#. To add a PR URI to a task, click on the task and go to the "Extra Info" tag diff --git a/project_task_pull_request/static/description/index.html b/project_task_pull_request/static/description/index.html new file mode 100644 index 0000000000..9defd4f0f4 --- /dev/null +++ b/project_task_pull_request/static/description/index.html @@ -0,0 +1,440 @@ + + + + + + +Project Task Pull Request + + + +
+

Project Task Pull Request

+ + +

Beta License: AGPL-3 OCA/project Translate me on Weblate Try me on Runbot

+

This module extends the functionality of project to allow you to +add PR URIs to tasks and require PR URIs before tasks can be moved +to certain stages.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to Project -> Configuration -> Project
  2. +
  3. Select a project and, under “Pull Request URIs”, select the stages +where you would like a PR URI to be required
  4. +
  5. Go to Dashboard and select a project
  6. +
  7. Attempt to move one of the project’s task without a PR URI into one of +the stages you selected to require a PR; you will receive a Validation Error
  8. +
  9. To add a PR URI to a task, click on the task and go to the “Extra Info” tag
  10. +
+
+
+

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

+
    +
  • SMDrugstore
  • +
  • Tecnativa
  • +
+
+
+

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

+

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

+
+
+
+ + diff --git a/project_task_pull_request/tests/__init__.py b/project_task_pull_request/tests/__init__.py index f4fdb7883d..4c4ae8962b 100644 --- a/project_task_pull_request/tests/__init__.py +++ b/project_task_pull_request/tests/__init__.py @@ -1,4 +1,3 @@ -# Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from . import test_project_task_pull_request diff --git a/project_task_pull_request/tests/test_project_task_pull_request.py b/project_task_pull_request/tests/test_project_task_pull_request.py index 8f9e22c615..b97fa5fd55 100644 --- a/project_task_pull_request/tests/test_project_task_pull_request.py +++ b/project_task_pull_request/tests/test_project_task_pull_request.py @@ -11,30 +11,33 @@ class TestProjectTaskPullRequest(TransactionCase): def setUp(self): super(TestProjectTaskPullRequest, self).setUp() - self.project_1 = self.env['project.project'].create({ - 'name': 'Test Project', + + project_obj = self.env['project.project'] + task_obj = self.env['project.task'] + + self.project_1 = project_obj.create({ + 'name': 'Test Project 1', 'pr_required_states': [(4, 6, 0)], - 'key': 'ABC', }) - self.project_2 = self.env['project.project'].create({ - 'name': 'Test Project', + self.project_2 = project_obj.create({ + 'name': 'Test Project 2', 'pr_required_states': [(4, 6, 0), (4, 5, 0)], - 'key': 'DEF', }) - self.task_1 = self.env['project.task'].create({ - 'name': 'Test Task', + + self.task_1 = task_obj.create({ + 'name': 'Test Task 1', 'project_id': self.project_1.id, 'pr_uri': False, 'stage_id': 1, }) - self.task_2 = self.env['project.task'].create({ - 'name': 'Test Task', + self.task_2 = task_obj.create({ + 'name': 'Test Task 2', 'project_id': self.project_2.id, 'pr_uri': False, 'stage_id': 1, }) - self.task_3 = self.env['project.task'].create({ - 'name': 'Test Task', + self.task_3 = task_obj.create({ + 'name': 'Test Task 3', 'project_id': self.project_2.id, 'pr_uri': 'github.com', 'stage_id': 1, diff --git a/project_task_pull_request/views/project_task_pull_request_view.xml b/project_task_pull_request/views/project_task_pull_request_view.xml index 1360a7d6a7..f12c59a903 100644 --- a/project_task_pull_request/views/project_task_pull_request_view.xml +++ b/project_task_pull_request/views/project_task_pull_request_view.xml @@ -9,12 +9,12 @@ project.task - + - + From aec214d13709a125b941502a88132f18151ace3a Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 17 Sep 2019 09:18:46 +0100 Subject: [PATCH 06/12] [IMP] project_task_pull_request: Track PR URI changes --- project_task_pull_request/README.rst | 1 + project_task_pull_request/__manifest__.py | 2 +- project_task_pull_request/i18n/ar.po | 12 ++++++------ project_task_pull_request/i18n/ca.po | 12 ++++++------ project_task_pull_request/i18n/de.po | 15 +++++++++------ project_task_pull_request/i18n/el.po | 12 ++++++------ project_task_pull_request/i18n/es.po | 15 +++++++++------ project_task_pull_request/i18n/es_CR.po | 12 ++++++------ project_task_pull_request/i18n/es_MX.po | 15 +++++++++------ project_task_pull_request/i18n/es_VE.po | 12 ++++++------ project_task_pull_request/i18n/fi.po | 15 +++++++++------ project_task_pull_request/i18n/fr.po | 15 +++++++++------ project_task_pull_request/i18n/gl.po | 12 ++++++------ project_task_pull_request/i18n/hr.po | 15 +++++++++------ project_task_pull_request/i18n/hr_HR.po | 12 ++++++------ project_task_pull_request/i18n/hu.po | 12 ++++++------ project_task_pull_request/i18n/it.po | 12 ++++++------ project_task_pull_request/i18n/ja.po | 12 ++++++------ project_task_pull_request/i18n/lt.po | 12 ++++++------ project_task_pull_request/i18n/lv.po | 12 ++++++------ project_task_pull_request/i18n/mk.po | 12 ++++++------ project_task_pull_request/i18n/mn.po | 12 ++++++------ project_task_pull_request/i18n/nl.po | 15 +++++++++------ project_task_pull_request/i18n/nl_NL.po | 15 +++++++++------ project_task_pull_request/i18n/pl.po | 12 ++++++------ .../i18n/project_task_pull_request.pot | 12 ++++++------ project_task_pull_request/i18n/pt.po | 15 +++++++++------ project_task_pull_request/i18n/pt_BR.po | 15 +++++++++------ project_task_pull_request/i18n/pt_PT.po | 15 +++++++++------ project_task_pull_request/i18n/ro.po | 12 ++++++------ project_task_pull_request/i18n/sl.po | 15 +++++++++------ project_task_pull_request/i18n/sv.po | 12 ++++++------ project_task_pull_request/i18n/tr.po | 15 +++++++++------ project_task_pull_request/i18n/uk.po | 12 ++++++------ project_task_pull_request/i18n/zh_CN.po | 15 +++++++++------ project_task_pull_request/models/project_task.py | 1 + project_task_pull_request/readme/CONTRIBUTORS.rst | 1 + .../static/description/index.html | 1 + 38 files changed, 245 insertions(+), 199 deletions(-) diff --git a/project_task_pull_request/README.rst b/project_task_pull_request/README.rst index 8bb4e254ff..59fece1e46 100644 --- a/project_task_pull_request/README.rst +++ b/project_task_pull_request/README.rst @@ -73,6 +73,7 @@ Contributors * `Tecnativa `_: * Ernesto Tejeda + * Jairo Llopis Maintainers ~~~~~~~~~~~ diff --git a/project_task_pull_request/__manifest__.py b/project_task_pull_request/__manifest__.py index 5a111885bf..90e0fb3733 100644 --- a/project_task_pull_request/__manifest__.py +++ b/project_task_pull_request/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Project Task Pull Request", "summary": "Adds a field for a PR URI to project tasks", - "version": "12.0.1.0.0", + "version": "12.0.1.1.0", "category": "Project Management", "website": "https://github.com/OCA/project", "author": "SMDrugstore, " diff --git a/project_task_pull_request/i18n/ar.po b/project_task_pull_request/i18n/ar.po index 4e154b639d..6d22a1fd5b 100644 --- a/project_task_pull_request/i18n/ar.po +++ b/project_task_pull_request/i18n/ar.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "مهمة" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/ca.po b/project_task_pull_request/i18n/ca.po index ff187c366f..2d4bd7ecfc 100644 --- a/project_task_pull_request/i18n/ca.po +++ b/project_task_pull_request/i18n/ca.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tasca" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/de.po b/project_task_pull_request/i18n/de.po index a0e1784570..af1eec59bb 100644 --- a/project_task_pull_request/i18n/de.po +++ b/project_task_pull_request/i18n/de.po @@ -31,7 +31,7 @@ msgid "PR URI" msgstr "PR URI" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." @@ -39,11 +39,6 @@ msgstr "" "Bitte fügen Sie die URI des Pull Request's hinzu, bevor Sie eine Aufgabe in " "diese Stufe verschieben." -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Projekt" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -53,3 +48,11 @@ msgstr "Pull Request URIs" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Aufgabe" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Projekt" diff --git a/project_task_pull_request/i18n/el.po b/project_task_pull_request/i18n/el.po index 51511c4bff..e9f7accaf5 100644 --- a/project_task_pull_request/i18n/el.po +++ b/project_task_pull_request/i18n/el.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Εργασία" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/es.po b/project_task_pull_request/i18n/es.po index f1a79ffa7b..f60ee1bfc5 100644 --- a/project_task_pull_request/i18n/es.po +++ b/project_task_pull_request/i18n/es.po @@ -31,7 +31,7 @@ msgid "PR URI" msgstr "URI PR" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." @@ -39,11 +39,6 @@ msgstr "" "Por favor agregar el URI del pull request antes de pasar la tarea a esta " "etapa." -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Proyecto" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -53,3 +48,11 @@ msgstr "URIs del Pull Request" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarea" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Proyecto" diff --git a/project_task_pull_request/i18n/es_CR.po b/project_task_pull_request/i18n/es_CR.po index 9d990c6802..50b8aff7e3 100644 --- a/project_task_pull_request/i18n/es_CR.po +++ b/project_task_pull_request/i18n/es_CR.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarea" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/es_MX.po b/project_task_pull_request/i18n/es_MX.po index 755b406ea0..bb8d60bc5b 100644 --- a/project_task_pull_request/i18n/es_MX.po +++ b/project_task_pull_request/i18n/es_MX.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Proyecto" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarea" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Proyecto" diff --git a/project_task_pull_request/i18n/es_VE.po b/project_task_pull_request/i18n/es_VE.po index 373360549f..4e69e7669a 100644 --- a/project_task_pull_request/i18n/es_VE.po +++ b/project_task_pull_request/i18n/es_VE.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarea" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/fi.po b/project_task_pull_request/i18n/fi.po index 8e78d84c7a..0c80c26ef5 100644 --- a/project_task_pull_request/i18n/fi.po +++ b/project_task_pull_request/i18n/fi.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Projekti" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tehtävä" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Projekti" diff --git a/project_task_pull_request/i18n/fr.po b/project_task_pull_request/i18n/fr.po index 9338be64a6..011cf025b1 100644 --- a/project_task_pull_request/i18n/fr.po +++ b/project_task_pull_request/i18n/fr.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Projet" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tâche" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Projet" diff --git a/project_task_pull_request/i18n/gl.po b/project_task_pull_request/i18n/gl.po index 1cbbfb6908..c23de8f8b0 100644 --- a/project_task_pull_request/i18n/gl.po +++ b/project_task_pull_request/i18n/gl.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarefa" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/hr.po b/project_task_pull_request/i18n/hr.po index 114490c43b..b98edb04a3 100644 --- a/project_task_pull_request/i18n/hr.po +++ b/project_task_pull_request/i18n/hr.po @@ -32,17 +32,12 @@ msgid "PR URI" msgstr "PR URI" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "Molimo dodajte URL zahtijevu prije prebacivanja zadatka u ovu fazu" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Projekt" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -52,3 +47,11 @@ msgstr "Pull zahtjev URL" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Zadatak" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Projekt" diff --git a/project_task_pull_request/i18n/hr_HR.po b/project_task_pull_request/i18n/hr_HR.po index 8d7a932b73..a1626f0cee 100644 --- a/project_task_pull_request/i18n/hr_HR.po +++ b/project_task_pull_request/i18n/hr_HR.po @@ -32,17 +32,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -52,3 +47,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Zadatak" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/hu.po b/project_task_pull_request/i18n/hu.po index 311374334b..4b4bcc0e6f 100644 --- a/project_task_pull_request/i18n/hu.po +++ b/project_task_pull_request/i18n/hu.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Feladat" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/it.po b/project_task_pull_request/i18n/it.po index 5bb407ac9d..ab2b2dd97e 100644 --- a/project_task_pull_request/i18n/it.po +++ b/project_task_pull_request/i18n/it.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Attività" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/ja.po b/project_task_pull_request/i18n/ja.po index 8100c76716..6eab76539e 100644 --- a/project_task_pull_request/i18n/ja.po +++ b/project_task_pull_request/i18n/ja.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "タスク" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/lt.po b/project_task_pull_request/i18n/lt.po index 67f9065f10..0fe5b57951 100644 --- a/project_task_pull_request/i18n/lt.po +++ b/project_task_pull_request/i18n/lt.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Užduotis" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/lv.po b/project_task_pull_request/i18n/lv.po index 1199464aa3..0d6d0c0110 100644 --- a/project_task_pull_request/i18n/lv.po +++ b/project_task_pull_request/i18n/lv.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Uzdevums" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/mk.po b/project_task_pull_request/i18n/mk.po index ad0fc6d073..2ea8cdbac3 100644 --- a/project_task_pull_request/i18n/mk.po +++ b/project_task_pull_request/i18n/mk.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Задача" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/mn.po b/project_task_pull_request/i18n/mn.po index 40586abf05..919ccf63d9 100644 --- a/project_task_pull_request/i18n/mn.po +++ b/project_task_pull_request/i18n/mn.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Даалгавар" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/nl.po b/project_task_pull_request/i18n/nl.po index b10eb41fb5..23a3115c7a 100644 --- a/project_task_pull_request/i18n/nl.po +++ b/project_task_pull_request/i18n/nl.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Project" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Taak" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Project" diff --git a/project_task_pull_request/i18n/nl_NL.po b/project_task_pull_request/i18n/nl_NL.po index 7d63b563a2..80dd211709 100644 --- a/project_task_pull_request/i18n/nl_NL.po +++ b/project_task_pull_request/i18n/nl_NL.po @@ -31,7 +31,7 @@ msgid "PR URI" msgstr "PR URI" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." @@ -39,11 +39,6 @@ msgstr "" "Voeg de URI toe voor de 'pull request' voor de taak naar deze fase te " "verplaatsen." -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Project" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -53,3 +48,11 @@ msgstr "'Pull Request' URI's" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Taak" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Project" diff --git a/project_task_pull_request/i18n/pl.po b/project_task_pull_request/i18n/pl.po index 10874dbcce..d17d338cf5 100644 --- a/project_task_pull_request/i18n/pl.po +++ b/project_task_pull_request/i18n/pl.po @@ -32,17 +32,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -52,3 +47,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Zadanie" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/project_task_pull_request.pot b/project_task_pull_request/i18n/project_task_pull_request.pot index c287af7714..509c771d83 100644 --- a/project_task_pull_request/i18n/project_task_pull_request.pot +++ b/project_task_pull_request/i18n/project_task_pull_request.pot @@ -25,16 +25,11 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,3 +40,8 @@ msgstr "" msgid "Task" msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + diff --git a/project_task_pull_request/i18n/pt.po b/project_task_pull_request/i18n/pt.po index 94bf33ecfe..089b7146dc 100644 --- a/project_task_pull_request/i18n/pt.po +++ b/project_task_pull_request/i18n/pt.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Projeto" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarefa" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Projeto" diff --git a/project_task_pull_request/i18n/pt_BR.po b/project_task_pull_request/i18n/pt_BR.po index 66db1f512d..937d8aeb5b 100644 --- a/project_task_pull_request/i18n/pt_BR.po +++ b/project_task_pull_request/i18n/pt_BR.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Projeto" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarefa" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Projeto" diff --git a/project_task_pull_request/i18n/pt_PT.po b/project_task_pull_request/i18n/pt_PT.po index c48b905f47..8838f9905b 100644 --- a/project_task_pull_request/i18n/pt_PT.po +++ b/project_task_pull_request/i18n/pt_PT.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Projeto" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarefa" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Projeto" diff --git a/project_task_pull_request/i18n/ro.po b/project_task_pull_request/i18n/ro.po index b6d35311b5..47fee8ae29 100644 --- a/project_task_pull_request/i18n/ro.po +++ b/project_task_pull_request/i18n/ro.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Sarcina" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/sl.po b/project_task_pull_request/i18n/sl.po index e2ec4adfd3..27d2892bd5 100644 --- a/project_task_pull_request/i18n/sl.po +++ b/project_task_pull_request/i18n/sl.po @@ -32,17 +32,12 @@ msgid "PR URI" msgstr "PR URI" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "Dodajte URI za PR pred premikom opravila v to stopnjo." -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Projekt" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -52,3 +47,11 @@ msgstr "Pull Request URIs" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Opravilo" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Projekt" diff --git a/project_task_pull_request/i18n/sv.po b/project_task_pull_request/i18n/sv.po index a8f7c3ecbd..fd00fea2c6 100644 --- a/project_task_pull_request/i18n/sv.po +++ b/project_task_pull_request/i18n/sv.po @@ -30,17 +30,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -50,3 +45,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Uppgift" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/tr.po b/project_task_pull_request/i18n/tr.po index e3aa043730..a9b68379f9 100644 --- a/project_task_pull_request/i18n/tr.po +++ b/project_task_pull_request/i18n/tr.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "Proje" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Görev" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "Proje" diff --git a/project_task_pull_request/i18n/uk.po b/project_task_pull_request/i18n/uk.po index bea3115058..c94fc1cb98 100644 --- a/project_task_pull_request/i18n/uk.po +++ b/project_task_pull_request/i18n/uk.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,8 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Завдання" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" diff --git a/project_task_pull_request/i18n/zh_CN.po b/project_task_pull_request/i18n/zh_CN.po index 78db591946..fff292a076 100644 --- a/project_task_pull_request/i18n/zh_CN.po +++ b/project_task_pull_request/i18n/zh_CN.po @@ -31,17 +31,12 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:26 +#: code:addons/project_task_pull_request/models/project_task.py:27 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "Project" -msgstr "项目" - #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -51,3 +46,11 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "任务" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "WBS element" +msgstr "" + +#~ msgid "Project" +#~ msgstr "项目" diff --git a/project_task_pull_request/models/project_task.py b/project_task_pull_request/models/project_task.py index 51d66fd9fb..6b698caff2 100644 --- a/project_task_pull_request/models/project_task.py +++ b/project_task_pull_request/models/project_task.py @@ -10,6 +10,7 @@ class ProjectTask(models.Model): pr_uri = fields.Char( string='PR URI', + track_visibility='onchange', ) pr_required_states = fields.Many2many( diff --git a/project_task_pull_request/readme/CONTRIBUTORS.rst b/project_task_pull_request/readme/CONTRIBUTORS.rst index 353471aa34..d16e8361d5 100644 --- a/project_task_pull_request/readme/CONTRIBUTORS.rst +++ b/project_task_pull_request/readme/CONTRIBUTORS.rst @@ -2,3 +2,4 @@ * `Tecnativa `_: * Ernesto Tejeda + * Jairo Llopis diff --git a/project_task_pull_request/static/description/index.html b/project_task_pull_request/static/description/index.html index 9defd4f0f4..807cb2204d 100644 --- a/project_task_pull_request/static/description/index.html +++ b/project_task_pull_request/static/description/index.html @@ -420,6 +420,7 @@

Contributors

  • Kelly Lougheed <kelly@smdrugstore.com>
  • Tecnativa:
    • Ernesto Tejeda
    • +
    • Jairo Llopis
  • From d99ce7a776c2fca766e0c3bf35b76c537a918256 Mon Sep 17 00:00:00 2001 From: Saran440 Date: Mon, 27 Jan 2020 12:37:37 +0700 Subject: [PATCH 07/12] [IMP] project_task_pull_request: black, isort --- project_task_pull_request/__manifest__.py | 14 +--- .../models/project_project.py | 10 +-- .../models/project_task.py | 19 +++-- .../tests/test_project_task_pull_request.py | 74 ++++++++++--------- 4 files changed, 57 insertions(+), 60 deletions(-) diff --git a/project_task_pull_request/__manifest__.py b/project_task_pull_request/__manifest__.py index 90e0fb3733..8bacad6bce 100644 --- a/project_task_pull_request/__manifest__.py +++ b/project_task_pull_request/__manifest__.py @@ -4,19 +4,13 @@ { "name": "Project Task Pull Request", "summary": "Adds a field for a PR URI to project tasks", - "version": "12.0.1.1.0", + "version": "13.0.1.0.0", "category": "Project Management", "website": "https://github.com/OCA/project", - "author": "SMDrugstore, " - "Tecnativa, " - "Odoo Community Association (OCA)", + "author": "SMDrugstore, " "Tecnativa, " "Odoo Community Association (OCA)", "license": "AGPL-3", "application": False, "installable": True, - "depends": [ - "project", - ], - "data": [ - "views/project_task_pull_request_view.xml", - ], + "depends": ["project"], + "data": ["views/project_task_pull_request_view.xml"], } diff --git a/project_task_pull_request/models/project_project.py b/project_task_pull_request/models/project_project.py index 78d0e3cb95..34184314b6 100644 --- a/project_task_pull_request/models/project_project.py +++ b/project_task_pull_request/models/project_project.py @@ -9,9 +9,9 @@ class Project(models.Model): _name = "project.project" pr_required_states = fields.Many2many( - 'project.task.type', - 'project_pr_required', - 'project_id', - 'state_id', - 'PR Required States', + "project.task.type", + "project_pr_required", + "project_id", + "state_id", + "PR Required States", ) diff --git a/project_task_pull_request/models/project_task.py b/project_task_pull_request/models/project_task.py index 6b698caff2..51c10620fd 100644 --- a/project_task_pull_request/models/project_task.py +++ b/project_task_pull_request/models/project_task.py @@ -8,22 +8,21 @@ class ProjectTask(models.Model): _inherit = "project.task" _name = "project.task" - pr_uri = fields.Char( - string='PR URI', - track_visibility='onchange', - ) + pr_uri = fields.Char(string="PR URI", track_visibility="onchange") pr_required_states = fields.Many2many( - related='project_id.pr_required_states', - readonly=True, + related="project_id.pr_required_states", readonly=True ) - @api.constrains('pr_uri', 'stage_id', 'project_id') + @api.constrains("pr_uri", "stage_id", "project_id") def _check_pr_uri_required(self): for task in self: stages_pr_req = task.project_id.pr_required_states is_stage_pr_req = task.stage_id in stages_pr_req if not task.pr_uri and stages_pr_req and is_stage_pr_req: - raise exceptions.ValidationError(_( - 'Please add the URI for the pull request ' - 'before moving the task to this stage.')) + raise exceptions.ValidationError( + _( + "Please add the URI for the pull request " + "before moving the task to this stage." + ) + ) diff --git a/project_task_pull_request/tests/test_project_task_pull_request.py b/project_task_pull_request/tests/test_project_task_pull_request.py index b97fa5fd55..d5f7d58e51 100644 --- a/project_task_pull_request/tests/test_project_task_pull_request.py +++ b/project_task_pull_request/tests/test_project_task_pull_request.py @@ -1,8 +1,8 @@ # Copyright 2017 Specialty Medical Drugstore # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo.tests.common import TransactionCase from odoo.exceptions import ValidationError +from odoo.tests.common import TransactionCase class TestProjectTaskPullRequest(TransactionCase): @@ -12,51 +12,55 @@ class TestProjectTaskPullRequest(TransactionCase): def setUp(self): super(TestProjectTaskPullRequest, self).setUp() - project_obj = self.env['project.project'] - task_obj = self.env['project.task'] - - self.project_1 = project_obj.create({ - 'name': 'Test Project 1', - 'pr_required_states': [(4, 6, 0)], - }) - self.project_2 = project_obj.create({ - 'name': 'Test Project 2', - 'pr_required_states': [(4, 6, 0), (4, 5, 0)], - }) - - self.task_1 = task_obj.create({ - 'name': 'Test Task 1', - 'project_id': self.project_1.id, - 'pr_uri': False, - 'stage_id': 1, - }) - self.task_2 = task_obj.create({ - 'name': 'Test Task 2', - 'project_id': self.project_2.id, - 'pr_uri': False, - 'stage_id': 1, - }) - self.task_3 = task_obj.create({ - 'name': 'Test Task 3', - 'project_id': self.project_2.id, - 'pr_uri': 'github.com', - 'stage_id': 1, - }) + project_obj = self.env["project.project"] + task_obj = self.env["project.task"] + + self.project_1 = project_obj.create( + {"name": "Test Project 1", "pr_required_states": [(4, 6, 0)]} + ) + self.project_2 = project_obj.create( + {"name": "Test Project 2", "pr_required_states": [(4, 6, 0), (4, 5, 0)]} + ) + + self.task_1 = task_obj.create( + { + "name": "Test Task 1", + "project_id": self.project_1.id, + "pr_uri": False, + "stage_id": 1, + } + ) + self.task_2 = task_obj.create( + { + "name": "Test Task 2", + "project_id": self.project_2.id, + "pr_uri": False, + "stage_id": 1, + } + ) + self.task_3 = task_obj.create( + { + "name": "Test Task 3", + "project_id": self.project_2.id, + "pr_uri": "github.com", + "stage_id": 1, + } + ) def test_write_allowed_when_allowed(self): - self.task_1.write({'stage_id': 3, }) + self.task_1.write({"stage_id": 3}) self.task_1.refresh() self.assertEquals(3, self.task_1.stage_id.id) def test_write_not_allowed_without_pr(self): with self.assertRaises(ValidationError): - self.task_1.write({'stage_id': 6, }) + self.task_1.write({"stage_id": 6}) def test_write_not_allowed_without_pr_multiple_stages(self): with self.assertRaises(ValidationError): - self.task_2.write({'stage_id': 6, }) + self.task_2.write({"stage_id": 6}) def test_write_allowed_with_pr(self): - self.task_3.write({'stage_id': 6, }) + self.task_3.write({"stage_id": 6}) self.task_3.refresh() self.assertEquals(6, self.task_3.stage_id.id) From a3716802074d29d74bca5f2976e7846bbe94823c Mon Sep 17 00:00:00 2001 From: Saran440 Date: Mon, 27 Jan 2020 12:47:43 +0700 Subject: [PATCH 08/12] [13.0][MIG] project_task_pull_request --- project_task_pull_request/README.rst | 10 +++++----- .../models/project_task.py | 5 +---- .../static/description/index.html | 6 +++--- .../tests/test_project_task_pull_request.py | 9 +++++++-- .../views/project_task_pull_request_view.xml | 20 +++++++++---------- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/project_task_pull_request/README.rst b/project_task_pull_request/README.rst index 59fece1e46..c7c810c5eb 100644 --- a/project_task_pull_request/README.rst +++ b/project_task_pull_request/README.rst @@ -14,13 +14,13 @@ Project Task Pull Request :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fproject-lightgray.png?logo=github - :target: https://github.com/OCA/project/tree/12.0/project_task_pull_request + :target: https://github.com/OCA/project/tree/13.0/project_task_pull_request :alt: OCA/project .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/project-12-0/project-12-0-project_task_pull_request + :target: https://translation.odoo-community.org/projects/project-13-0/project-13-0-project_task_pull_request :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/140/12.0 + :target: https://runbot.odoo-community.org/runbot/140/13.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -53,7 +53,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -88,6 +88,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/project `_ project on GitHub. +This module is part of the `OCA/project `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/project_task_pull_request/models/project_task.py b/project_task_pull_request/models/project_task.py index 51c10620fd..f5a350f8cf 100644 --- a/project_task_pull_request/models/project_task.py +++ b/project_task_pull_request/models/project_task.py @@ -6,13 +6,10 @@ class ProjectTask(models.Model): _inherit = "project.task" - _name = "project.task" pr_uri = fields.Char(string="PR URI", track_visibility="onchange") - pr_required_states = fields.Many2many( - related="project_id.pr_required_states", readonly=True - ) + pr_required_states = fields.Many2many(related="project_id.pr_required_states") @api.constrains("pr_uri", "stage_id", "project_id") def _check_pr_uri_required(self): diff --git a/project_task_pull_request/static/description/index.html b/project_task_pull_request/static/description/index.html index 807cb2204d..efe2fad7c0 100644 --- a/project_task_pull_request/static/description/index.html +++ b/project_task_pull_request/static/description/index.html @@ -367,7 +367,7 @@

    Project Task Pull Request

    !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

    Beta License: AGPL-3 OCA/project Translate me on Weblate Try me on Runbot

    +

    Beta License: AGPL-3 OCA/project Translate me on Weblate Try me on Runbot

    This module extends the functionality of project to allow you to add PR URIs to tasks and require PR URIs before tasks can be moved to certain stages.

    @@ -402,7 +402,7 @@

    Bug Tracker

    Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

    +feedback.

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

    @@ -432,7 +432,7 @@

    Maintainers

    OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

    -

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

    +

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

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

    diff --git a/project_task_pull_request/tests/test_project_task_pull_request.py b/project_task_pull_request/tests/test_project_task_pull_request.py index d5f7d58e51..f5d0573c86 100644 --- a/project_task_pull_request/tests/test_project_task_pull_request.py +++ b/project_task_pull_request/tests/test_project_task_pull_request.py @@ -14,12 +14,17 @@ def setUp(self): project_obj = self.env["project.project"] task_obj = self.env["project.task"] + done_stage = self.ref("project.project_stage_2") + inprogress_stage = self.ref("project.project_stage_1") self.project_1 = project_obj.create( - {"name": "Test Project 1", "pr_required_states": [(4, 6, 0)]} + {"name": "Test Project 1", "pr_required_states": [(4, done_stage)]} ) self.project_2 = project_obj.create( - {"name": "Test Project 2", "pr_required_states": [(4, 6, 0), (4, 5, 0)]} + { + "name": "Test Project 2", + "pr_required_states": [(4, done_stage), (4, inprogress_stage)], + } ) self.task_1 = task_obj.create( diff --git a/project_task_pull_request/views/project_task_pull_request_view.xml b/project_task_pull_request/views/project_task_pull_request_view.xml index f12c59a903..cbdf659005 100644 --- a/project_task_pull_request/views/project_task_pull_request_view.xml +++ b/project_task_pull_request/views/project_task_pull_request_view.xml @@ -1,27 +1,26 @@ - + - - project.task.form.pr project.task - + - - + + - project.project.form project.project - + @@ -30,5 +29,4 @@ - From 3e6fae277d4e6bb787dcece72343074dbd354035 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Wed, 17 Jun 2020 12:32:58 +0000 Subject: [PATCH 09/12] [UPD] Update project_task_pull_request.pot --- .../i18n/project_task_pull_request.pot | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/project_task_pull_request/i18n/project_task_pull_request.pot b/project_task_pull_request/i18n/project_task_pull_request.pot index 509c771d83..2cf7620efd 100644 --- a/project_task_pull_request/i18n/project_task_pull_request.pot +++ b/project_task_pull_request/i18n/project_task_pull_request.pot @@ -1,12 +1,12 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * project_task_pull_request +# * project_task_pull_request # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: <>\n" +"Last-Translator: \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -25,9 +25,16 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format -msgid "Please add the URI for the pull request before moving the task to this stage." +msgid "" +"Please add the URI for the pull request before moving the task to this " +"stage." +msgstr "" + +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" msgstr "" #. module: project_task_pull_request @@ -39,9 +46,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - From c76a433ba658723f46dabba2889bc7de3dea0285 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Wed, 17 Jun 2020 17:45:13 +0000 Subject: [PATCH 10/12] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: project-13.0/project-13.0-project_task_pull_request Translate-URL: https://translation.odoo-community.org/projects/project-13-0/project-13-0-project_task_pull_request/ --- project_task_pull_request/i18n/ar.po | 12 ++++++------ project_task_pull_request/i18n/ca.po | 12 ++++++------ project_task_pull_request/i18n/de.po | 15 ++++++--------- project_task_pull_request/i18n/el.po | 12 ++++++------ project_task_pull_request/i18n/es.po | 15 ++++++--------- project_task_pull_request/i18n/es_CR.po | 12 ++++++------ project_task_pull_request/i18n/es_MX.po | 15 ++++++--------- project_task_pull_request/i18n/es_VE.po | 12 ++++++------ project_task_pull_request/i18n/fi.po | 15 ++++++--------- project_task_pull_request/i18n/fr.po | 15 ++++++--------- project_task_pull_request/i18n/gl.po | 12 ++++++------ project_task_pull_request/i18n/hr.po | 15 ++++++--------- project_task_pull_request/i18n/hr_HR.po | 12 ++++++------ project_task_pull_request/i18n/hu.po | 12 ++++++------ project_task_pull_request/i18n/it.po | 12 ++++++------ project_task_pull_request/i18n/ja.po | 12 ++++++------ project_task_pull_request/i18n/lt.po | 12 ++++++------ project_task_pull_request/i18n/lv.po | 12 ++++++------ project_task_pull_request/i18n/mk.po | 12 ++++++------ project_task_pull_request/i18n/mn.po | 12 ++++++------ project_task_pull_request/i18n/nl.po | 15 ++++++--------- project_task_pull_request/i18n/nl_NL.po | 15 ++++++--------- project_task_pull_request/i18n/pl.po | 12 ++++++------ project_task_pull_request/i18n/pt.po | 15 ++++++--------- project_task_pull_request/i18n/pt_BR.po | 15 ++++++--------- project_task_pull_request/i18n/pt_PT.po | 15 ++++++--------- project_task_pull_request/i18n/ro.po | 12 ++++++------ project_task_pull_request/i18n/sl.po | 15 ++++++--------- project_task_pull_request/i18n/sv.po | 12 ++++++------ project_task_pull_request/i18n/tr.po | 15 ++++++--------- project_task_pull_request/i18n/uk.po | 12 ++++++------ project_task_pull_request/i18n/zh_CN.po | 15 ++++++--------- 32 files changed, 192 insertions(+), 234 deletions(-) diff --git a/project_task_pull_request/i18n/ar.po b/project_task_pull_request/i18n/ar.po index 6d22a1fd5b..e7f39d2aaa 100644 --- a/project_task_pull_request/i18n/ar.po +++ b/project_task_pull_request/i18n/ar.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,8 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "مهمة" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/ca.po b/project_task_pull_request/i18n/ca.po index 2d4bd7ecfc..18a6f0eca7 100644 --- a/project_task_pull_request/i18n/ca.po +++ b/project_task_pull_request/i18n/ca.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tasca" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/de.po b/project_task_pull_request/i18n/de.po index af1eec59bb..e00f50349c 100644 --- a/project_task_pull_request/i18n/de.po +++ b/project_task_pull_request/i18n/de.po @@ -31,7 +31,7 @@ msgid "PR URI" msgstr "PR URI" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." @@ -39,6 +39,11 @@ msgstr "" "Bitte fügen Sie die URI des Pull Request's hinzu, bevor Sie eine Aufgabe in " "diese Stufe verschieben." +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projekt" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -48,11 +53,3 @@ msgstr "Pull Request URIs" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Aufgabe" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Projekt" diff --git a/project_task_pull_request/i18n/el.po b/project_task_pull_request/i18n/el.po index e9f7accaf5..97599aaa2f 100644 --- a/project_task_pull_request/i18n/el.po +++ b/project_task_pull_request/i18n/el.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Εργασία" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/es.po b/project_task_pull_request/i18n/es.po index f60ee1bfc5..f4d0b77add 100644 --- a/project_task_pull_request/i18n/es.po +++ b/project_task_pull_request/i18n/es.po @@ -31,7 +31,7 @@ msgid "PR URI" msgstr "URI PR" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." @@ -39,6 +39,11 @@ msgstr "" "Por favor agregar el URI del pull request antes de pasar la tarea a esta " "etapa." +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Proyecto" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -48,11 +53,3 @@ msgstr "URIs del Pull Request" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarea" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Proyecto" diff --git a/project_task_pull_request/i18n/es_CR.po b/project_task_pull_request/i18n/es_CR.po index 50b8aff7e3..10a37383cd 100644 --- a/project_task_pull_request/i18n/es_CR.po +++ b/project_task_pull_request/i18n/es_CR.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,8 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarea" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/es_MX.po b/project_task_pull_request/i18n/es_MX.po index bb8d60bc5b..c1549fe520 100644 --- a/project_task_pull_request/i18n/es_MX.po +++ b/project_task_pull_request/i18n/es_MX.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Proyecto" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,11 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarea" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Proyecto" diff --git a/project_task_pull_request/i18n/es_VE.po b/project_task_pull_request/i18n/es_VE.po index 4e69e7669a..52693bf0f0 100644 --- a/project_task_pull_request/i18n/es_VE.po +++ b/project_task_pull_request/i18n/es_VE.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,8 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarea" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/fi.po b/project_task_pull_request/i18n/fi.po index 0c80c26ef5..17f99e3b27 100644 --- a/project_task_pull_request/i18n/fi.po +++ b/project_task_pull_request/i18n/fi.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projekti" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,11 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tehtävä" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Projekti" diff --git a/project_task_pull_request/i18n/fr.po b/project_task_pull_request/i18n/fr.po index 011cf025b1..7ac1c6d0a2 100644 --- a/project_task_pull_request/i18n/fr.po +++ b/project_task_pull_request/i18n/fr.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projet" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,11 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tâche" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Projet" diff --git a/project_task_pull_request/i18n/gl.po b/project_task_pull_request/i18n/gl.po index c23de8f8b0..632ab3e3eb 100644 --- a/project_task_pull_request/i18n/gl.po +++ b/project_task_pull_request/i18n/gl.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarefa" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/hr.po b/project_task_pull_request/i18n/hr.po index b98edb04a3..12a04beaa6 100644 --- a/project_task_pull_request/i18n/hr.po +++ b/project_task_pull_request/i18n/hr.po @@ -32,12 +32,17 @@ msgid "PR URI" msgstr "PR URI" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "Molimo dodajte URL zahtijevu prije prebacivanja zadatka u ovu fazu" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projekt" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -47,11 +52,3 @@ msgstr "Pull zahtjev URL" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Zadatak" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Projekt" diff --git a/project_task_pull_request/i18n/hr_HR.po b/project_task_pull_request/i18n/hr_HR.po index a1626f0cee..df2d7ea123 100644 --- a/project_task_pull_request/i18n/hr_HR.po +++ b/project_task_pull_request/i18n/hr_HR.po @@ -32,12 +32,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -47,8 +52,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Zadatak" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/hu.po b/project_task_pull_request/i18n/hu.po index 4b4bcc0e6f..aae9861a62 100644 --- a/project_task_pull_request/i18n/hu.po +++ b/project_task_pull_request/i18n/hu.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Feladat" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/it.po b/project_task_pull_request/i18n/it.po index ab2b2dd97e..7a236e58c5 100644 --- a/project_task_pull_request/i18n/it.po +++ b/project_task_pull_request/i18n/it.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Attività" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/ja.po b/project_task_pull_request/i18n/ja.po index 6eab76539e..67a2f09c4a 100644 --- a/project_task_pull_request/i18n/ja.po +++ b/project_task_pull_request/i18n/ja.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "タスク" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/lt.po b/project_task_pull_request/i18n/lt.po index 0fe5b57951..c1561bfa2d 100644 --- a/project_task_pull_request/i18n/lt.po +++ b/project_task_pull_request/i18n/lt.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,8 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Užduotis" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/lv.po b/project_task_pull_request/i18n/lv.po index 0d6d0c0110..85c9fd04c3 100644 --- a/project_task_pull_request/i18n/lv.po +++ b/project_task_pull_request/i18n/lv.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,8 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Uzdevums" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/mk.po b/project_task_pull_request/i18n/mk.po index 2ea8cdbac3..02101caa70 100644 --- a/project_task_pull_request/i18n/mk.po +++ b/project_task_pull_request/i18n/mk.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Задача" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/mn.po b/project_task_pull_request/i18n/mn.po index 919ccf63d9..2b4e6a2d38 100644 --- a/project_task_pull_request/i18n/mn.po +++ b/project_task_pull_request/i18n/mn.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Даалгавар" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/nl.po b/project_task_pull_request/i18n/nl.po index 23a3115c7a..1245a4bba5 100644 --- a/project_task_pull_request/i18n/nl.po +++ b/project_task_pull_request/i18n/nl.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Project" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,11 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Taak" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Project" diff --git a/project_task_pull_request/i18n/nl_NL.po b/project_task_pull_request/i18n/nl_NL.po index 80dd211709..ebe463e36c 100644 --- a/project_task_pull_request/i18n/nl_NL.po +++ b/project_task_pull_request/i18n/nl_NL.po @@ -31,7 +31,7 @@ msgid "PR URI" msgstr "PR URI" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." @@ -39,6 +39,11 @@ msgstr "" "Voeg de URI toe voor de 'pull request' voor de taak naar deze fase te " "verplaatsen." +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Project" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -48,11 +53,3 @@ msgstr "'Pull Request' URI's" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Taak" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Project" diff --git a/project_task_pull_request/i18n/pl.po b/project_task_pull_request/i18n/pl.po index d17d338cf5..ad22da1e46 100644 --- a/project_task_pull_request/i18n/pl.po +++ b/project_task_pull_request/i18n/pl.po @@ -32,12 +32,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -47,8 +52,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Zadanie" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/pt.po b/project_task_pull_request/i18n/pt.po index 089b7146dc..1645b1b339 100644 --- a/project_task_pull_request/i18n/pt.po +++ b/project_task_pull_request/i18n/pt.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projeto" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,11 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarefa" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Projeto" diff --git a/project_task_pull_request/i18n/pt_BR.po b/project_task_pull_request/i18n/pt_BR.po index 937d8aeb5b..c996da4eb1 100644 --- a/project_task_pull_request/i18n/pt_BR.po +++ b/project_task_pull_request/i18n/pt_BR.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projeto" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,11 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarefa" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Projeto" diff --git a/project_task_pull_request/i18n/pt_PT.po b/project_task_pull_request/i18n/pt_PT.po index 8838f9905b..6f8a63260b 100644 --- a/project_task_pull_request/i18n/pt_PT.po +++ b/project_task_pull_request/i18n/pt_PT.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projeto" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,11 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Tarefa" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Projeto" diff --git a/project_task_pull_request/i18n/ro.po b/project_task_pull_request/i18n/ro.po index 47fee8ae29..3b0a527578 100644 --- a/project_task_pull_request/i18n/ro.po +++ b/project_task_pull_request/i18n/ro.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,8 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Sarcina" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/sl.po b/project_task_pull_request/i18n/sl.po index 27d2892bd5..8df0fcd6bb 100644 --- a/project_task_pull_request/i18n/sl.po +++ b/project_task_pull_request/i18n/sl.po @@ -32,12 +32,17 @@ msgid "PR URI" msgstr "PR URI" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "Dodajte URI za PR pred premikom opravila v to stopnjo." +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Projekt" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -47,11 +52,3 @@ msgstr "Pull Request URIs" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Opravilo" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Projekt" diff --git a/project_task_pull_request/i18n/sv.po b/project_task_pull_request/i18n/sv.po index fd00fea2c6..d5a291cddb 100644 --- a/project_task_pull_request/i18n/sv.po +++ b/project_task_pull_request/i18n/sv.po @@ -30,12 +30,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -45,8 +50,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Uppgift" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/tr.po b/project_task_pull_request/i18n/tr.po index a9b68379f9..86cc4d2ee7 100644 --- a/project_task_pull_request/i18n/tr.po +++ b/project_task_pull_request/i18n/tr.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "Proje" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,11 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Görev" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "Proje" diff --git a/project_task_pull_request/i18n/uk.po b/project_task_pull_request/i18n/uk.po index c94fc1cb98..4da0118287 100644 --- a/project_task_pull_request/i18n/uk.po +++ b/project_task_pull_request/i18n/uk.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,8 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "Завдання" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" diff --git a/project_task_pull_request/i18n/zh_CN.po b/project_task_pull_request/i18n/zh_CN.po index fff292a076..94551ed8f1 100644 --- a/project_task_pull_request/i18n/zh_CN.po +++ b/project_task_pull_request/i18n/zh_CN.po @@ -31,12 +31,17 @@ msgid "PR URI" msgstr "" #. module: project_task_pull_request -#: code:addons/project_task_pull_request/models/project_task.py:27 +#: code:addons/project_task_pull_request/models/project_task.py:0 #, python-format msgid "" "Please add the URI for the pull request before moving the task to this stage." msgstr "" +#. module: project_task_pull_request +#: model:ir.model,name:project_task_pull_request.model_project_project +msgid "Project" +msgstr "项目" + #. module: project_task_pull_request #: model_terms:ir.ui.view,arch_db:project_task_pull_request.edit_project msgid "Pull Request URIs" @@ -46,11 +51,3 @@ msgstr "" #: model:ir.model,name:project_task_pull_request.model_project_task msgid "Task" msgstr "任务" - -#. module: project_task_pull_request -#: model:ir.model,name:project_task_pull_request.model_project_project -msgid "WBS element" -msgstr "" - -#~ msgid "Project" -#~ msgstr "项目" From 8ee9e0c51afa021ad4d5f0a44756a6ba72d8eb4b Mon Sep 17 00:00:00 2001 From: angelmoya Date: Mon, 10 May 2021 16:19:47 +0000 Subject: [PATCH 11/12] [IMP] project_task_pull_request: black, isort, prettier --- project_task_pull_request/__manifest__.py | 2 +- .../odoo/addons/project_task_pull_request | 1 + setup/project_task_pull_request/setup.py | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 120000 setup/project_task_pull_request/odoo/addons/project_task_pull_request create mode 100644 setup/project_task_pull_request/setup.py diff --git a/project_task_pull_request/__manifest__.py b/project_task_pull_request/__manifest__.py index 8bacad6bce..133e3bc0b0 100644 --- a/project_task_pull_request/__manifest__.py +++ b/project_task_pull_request/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Project Task Pull Request", "summary": "Adds a field for a PR URI to project tasks", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "category": "Project Management", "website": "https://github.com/OCA/project", "author": "SMDrugstore, " "Tecnativa, " "Odoo Community Association (OCA)", diff --git a/setup/project_task_pull_request/odoo/addons/project_task_pull_request b/setup/project_task_pull_request/odoo/addons/project_task_pull_request new file mode 120000 index 0000000000..b8cdfe738f --- /dev/null +++ b/setup/project_task_pull_request/odoo/addons/project_task_pull_request @@ -0,0 +1 @@ +../../../../project_task_pull_request \ No newline at end of file diff --git a/setup/project_task_pull_request/setup.py b/setup/project_task_pull_request/setup.py new file mode 100644 index 0000000000..28c57bb640 --- /dev/null +++ b/setup/project_task_pull_request/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) From 3e94d770a2b8cd760dcd51c23df7bd6c0e54470f Mon Sep 17 00:00:00 2001 From: angelmoya Date: Mon, 10 May 2021 16:55:26 +0000 Subject: [PATCH 12/12] [IMP] project_task_pull_request: Migration to 14.0 --- .../tests/test_project_task_pull_request.py | 31 +++++++++++-------- .../views/project_task_pull_request_view.xml | 2 +- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/project_task_pull_request/tests/test_project_task_pull_request.py b/project_task_pull_request/tests/test_project_task_pull_request.py index f5d0573c86..1fc53d736d 100644 --- a/project_task_pull_request/tests/test_project_task_pull_request.py +++ b/project_task_pull_request/tests/test_project_task_pull_request.py @@ -14,16 +14,21 @@ def setUp(self): project_obj = self.env["project.project"] task_obj = self.env["project.task"] - done_stage = self.ref("project.project_stage_2") - inprogress_stage = self.ref("project.project_stage_1") + self.new_stage = self.ref("project.project_stage_0") + self.inprogress_stage = self.ref("project.project_stage_1") + self.done_stage = self.ref("project.project_stage_2") + self.cancel_stage = self.ref("project.project_stage_3") self.project_1 = project_obj.create( - {"name": "Test Project 1", "pr_required_states": [(4, done_stage)]} + {"name": "Test Project 1", "pr_required_states": [(4, self.done_stage)]} ) self.project_2 = project_obj.create( { "name": "Test Project 2", - "pr_required_states": [(4, done_stage), (4, inprogress_stage)], + "pr_required_states": [ + (4, self.done_stage), + (4, self.inprogress_stage), + ], } ) @@ -32,7 +37,7 @@ def setUp(self): "name": "Test Task 1", "project_id": self.project_1.id, "pr_uri": False, - "stage_id": 1, + "stage_id": self.new_stage, } ) self.task_2 = task_obj.create( @@ -40,7 +45,7 @@ def setUp(self): "name": "Test Task 2", "project_id": self.project_2.id, "pr_uri": False, - "stage_id": 1, + "stage_id": self.new_stage, } ) self.task_3 = task_obj.create( @@ -48,24 +53,24 @@ def setUp(self): "name": "Test Task 3", "project_id": self.project_2.id, "pr_uri": "github.com", - "stage_id": 1, + "stage_id": self.new_stage, } ) def test_write_allowed_when_allowed(self): - self.task_1.write({"stage_id": 3}) + self.task_1.write({"stage_id": self.inprogress_stage}) self.task_1.refresh() - self.assertEquals(3, self.task_1.stage_id.id) + self.assertEquals(self.inprogress_stage, self.task_1.stage_id.id) def test_write_not_allowed_without_pr(self): with self.assertRaises(ValidationError): - self.task_1.write({"stage_id": 6}) + self.task_1.write({"stage_id": self.done_stage}) def test_write_not_allowed_without_pr_multiple_stages(self): with self.assertRaises(ValidationError): - self.task_2.write({"stage_id": 6}) + self.task_2.write({"stage_id": self.inprogress_stage}) def test_write_allowed_with_pr(self): - self.task_3.write({"stage_id": 6}) + self.task_3.write({"stage_id": self.done_stage}) self.task_3.refresh() - self.assertEquals(6, self.task_3.stage_id.id) + self.assertEquals(self.done_stage, self.task_3.stage_id.id) diff --git a/project_task_pull_request/views/project_task_pull_request_view.xml b/project_task_pull_request/views/project_task_pull_request_view.xml index cbdf659005..a45268acb4 100644 --- a/project_task_pull_request/views/project_task_pull_request_view.xml +++ b/project_task_pull_request/views/project_task_pull_request_view.xml @@ -22,7 +22,7 @@ project.project - +