From 0405483343b0b591b8260f9fa2c47416f9001276 Mon Sep 17 00:00:00 2001 From: Sergio Incaser Date: Mon, 21 Mar 2016 19:30:39 +0100 Subject: [PATCH 01/64] project_timesheet_time_control: Module rename and fixes --- hr_timesheet_time_control/README.rst | 55 ++++++++++++ hr_timesheet_time_control/__init__.py | 7 ++ hr_timesheet_time_control/__openerp__.py | 21 +++++ hr_timesheet_time_control/i18n/es.po | 82 ++++++++++++++++++ hr_timesheet_time_control/models/__init__.py | 7 ++ .../models/account_analytic_line.py | 64 ++++++++++++++ .../security/project_security.xml | 22 +++++ .../static/description/icon.png | Bin 0 -> 9455 bytes .../view/account_analytic_line_view.xml | 55 ++++++++++++ 9 files changed, 313 insertions(+) create mode 100644 hr_timesheet_time_control/README.rst create mode 100644 hr_timesheet_time_control/__init__.py create mode 100644 hr_timesheet_time_control/__openerp__.py create mode 100644 hr_timesheet_time_control/i18n/es.po create mode 100644 hr_timesheet_time_control/models/__init__.py create mode 100644 hr_timesheet_time_control/models/account_analytic_line.py create mode 100644 hr_timesheet_time_control/security/project_security.xml create mode 100644 hr_timesheet_time_control/static/description/icon.png create mode 100644 hr_timesheet_time_control/view/account_analytic_line_view.xml diff --git a/hr_timesheet_time_control/README.rst b/hr_timesheet_time_control/README.rst new file mode 100644 index 0000000000..399cb67bd3 --- /dev/null +++ b/hr_timesheet_time_control/README.rst @@ -0,0 +1,55 @@ +.. 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 TimeSheet time Control +============================== + +This module adds a button at account analytic line level to compute minutes +lasted from start date to the current moment. + +Adds a datetime field that replaces ``date`` field in tree view, and write date +field with datetime field value. + +Adds filters by user and groups by tasks and user. + +Also allow open and close tasks from account analytic lines. + + +.. 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/9.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback +`here `_. + +Credits +======= + +Contributors +------------ +* Pedro M. Baeza +* Antonio Espinosa +* Carlos Dauden +* Sergio Teruel + +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/hr_timesheet_time_control/__init__.py b/hr_timesheet_time_control/__init__.py new file mode 100644 index 0000000000..bb05840c23 --- /dev/null +++ b/hr_timesheet_time_control/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# © 2016 Antonio Espinosa +# © 2016 Pedro M. Baeza +# © 2016 Sergio Teruel +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import models diff --git a/hr_timesheet_time_control/__openerp__.py b/hr_timesheet_time_control/__openerp__.py new file mode 100644 index 0000000000..94a5171f07 --- /dev/null +++ b/hr_timesheet_time_control/__openerp__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# © 2016 Antonio Espinosa +# © 2016 Pedro M. Baeza +# © 2016 Sergio Teruel +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +{ + 'name': 'Project timesheet time control', + 'version': '9.0.1.0.0', + 'category': 'Project', + 'author': 'Serv. Tecnol. Avanzados - Pedro M. Baeza, ' + 'Antiun Ingeniería S.L.', + 'website': 'http://www.serviciosbaeza.com', + 'depends': ['project_timesheet'], + 'data': [ + 'security/project_security.xml', + 'view/account_analytic_line_view.xml', + ], + 'license': 'AGPL-3', + 'installable': True, +} diff --git a/hr_timesheet_time_control/i18n/es.po b/hr_timesheet_time_control/i18n/es.po new file mode 100644 index 0000000000..b1fb8edee5 --- /dev/null +++ b/hr_timesheet_time_control/i18n/es.po @@ -0,0 +1,82 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * project_work_time_control +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 9.0c\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-03-21 17:58+0000\n" +"PO-Revision-Date: 2016-03-21 19:01+0100\n" +"Last-Translator: Sergio Teruel \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: es_ES\n" +"X-Generator: Poedit 1.5.4\n" + +#. module: project_work_time_control +#: model:ir.model,name:project_work_time_control.model_account_analytic_line +msgid "Analytic Line" +msgstr "Línea analítica" + +#. module: project_work_time_control +#: model:ir.ui.view,arch_db:project_work_time_control.work_time_control_timesheet_account_analytic_line_tree +msgid "Close task" +msgstr "Cerrar tarea" + +#. module: project_work_time_control +#: model:ir.model.fields,field_description:project_work_time_control.field_account_analytic_line_date_time +#: model:ir.ui.view,arch_db:project_work_time_control.work_time_control_analytic_line_search +msgid "Date" +msgstr "Fecha" + +#. module: project_work_time_control +#: model:ir.model.fields,field_description:project_work_time_control.field_account_analytic_line_folded +msgid "Folded in Tasks Pipeline" +msgstr "Replegado en la vista Kanban" + +#. module: project_work_time_control +#: model:ir.ui.view,arch_db:project_work_time_control.work_time_control_analytic_line_search +msgid "Group By..." +msgstr "Agrupar por..." + +#. module: project_work_time_control +#: model:ir.ui.view,arch_db:project_work_time_control.work_time_control_timesheet_account_analytic_line_tree +msgid "Open task" +msgstr "Abrir tarea" + +#. module: project_work_time_control +#: model:ir.ui.view,arch_db:project_work_time_control.work_time_control_analytic_line_search +#, fuzzy +msgid "Search task work" +msgstr "Actualizar Modo Trabajo" + +#. module: project_work_time_control +#: model:ir.ui.view,arch_db:project_work_time_control.work_time_control_timesheet_account_analytic_line_tree +msgid "Stop" +msgstr "Stop" + +#. module: project_work_time_control +#: model:ir.model,name:project_work_time_control.model_project_task +#: model:ir.ui.view,arch_db:project_work_time_control.work_time_control_analytic_line_search +msgid "Task" +msgstr "Tarea" + +#. module: project_work_time_control +#: model:ir.model,name:project_work_time_control.model_project_task_type +msgid "Task Stage" +msgstr "Estado actual" + +#. module: project_work_time_control +#: model:ir.model.fields,help:project_work_time_control.field_account_analytic_line_folded +msgid "" +"This stage is folded in the kanban view when there are no records in that " +"stage to display." +msgstr "" + +#. module: project_work_time_control +#: model:ir.ui.view,arch_db:project_work_time_control.work_time_control_analytic_line_search +msgid "User" +msgstr "Usuario" diff --git a/hr_timesheet_time_control/models/__init__.py b/hr_timesheet_time_control/models/__init__.py new file mode 100644 index 0000000000..e84fe9f4b3 --- /dev/null +++ b/hr_timesheet_time_control/models/__init__.py @@ -0,0 +1,7 @@ +# -*- coding: utf-8 -*- +# © 2016 Antonio Espinosa +# © 2016 Pedro M. Baeza +# © 2016 Sergio Teruel +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from . import account_analytic_line diff --git a/hr_timesheet_time_control/models/account_analytic_line.py b/hr_timesheet_time_control/models/account_analytic_line.py new file mode 100644 index 0000000000..e0915d7a83 --- /dev/null +++ b/hr_timesheet_time_control/models/account_analytic_line.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +# © 2016 Antonio Espinosa +# © 2016 Pedro M. Baeza +# © 2016 Sergio Teruel +# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html + +from openerp import models, fields, api +from datetime import datetime + + +class AccountAnalyticLine(models.Model): + _inherit = 'account.analytic.line' + + date_time = fields.Datetime(default=fields.Datetime.now, string='Date') + folded = fields.Boolean(related='task_id.stage_id.fold') + + @api.onchange('account_id') + def onchange_account_id(self): + if not self.account_id: + return {'domain': {'task_id': []}} + self.task_id = False + project = self.env['project.project'].search( + [('analytic_account_id', '=', self.account_id.id)], limit=1) + return { + 'domain': { + 'task_id': [('project_id', '=', project.id), + ('stage_id.fold', '=', False)]}, + } + + @api.onchange('task_id') + def onchange_task_id(self): + if self.task_id: + self.account_id = self.task_id.project_id.analytic_account_id.id + + def eval_date(self, vals): + if 'date_time' in vals and 'date' not in vals: + vals['date'] = fields.Date.from_string(vals['date_time']) + return vals + + def create(self, vals): + return super(AccountAnalyticLine, self).create(self.eval_date(vals)) + + def write(self, vals): + return super(AccountAnalyticLine, self).write(self.eval_date(vals)) + + @api.multi + def button_end_work(self): + end_date = datetime.now() + for work in self: + date = fields.Datetime.from_string(work.date_time) + work.unit_amount = (end_date - date).total_seconds() / 3600 + return True + + @api.multi + def button_open_task(self): + stage = self.env['project.task.type'].search( + [('fold', '=', False)], limit=1) + self.mapped('task_id').write({'stage_id': stage.id}) + + @api.multi + def button_close_task(self): + stage = self.env['project.task.type'].search( + [('fold', '=', True)], limit=1) + self.mapped('task_id').write({'stage_id': stage.id}) diff --git a/hr_timesheet_time_control/security/project_security.xml b/hr_timesheet_time_control/security/project_security.xml new file mode 100644 index 0000000000..0b0a70cff3 --- /dev/null +++ b/hr_timesheet_time_control/security/project_security.xml @@ -0,0 +1,22 @@ + + + + + + Account Analytic Line: employees: public or employee or following or assigned + + ['|', + ('user_id', '=', user.id), + '|', + ('task_id.user_id', '=', user.id), + '|', + ('task_id.project_id.privacy_visibility', 'in', ['public', 'employees']), + '&', + ('task_id.project_id.privacy_visibility', '=', 'followers'), + ('task_id.message_follower_ids', 'in', [user.partner_id.id]), + ] + + + + + diff --git a/hr_timesheet_time_control/static/description/icon.png b/hr_timesheet_time_control/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/hr_timesheet_time_control/view/account_analytic_line_view.xml b/hr_timesheet_time_control/view/account_analytic_line_view.xml new file mode 100644 index 0000000000..d7af04c562 --- /dev/null +++ b/hr_timesheet_time_control/view/account_analytic_line_view.xml @@ -0,0 +1,55 @@ + + + + + + project.timesheet.time.control.account.analytic.line.tree + account.analytic.line + + + + + + + + +
+
+ + + 1 + + + + + + + +
+ + + account.analytic.line.kanban + account.analytic.line + + + +
+
+ +
+
+
+ + + + + 1 + + + + + +
+ diff --git a/hr_timesheet_time_control/views/project_task_view.xml b/hr_timesheet_time_control/views/project_task_view.xml index e104532c57..39303e7fa4 100644 --- a/hr_timesheet_time_control/views/project_task_view.xml +++ b/hr_timesheet_time_control/views/project_task_view.xml @@ -3,8 +3,7 @@ project.task - + 1 @@ -20,6 +19,80 @@ attrs="{'invisible': [('unit_amount', '>', 0)]}" /> + + tree,kanban + + + + + + + + + + + + + + + +
+ + + + + + + + + + + +
+
From 31c215e14dbcce2a9a9750b6031cc5398ef48dde Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 5 Sep 2018 13:58:22 +0200 Subject: [PATCH 06/64] [FIX] project_timesheet_time_control: Don't reset task We need to override standard onchange, as it resets the previously introduced task. --- hr_timesheet_time_control/__manifest__.py | 4 +-- .../i18n/project_timesheet_time_control.pot | 2 +- .../models/account_analytic_line.py | 27 ++++++++++++------- .../test_project_timesheet_time_control.py | 8 +++--- 4 files changed, 26 insertions(+), 15 deletions(-) diff --git a/hr_timesheet_time_control/__manifest__.py b/hr_timesheet_time_control/__manifest__.py index 07b8210b4e..12586c1004 100644 --- a/hr_timesheet_time_control/__manifest__.py +++ b/hr_timesheet_time_control/__manifest__.py @@ -1,11 +1,11 @@ # Copyright 2016 Tecnativa - Antonio Espinosa # Copyright 2016 Tecnativa - Sergio Teruel -# Copyright 2016-2017 Tecnativa - Pedro M. Baeza +# Copyright 2016-2018 Tecnativa - Pedro M. Baeza # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html { 'name': 'Project timesheet time control', - 'version': '11.0.1.0.0', + 'version': '11.0.1.1.0', 'category': 'Project', 'author': 'Tecnativa,' 'Odoo Community Association (OCA)', diff --git a/hr_timesheet_time_control/i18n/project_timesheet_time_control.pot b/hr_timesheet_time_control/i18n/project_timesheet_time_control.pot index f606c157d9..d1f5964403 100644 --- a/hr_timesheet_time_control/i18n/project_timesheet_time_control.pot +++ b/hr_timesheet_time_control/i18n/project_timesheet_time_control.pot @@ -79,7 +79,7 @@ msgid "Tasks in this stage are considered closed." msgstr "" #. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 +#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:82 #, python-format msgid "There isn't any stage with closed check. Please mark any." msgstr "" diff --git a/hr_timesheet_time_control/models/account_analytic_line.py b/hr_timesheet_time_control/models/account_analytic_line.py index 6f2f67c74a..59deb63886 100644 --- a/hr_timesheet_time_control/models/account_analytic_line.py +++ b/hr_timesheet_time_control/models/account_analytic_line.py @@ -1,6 +1,6 @@ # Copyright 2016 Tecnativa - Antonio Espinosa # Copyright 2016 Tecnativa - Sergio Teruel -# Copyright 2016-2017 Tecnativa - Pedro M. Baeza +# Copyright 2016-2018 Tecnativa - Pedro M. Baeza # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html from odoo import _, api, exceptions, fields, models @@ -14,15 +14,24 @@ class AccountAnalyticLine(models.Model): closed = fields.Boolean(related='task_id.stage_id.closed', readonly=True) @api.onchange('project_id') - def onchange_project_id_project_timesheet_time_control(self): - res = {} - if self.project_id: - project = self.project_id - res['domain'] = {'task_id': [ - ('project_id', '=', project.id), - ('stage_id.closed', '=', False)]} - else: + def onchange_project_id(self): + task = self.task_id + res = super().onchange_project_id() + if res is None: + res = {} + if self.project_id: # Show only opened tasks + res_domain = res.setdefault('domain', {}) + res_domain.update({ + 'task_id': [ + ('project_id', '=', self.project_id.id), + ('stage_id.closed', '=', False), + ], + }) + else: # Reset domain for allowing selection of any task res['domain'] = {'task_id': []} + if task.project_id == self.project_id: + # Restore previous task if belongs to the same project + self.task_id = task return res @api.onchange('task_id') diff --git a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py index ad6d6091ae..ec9606b77f 100644 --- a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py +++ b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py @@ -1,4 +1,4 @@ -# Copyright 2016-2017 Tecnativa - Pedro M. Baeza +# Copyright 2016-2018 Tecnativa - Pedro M. Baeza # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0 from odoo.tests import common @@ -38,11 +38,13 @@ def setUp(self): def test_onchange_project_id(self): record = self.env['account.analytic.line'].new() + record.task_id = self.task.id record.project_id = self.project.id - action = record.onchange_project_id_project_timesheet_time_control() + action = record.onchange_project_id() self.assertTrue(action['domain']['task_id']) + self.assertEqual(record.task_id, self.task) record.project_id = False - action = record.onchange_project_id_project_timesheet_time_control() + action = record.onchange_project_id() self.assertEqual(action['domain']['task_id'], []) def test_onchange_task_id(self): From 3bb9ec894932a99ad9c24b710789097af8a0751a Mon Sep 17 00:00:00 2001 From: ernesto Date: Mon, 12 Nov 2018 08:29:16 -0500 Subject: [PATCH 07/64] [MIG] project_timesheet_time_control: Migration to 12.0 --- hr_timesheet_time_control/README.rst | 34 +++++---- hr_timesheet_time_control/__manifest__.py | 9 ++- hr_timesheet_time_control/i18n/ar.po | 58 +++++---------- hr_timesheet_time_control/i18n/bg.po | 58 +++++---------- hr_timesheet_time_control/i18n/bs.po | 58 +++++---------- hr_timesheet_time_control/i18n/ca.po | 58 +++++---------- hr_timesheet_time_control/i18n/cs.po | 58 +++++---------- hr_timesheet_time_control/i18n/de.po | 59 +++++---------- hr_timesheet_time_control/i18n/el.po | 58 +++++---------- hr_timesheet_time_control/i18n/el_GR.po | 58 +++++---------- hr_timesheet_time_control/i18n/en_GB.po | 58 +++++---------- hr_timesheet_time_control/i18n/es.po | 70 ++++++++---------- hr_timesheet_time_control/i18n/es_AR.po | 58 +++++---------- hr_timesheet_time_control/i18n/es_CR.po | 58 +++++---------- hr_timesheet_time_control/i18n/es_EC.po | 58 +++++---------- hr_timesheet_time_control/i18n/es_MX.po | 58 +++++---------- hr_timesheet_time_control/i18n/es_VE.po | 58 +++++---------- hr_timesheet_time_control/i18n/et.po | 58 +++++---------- hr_timesheet_time_control/i18n/fi.po | 59 +++++---------- hr_timesheet_time_control/i18n/fr.po | 59 +++++---------- hr_timesheet_time_control/i18n/fr_CA.po | 58 +++++---------- hr_timesheet_time_control/i18n/fr_FR.po | 58 +++++---------- hr_timesheet_time_control/i18n/gl.po | 58 +++++---------- hr_timesheet_time_control/i18n/hr.po | 69 ++++++++---------- hr_timesheet_time_control/i18n/hr_HR.po | 58 +++++---------- hr_timesheet_time_control/i18n/hu.po | 59 +++++---------- hr_timesheet_time_control/i18n/id.po | 58 +++++---------- hr_timesheet_time_control/i18n/it.po | 58 +++++---------- hr_timesheet_time_control/i18n/ja.po | 58 +++++---------- hr_timesheet_time_control/i18n/ko.po | 58 +++++---------- hr_timesheet_time_control/i18n/lt.po | 58 +++++---------- hr_timesheet_time_control/i18n/lv.po | 59 +++++---------- hr_timesheet_time_control/i18n/mk.po | 58 +++++---------- hr_timesheet_time_control/i18n/mn.po | 58 +++++---------- hr_timesheet_time_control/i18n/nb.po | 59 +++++---------- hr_timesheet_time_control/i18n/nl.po | 58 +++++---------- hr_timesheet_time_control/i18n/nl_BE.po | 58 +++++---------- hr_timesheet_time_control/i18n/nl_NL.po | 69 ++++++++---------- hr_timesheet_time_control/i18n/pl.po | 58 +++++---------- .../i18n/project_timesheet_time_control.pot | 54 ++++---------- hr_timesheet_time_control/i18n/pt.po | 59 +++++---------- hr_timesheet_time_control/i18n/pt_BR.po | 59 +++++---------- hr_timesheet_time_control/i18n/pt_PT.po | 58 +++++---------- hr_timesheet_time_control/i18n/ro.po | 58 +++++---------- hr_timesheet_time_control/i18n/ru.po | 58 +++++---------- hr_timesheet_time_control/i18n/sk.po | 58 +++++---------- hr_timesheet_time_control/i18n/sl.po | 69 ++++++++---------- hr_timesheet_time_control/i18n/sr.po | 58 +++++---------- hr_timesheet_time_control/i18n/sr@latin.po | 58 +++++---------- hr_timesheet_time_control/i18n/sv.po | 59 +++++---------- hr_timesheet_time_control/i18n/th.po | 58 +++++---------- hr_timesheet_time_control/i18n/tr.po | 58 +++++---------- hr_timesheet_time_control/i18n/uk.po | 58 +++++---------- hr_timesheet_time_control/i18n/vi.po | 58 +++++---------- hr_timesheet_time_control/i18n/vi_VN.po | 54 ++++---------- hr_timesheet_time_control/i18n/zh_CN.po | 58 +++++---------- hr_timesheet_time_control/i18n/zh_TW.po | 58 +++++---------- .../models/account_analytic_line.py | 72 ++----------------- .../readme/DESCRIPTION.rst | 5 -- hr_timesheet_time_control/readme/INSTALL.rst | 3 + .../static/description/index.html | 46 ++++++------ .../test_project_timesheet_time_control.py | 50 +------------ .../views/account_analytic_line_view.xml | 42 ++--------- .../views/project_task_view.xml | 11 +-- 64 files changed, 1078 insertions(+), 2430 deletions(-) create mode 100644 hr_timesheet_time_control/readme/INSTALL.rst diff --git a/hr_timesheet_time_control/README.rst b/hr_timesheet_time_control/README.rst index 560d9207a7..9796184489 100644 --- a/hr_timesheet_time_control/README.rst +++ b/hr_timesheet_time_control/README.rst @@ -7,39 +7,41 @@ Project timesheet time control !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png +.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png :target: https://odoo-community.org/page/development-status - :alt: Beta + :alt: Mature .. |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/11.0/project_timesheet_time_control + :target: https://github.com/OCA/project/tree/12.0/project_timesheet_time_control :alt: OCA/project .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/project-11-0/project-11-0-project_timesheet_time_control + :target: https://translation.odoo-community.org/projects/project-12-0/project-12-0-project_timesheet_time_control :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/11.0 + :target: https://runbot.odoo-community.org/runbot/140/12.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| * This module adds a button at account analytic line level to compute the spent time, in minutes, from start date to the current moment. -* It improves the domain applied to task field for accommodating to a project - flow. * It adds a datetime field that replaces ``date`` field in tree view, and write date field with datetime field value. -* Finally, it allows to open and close tasks from account analytic lines. - The selected closed stage is the first one that is found with the mark - "Closed" checked. **Table of contents** .. contents:: :local: +Installation +============ + +This module depends on hr_timesheet_task_stage and hr_timesheet_task_domain +modules that are in `OCA/timesheet `_ +repository + Usage ===== @@ -74,7 +76,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. @@ -111,6 +113,14 @@ 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. +.. |maintainer-ernestotejeda| image:: https://github.com/ernestotejeda.png?size=40px + :target: https://github.com/ernestotejeda + :alt: ernestotejeda + +Current `maintainer `__: + +|maintainer-ernestotejeda| + +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/hr_timesheet_time_control/__manifest__.py b/hr_timesheet_time_control/__manifest__.py index 12586c1004..2230136e95 100644 --- a/hr_timesheet_time_control/__manifest__.py +++ b/hr_timesheet_time_control/__manifest__.py @@ -1,18 +1,21 @@ # Copyright 2016 Tecnativa - Antonio Espinosa # Copyright 2016 Tecnativa - Sergio Teruel # Copyright 2016-2018 Tecnativa - Pedro M. Baeza +# Copyright 2018 Tecnativa - Ernesto Tejeda # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html { 'name': 'Project timesheet time control', - 'version': '11.0.1.1.0', + 'version': '12.0.1.0.0', + 'development_status': 'Mature', 'category': 'Project', 'author': 'Tecnativa,' 'Odoo Community Association (OCA)', + 'maintainers': ['ernestotejeda'], 'website': 'https://github.com/OCA/project', 'depends': [ - 'hr_timesheet', - 'project_stage_closed', + 'hr_timesheet_task_stage', + 'hr_timesheet_task_domain', ], 'data': [ 'views/account_analytic_line_view.xml', diff --git a/hr_timesheet_time_control/i18n/ar.po b/hr_timesheet_time_control/i18n/ar.po index aa21dd3fbf..77b56f62ac 100644 --- a/hr_timesheet_time_control/i18n/ar.po +++ b/hr_timesheet_time_control/i18n/ar.po @@ -20,21 +20,21 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "التاريخ" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "التاريخ" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/bg.po b/hr_timesheet_time_control/i18n/bg.po index d955dbdd3c..642adcca99 100644 --- a/hr_timesheet_time_control/i18n/bg.po +++ b/hr_timesheet_time_control/i18n/bg.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Дата" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Дата" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/bs.po b/hr_timesheet_time_control/i18n/bs.po index d09e1fdae9..67f74cb9bd 100644 --- a/hr_timesheet_time_control/i18n/bs.po +++ b/hr_timesheet_time_control/i18n/bs.po @@ -20,21 +20,21 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/ca.po b/hr_timesheet_time_control/i18n/ca.po index e6b9e702ab..1ebb108201 100644 --- a/hr_timesheet_time_control/i18n/ca.po +++ b/hr_timesheet_time_control/i18n/ca.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/cs.po b/hr_timesheet_time_control/i18n/cs.po index edf9f7b48f..ed9f759e31 100644 --- a/hr_timesheet_time_control/i18n/cs.po +++ b/hr_timesheet_time_control/i18n/cs.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/de.po b/hr_timesheet_time_control/i18n/de.po index ba2f248637..0fe0e3fb2a 100644 --- a/hr_timesheet_time_control/i18n/de.po +++ b/hr_timesheet_time_control/i18n/de.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,31 @@ msgid "Analytic Line" msgstr "Kostenposition" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Beendet" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "Stop" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Beendet" diff --git a/hr_timesheet_time_control/i18n/el.po b/hr_timesheet_time_control/i18n/el.po index 2ca2d8cc7c..9c720205a4 100644 --- a/hr_timesheet_time_control/i18n/el.po +++ b/hr_timesheet_time_control/i18n/el.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Ημερομηνία" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Ημερομηνία" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/el_GR.po b/hr_timesheet_time_control/i18n/el_GR.po index 4a86351709..3ca5ffe1f3 100644 --- a/hr_timesheet_time_control/i18n/el_GR.po +++ b/hr_timesheet_time_control/i18n/el_GR.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Ημερομηνία" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Ημερομηνία" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/en_GB.po b/hr_timesheet_time_control/i18n/en_GB.po index e4a7ad84af..0b5d0de144 100644 --- a/hr_timesheet_time_control/i18n/en_GB.po +++ b/hr_timesheet_time_control/i18n/en_GB.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Date" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Date" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/es.po b/hr_timesheet_time_control/i18n/es.po index b29290a312..60c71ee6b1 100644 --- a/hr_timesheet_time_control/i18n/es.po +++ b/hr_timesheet_time_control/i18n/es.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,44 @@ msgid "Analytic Line" msgstr "Línea analítica" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "Cerrar tarea" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Cerrado" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "Abrir tarea" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "Parar" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "Tareas en esta etapa se considerarán cerradas." +#~ msgid "Close task" +#~ msgstr "Cerrar tarea" -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "No hay ninguna etapa con la casilla Cerrado. Por favor marque alguna." +#~ msgid "Closed" +#~ msgstr "Cerrado" + +#~ msgid "Open task" +#~ msgstr "Abrir tarea" + +#~ msgid "Tasks in this stage are considered closed." +#~ msgstr "Tareas en esta etapa se considerarán cerradas." + +#~ msgid "There isn't any stage with closed check. Please mark any." +#~ msgstr "" +#~ "No hay ninguna etapa con la casilla Cerrado. Por favor marque alguna." diff --git a/hr_timesheet_time_control/i18n/es_AR.po b/hr_timesheet_time_control/i18n/es_AR.po index f38d85e871..33ec9672fc 100644 --- a/hr_timesheet_time_control/i18n/es_AR.po +++ b/hr_timesheet_time_control/i18n/es_AR.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/es_CR.po b/hr_timesheet_time_control/i18n/es_CR.po index 2ec5c123e1..d37afdc9c5 100644 --- a/hr_timesheet_time_control/i18n/es_CR.po +++ b/hr_timesheet_time_control/i18n/es_CR.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/es_EC.po b/hr_timesheet_time_control/i18n/es_EC.po index 373b434e3e..915ceb90b3 100644 --- a/hr_timesheet_time_control/i18n/es_EC.po +++ b/hr_timesheet_time_control/i18n/es_EC.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/es_MX.po b/hr_timesheet_time_control/i18n/es_MX.po index 2067694e25..aad27dc816 100644 --- a/hr_timesheet_time_control/i18n/es_MX.po +++ b/hr_timesheet_time_control/i18n/es_MX.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "Línea analítica" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/es_VE.po b/hr_timesheet_time_control/i18n/es_VE.po index 8fa02e73b9..49ddff719f 100644 --- a/hr_timesheet_time_control/i18n/es_VE.po +++ b/hr_timesheet_time_control/i18n/es_VE.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Fecha" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/et.po b/hr_timesheet_time_control/i18n/et.po index a1e3d37420..912b88c7b6 100644 --- a/hr_timesheet_time_control/i18n/et.po +++ b/hr_timesheet_time_control/i18n/et.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Kuupäev" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Kuupäev" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/fi.po b/hr_timesheet_time_control/i18n/fi.po index dcbf7ef068..23f38bbf02 100644 --- a/hr_timesheet_time_control/i18n/fi.po +++ b/hr_timesheet_time_control/i18n/fi.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,31 @@ msgid "Analytic Line" msgstr "Analyyttinen rivi" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Suljettu" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Päivämäärä" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Päivämäärä" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Suljettu" diff --git a/hr_timesheet_time_control/i18n/fr.po b/hr_timesheet_time_control/i18n/fr.po index 8b361c6fa1..22971d67cb 100644 --- a/hr_timesheet_time_control/i18n/fr.po +++ b/hr_timesheet_time_control/i18n/fr.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,31 @@ msgid "Analytic Line" msgstr "Ligne analytique" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Fermer" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Date" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Date" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "Arreter" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Fermer" diff --git a/hr_timesheet_time_control/i18n/fr_CA.po b/hr_timesheet_time_control/i18n/fr_CA.po index 74e0848ec7..843b741ffc 100644 --- a/hr_timesheet_time_control/i18n/fr_CA.po +++ b/hr_timesheet_time_control/i18n/fr_CA.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Date" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Date" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/fr_FR.po b/hr_timesheet_time_control/i18n/fr_FR.po index c019f4423a..c94621dd9e 100644 --- a/hr_timesheet_time_control/i18n/fr_FR.po +++ b/hr_timesheet_time_control/i18n/fr_FR.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Date" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Date" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/gl.po b/hr_timesheet_time_control/i18n/gl.po index fdc042e1c9..e9d21aacc3 100644 --- a/hr_timesheet_time_control/i18n/gl.po +++ b/hr_timesheet_time_control/i18n/gl.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "Parar" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/hr.po b/hr_timesheet_time_control/i18n/hr.po index 3a52c07e4d..3e934939a8 100644 --- a/hr_timesheet_time_control/i18n/hr.po +++ b/hr_timesheet_time_control/i18n/hr.po @@ -21,21 +21,21 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -45,52 +45,43 @@ msgid "Analytic Line" msgstr "Stavka analitike" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "Zatvori zadatak" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Zatvoreno" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "Otvori zadatak" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "Zaustavi" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "Zadaci sa ovim statusom smatraju se zatvorenima." +#~ msgid "Close task" +#~ msgstr "Zatvori zadatak" -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "Nema etape označene kao završna, molimo označite barem jednu." +#~ msgid "Closed" +#~ msgstr "Zatvoreno" + +#~ msgid "Open task" +#~ msgstr "Otvori zadatak" + +#~ msgid "Tasks in this stage are considered closed." +#~ msgstr "Zadaci sa ovim statusom smatraju se zatvorenima." + +#~ msgid "There isn't any stage with closed check. Please mark any." +#~ msgstr "Nema etape označene kao završna, molimo označite barem jednu." diff --git a/hr_timesheet_time_control/i18n/hr_HR.po b/hr_timesheet_time_control/i18n/hr_HR.po index 74adfb2bd0..445851a764 100644 --- a/hr_timesheet_time_control/i18n/hr_HR.po +++ b/hr_timesheet_time_control/i18n/hr_HR.po @@ -21,21 +21,21 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -45,52 +45,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/hu.po b/hr_timesheet_time_control/i18n/hu.po index f7106a4361..f269759c17 100644 --- a/hr_timesheet_time_control/i18n/hu.po +++ b/hr_timesheet_time_control/i18n/hu.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,31 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Lezárt" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Dátum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Dátum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Lezárt" diff --git a/hr_timesheet_time_control/i18n/id.po b/hr_timesheet_time_control/i18n/id.po index 0e25f33836..c8a82affff 100644 --- a/hr_timesheet_time_control/i18n/id.po +++ b/hr_timesheet_time_control/i18n/id.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Tanggal" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Tanggal" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/it.po b/hr_timesheet_time_control/i18n/it.po index 4e61e71111..8e76a447b4 100644 --- a/hr_timesheet_time_control/i18n/it.po +++ b/hr_timesheet_time_control/i18n/it.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "Riga Analitica" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "Fine" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/ja.po b/hr_timesheet_time_control/i18n/ja.po index e69ac1a5d9..3291c1f2b3 100644 --- a/hr_timesheet_time_control/i18n/ja.po +++ b/hr_timesheet_time_control/i18n/ja.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "日付" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "日付" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/ko.po b/hr_timesheet_time_control/i18n/ko.po index 53e9a42161..3c94ed8b8f 100644 --- a/hr_timesheet_time_control/i18n/ko.po +++ b/hr_timesheet_time_control/i18n/ko.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "날짜" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "날짜" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/lt.po b/hr_timesheet_time_control/i18n/lt.po index 872394c856..fb63229fb1 100644 --- a/hr_timesheet_time_control/i18n/lt.po +++ b/hr_timesheet_time_control/i18n/lt.po @@ -20,21 +20,21 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/lv.po b/hr_timesheet_time_control/i18n/lv.po index de009a64a6..9986f0c7cd 100644 --- a/hr_timesheet_time_control/i18n/lv.po +++ b/hr_timesheet_time_control/i18n/lv.po @@ -20,21 +20,21 @@ msgstr "" "2);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,31 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Slēgts" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datums" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datums" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Slēgts" diff --git a/hr_timesheet_time_control/i18n/mk.po b/hr_timesheet_time_control/i18n/mk.po index 2918845a37..29e66c2c05 100644 --- a/hr_timesheet_time_control/i18n/mk.po +++ b/hr_timesheet_time_control/i18n/mk.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Датум" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Датум" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/mn.po b/hr_timesheet_time_control/i18n/mn.po index 781ba6f4cd..ebbd520f1f 100644 --- a/hr_timesheet_time_control/i18n/mn.po +++ b/hr_timesheet_time_control/i18n/mn.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Огноо" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Огноо" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/nb.po b/hr_timesheet_time_control/i18n/nb.po index 131f98fcb1..6988c0c85d 100644 --- a/hr_timesheet_time_control/i18n/nb.po +++ b/hr_timesheet_time_control/i18n/nb.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,31 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Stengt" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Dato" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Dato" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Stengt" diff --git a/hr_timesheet_time_control/i18n/nl.po b/hr_timesheet_time_control/i18n/nl.po index b5d0778231..cbd50d36b1 100644 --- a/hr_timesheet_time_control/i18n/nl.po +++ b/hr_timesheet_time_control/i18n/nl.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/nl_BE.po b/hr_timesheet_time_control/i18n/nl_BE.po index 6d5f6f2766..47b53bd9fe 100644 --- a/hr_timesheet_time_control/i18n/nl_BE.po +++ b/hr_timesheet_time_control/i18n/nl_BE.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/nl_NL.po b/hr_timesheet_time_control/i18n/nl_NL.po index 1dc6bd6de6..20bbb7671f 100644 --- a/hr_timesheet_time_control/i18n/nl_NL.po +++ b/hr_timesheet_time_control/i18n/nl_NL.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,43 @@ msgid "Analytic Line" msgstr "Analytische regel" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "Sluit taak" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Gesloten" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "Open taak" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "Stop" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "Taken in deze fase worden als gesloten beschouwd." +#~ msgid "Close task" +#~ msgstr "Sluit taak" -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "Er is geen fase met gesloten controle. Markeer er eentje a.u.b." +#~ msgid "Closed" +#~ msgstr "Gesloten" + +#~ msgid "Open task" +#~ msgstr "Open taak" + +#~ msgid "Tasks in this stage are considered closed." +#~ msgstr "Taken in deze fase worden als gesloten beschouwd." + +#~ msgid "There isn't any stage with closed check. Please mark any." +#~ msgstr "Er is geen fase met gesloten controle. Markeer er eentje a.u.b." diff --git a/hr_timesheet_time_control/i18n/pl.po b/hr_timesheet_time_control/i18n/pl.po index bc2a6035c7..9e8aca1eb8 100644 --- a/hr_timesheet_time_control/i18n/pl.po +++ b/hr_timesheet_time_control/i18n/pl.po @@ -21,21 +21,21 @@ msgstr "" "%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -45,52 +45,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/project_timesheet_time_control.pot b/hr_timesheet_time_control/i18n/project_timesheet_time_control.pot index d1f5964403..5eb3ee9214 100644 --- a/hr_timesheet_time_control/i18n/project_timesheet_time_control.pot +++ b/hr_timesheet_time_control/i18n/project_timesheet_time_control.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,19 +14,19 @@ msgstr "" "Plural-Forms: \n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -36,51 +36,27 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +msgid "Date time" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "Open/Close timesheet line automatically open/close its tasks. Do you want to proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:82 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" - diff --git a/hr_timesheet_time_control/i18n/pt.po b/hr_timesheet_time_control/i18n/pt.po index f76c00ebab..9fb1a9acff 100644 --- a/hr_timesheet_time_control/i18n/pt.po +++ b/hr_timesheet_time_control/i18n/pt.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,31 @@ msgid "Analytic Line" msgstr "Linha Analítica" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Fechado" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Fechado" diff --git a/hr_timesheet_time_control/i18n/pt_BR.po b/hr_timesheet_time_control/i18n/pt_BR.po index dfd09c7cc4..942df4a6a6 100644 --- a/hr_timesheet_time_control/i18n/pt_BR.po +++ b/hr_timesheet_time_control/i18n/pt_BR.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,31 @@ msgid "Analytic Line" msgstr "Linhas Analíticas" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Fechado" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Fechado" diff --git a/hr_timesheet_time_control/i18n/pt_PT.po b/hr_timesheet_time_control/i18n/pt_PT.po index 7e16b92c0b..174a5195f1 100644 --- a/hr_timesheet_time_control/i18n/pt_PT.po +++ b/hr_timesheet_time_control/i18n/pt_PT.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/ro.po b/hr_timesheet_time_control/i18n/ro.po index ebd6f9d964..2a7b1726fd 100644 --- a/hr_timesheet_time_control/i18n/ro.po +++ b/hr_timesheet_time_control/i18n/ro.po @@ -20,21 +20,21 @@ msgstr "" "2:1));\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Data" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/ru.po b/hr_timesheet_time_control/i18n/ru.po index fd8cec5819..59389b8285 100644 --- a/hr_timesheet_time_control/i18n/ru.po +++ b/hr_timesheet_time_control/i18n/ru.po @@ -21,21 +21,21 @@ msgstr "" "%100>=11 && n%100<=14)? 2 : 3);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -45,52 +45,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Дата" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Дата" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/sk.po b/hr_timesheet_time_control/i18n/sk.po index 1b2ed8ef49..de188e5fb6 100644 --- a/hr_timesheet_time_control/i18n/sk.po +++ b/hr_timesheet_time_control/i18n/sk.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Dátum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Dátum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/sl.po b/hr_timesheet_time_control/i18n/sl.po index cea2986445..12835409cf 100644 --- a/hr_timesheet_time_control/i18n/sl.po +++ b/hr_timesheet_time_control/i18n/sl.po @@ -21,21 +21,21 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -45,52 +45,43 @@ msgid "Analytic Line" msgstr "Analitična postavka" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "Zaključi opravilo" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Zaključeno" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "Odpri opravilo" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "Stoj" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "Opravila v tej stopnji se smatrajo za zaključena." +#~ msgid "Close task" +#~ msgstr "Zaključi opravilo" -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "Ni stopnje za zaključena opravila. Določite eno." +#~ msgid "Closed" +#~ msgstr "Zaključeno" + +#~ msgid "Open task" +#~ msgstr "Odpri opravilo" + +#~ msgid "Tasks in this stage are considered closed." +#~ msgstr "Opravila v tej stopnji se smatrajo za zaključena." + +#~ msgid "There isn't any stage with closed check. Please mark any." +#~ msgstr "Ni stopnje za zaključena opravila. Določite eno." diff --git a/hr_timesheet_time_control/i18n/sr.po b/hr_timesheet_time_control/i18n/sr.po index e9f809c902..53c38f289f 100644 --- a/hr_timesheet_time_control/i18n/sr.po +++ b/hr_timesheet_time_control/i18n/sr.po @@ -20,21 +20,21 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/sr@latin.po b/hr_timesheet_time_control/i18n/sr@latin.po index 07a57a2d23..de81cc0d48 100644 --- a/hr_timesheet_time_control/i18n/sr@latin.po +++ b/hr_timesheet_time_control/i18n/sr@latin.po @@ -21,21 +21,21 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -45,52 +45,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/sv.po b/hr_timesheet_time_control/i18n/sv.po index e3cf037b0b..11adf223bb 100644 --- a/hr_timesheet_time_control/i18n/sv.po +++ b/hr_timesheet_time_control/i18n/sv.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,31 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "Stängd" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Datum" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" +#~ msgid "Closed" +#~ msgstr "Stängd" diff --git a/hr_timesheet_time_control/i18n/th.po b/hr_timesheet_time_control/i18n/th.po index 59c2c6d8a4..d0cba88bd4 100644 --- a/hr_timesheet_time_control/i18n/th.po +++ b/hr_timesheet_time_control/i18n/th.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "วันที่" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "วันที่" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/tr.po b/hr_timesheet_time_control/i18n/tr.po index ad64924c16..bf63506da3 100644 --- a/hr_timesheet_time_control/i18n/tr.po +++ b/hr_timesheet_time_control/i18n/tr.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Tarih" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Tarih" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/uk.po b/hr_timesheet_time_control/i18n/uk.po index cd20afbb9e..343675c636 100644 --- a/hr_timesheet_time_control/i18n/uk.po +++ b/hr_timesheet_time_control/i18n/uk.po @@ -20,21 +20,21 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Дата" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Дата" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/vi.po b/hr_timesheet_time_control/i18n/vi.po index 65581373f3..543f031513 100644 --- a/hr_timesheet_time_control/i18n/vi.po +++ b/hr_timesheet_time_control/i18n/vi.po @@ -19,21 +19,21 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -43,52 +43,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "Ngày" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "Ngày" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/vi_VN.po b/hr_timesheet_time_control/i18n/vi_VN.po index 60c0441b25..6477677d90 100644 --- a/hr_timesheet_time_control/i18n/vi_VN.po +++ b/hr_timesheet_time_control/i18n/vi_VN.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,26 @@ msgid "Analytic Line" msgstr "Analytic Line" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +msgid "Date time" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/zh_CN.po b/hr_timesheet_time_control/i18n/zh_CN.po index 5cb091d381..f053cba683 100644 --- a/hr_timesheet_time_control/i18n/zh_CN.po +++ b/hr_timesheet_time_control/i18n/zh_CN.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "日期" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "日期" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/i18n/zh_TW.po b/hr_timesheet_time_control/i18n/zh_TW.po index 1350a99de4..6b263dee23 100644 --- a/hr_timesheet_time_control/i18n/zh_TW.po +++ b/hr_timesheet_time_control/i18n/zh_TW.po @@ -20,21 +20,21 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_kanban_account_analytic_line msgid "" "\n" " Stop" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Duration: " msgstr "" @@ -44,52 +44,28 @@ msgid "Analytic Line" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Close task" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Closed" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line_date_time +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Date" msgstr "日期" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited -msgid "Duration" -msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -msgid "Open task" -msgstr "" +#: model:ir.model.fields,field_description:project_timesheet_time_control.field_account_analytic_line__date_time +#, fuzzy +#| msgid "Date" +msgid "Date time" +msgstr "日期" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -msgid "" -"Open/Close timesheet line automatically open/close its tasks. Do you want to " -"proceed?" +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +msgid "Duration" msgstr "" #. module: project_timesheet_time_control -#: model:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree -#: model:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form -#: model:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.account_analytic_line_tree +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.hr_timesheet_line_form +#: model_terms:ir.ui.view,arch_db:project_timesheet_time_control.view_task_form2_inherited msgid "Stop" msgstr "" - -#. module: project_timesheet_time_control -#: model:ir.model.fields,help:project_timesheet_time_control.field_account_analytic_line_closed -msgid "Tasks in this stage are considered closed." -msgstr "" - -#. module: project_timesheet_time_control -#: code:addons/project_timesheet_time_control/models/account_analytic_line.py:73 -#, python-format -msgid "There isn't any stage with closed check. Please mark any." -msgstr "" diff --git a/hr_timesheet_time_control/models/account_analytic_line.py b/hr_timesheet_time_control/models/account_analytic_line.py index 59deb63886..10346a6aad 100644 --- a/hr_timesheet_time_control/models/account_analytic_line.py +++ b/hr_timesheet_time_control/models/account_analytic_line.py @@ -3,45 +3,20 @@ # Copyright 2016-2018 Tecnativa - Pedro M. Baeza # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html -from odoo import _, api, exceptions, fields, models +from odoo import api, fields, models from datetime import datetime class AccountAnalyticLine(models.Model): _inherit = 'account.analytic.line' + _order = 'date_time desc' - date_time = fields.Datetime(default=fields.Datetime.now, string='Date') - closed = fields.Boolean(related='task_id.stage_id.closed', readonly=True) - - @api.onchange('project_id') - def onchange_project_id(self): - task = self.task_id - res = super().onchange_project_id() - if res is None: - res = {} - if self.project_id: # Show only opened tasks - res_domain = res.setdefault('domain', {}) - res_domain.update({ - 'task_id': [ - ('project_id', '=', self.project_id.id), - ('stage_id.closed', '=', False), - ], - }) - else: # Reset domain for allowing selection of any task - res['domain'] = {'task_id': []} - if task.project_id == self.project_id: - # Restore previous task if belongs to the same project - self.task_id = task - return res - - @api.onchange('task_id') - def onchange_task_id_project_timesheet_time_control(self): - if self.task_id: - self.project_id = self.task_id.project_id + date_time = fields.Datetime(default=fields.Datetime.now, + string='Date time') def eval_date(self, vals): if vals.get('date_time'): - vals['date'] = fields.Date.from_string(vals['date_time']) + vals['date'] = fields.Date.to_date(vals['date_time']) return vals @api.model @@ -54,40 +29,7 @@ def write(self, vals): @api.multi def button_end_work(self): - end_date = datetime.now() + now = datetime.now() for line in self: - date = fields.Datetime.from_string(line.date_time) - line.unit_amount = (end_date - date).total_seconds() / 3600 + line.unit_amount = (now - line.date_time).total_seconds() / 3600 return True - - @api.multi - def button_open_task(self): - for line in self.filtered('task_id'): - if line.task_id.project_id: - stage = self.env['project.task.type'].search( - [('project_ids', '=', line.task_id.project_id.id), - ('closed', '=', False)], limit=1) - if stage: - line.task_id.write({'stage_id': stage.id}) - - @api.multi - def button_close_task(self): - for line in self.filtered('task_id.project_id'): - stage = self.env['project.task.type'].search( - [('project_ids', '=', line.task_id.project_id.id), - ('closed', '=', True)], limit=1, - ) - if not stage: # pragma: no cover - raise exceptions.UserError( - _("There isn't any stage with closed check. Please " - "mark any.") - ) - line.task_id.write({'stage_id': stage.id}) - - @api.multi - def toggle_closed(self): - self.ensure_one() - if self.closed: - self.button_open_task() - else: - self.button_close_task() diff --git a/hr_timesheet_time_control/readme/DESCRIPTION.rst b/hr_timesheet_time_control/readme/DESCRIPTION.rst index c539607c9a..6f015354c5 100644 --- a/hr_timesheet_time_control/readme/DESCRIPTION.rst +++ b/hr_timesheet_time_control/readme/DESCRIPTION.rst @@ -1,9 +1,4 @@ * This module adds a button at account analytic line level to compute the spent time, in minutes, from start date to the current moment. -* It improves the domain applied to task field for accommodating to a project - flow. * It adds a datetime field that replaces ``date`` field in tree view, and write date field with datetime field value. -* Finally, it allows to open and close tasks from account analytic lines. - The selected closed stage is the first one that is found with the mark - "Closed" checked. diff --git a/hr_timesheet_time_control/readme/INSTALL.rst b/hr_timesheet_time_control/readme/INSTALL.rst new file mode 100644 index 0000000000..bb747feb37 --- /dev/null +++ b/hr_timesheet_time_control/readme/INSTALL.rst @@ -0,0 +1,3 @@ +This module depends on hr_timesheet_task_stage and hr_timesheet_task_domain +modules that are in `OCA/timesheet `_ +repository diff --git a/hr_timesheet_time_control/static/description/index.html b/hr_timesheet_time_control/static/description/index.html index d40add8744..fcb8daecdc 100644 --- a/hr_timesheet_time_control/static/description/index.html +++ b/hr_timesheet_time_control/static/description/index.html @@ -3,7 +3,7 @@ - + Project timesheet time control -
-

Project timesheet time control

+
+ + +Odoo Community Association + +
+

Project timesheet time control

-

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

+

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

Allow to track the exact moment when a timesheet line is started (not only the day, but also the minute and second) and let users start and stop timers easily.

@@ -389,7 +394,7 @@

Project timesheet time control

-

Installation

+

Installation

This module depends on modules found in these repositories:

-

Usage

+

Usage

You can access via timesheets:

  1. Go to Timesheets > Timesheet > All Timesheets.
  2. @@ -460,14 +465,14 @@

    Usage

    that belongs to another user.

-

Known issues / Roadmap

+

Known issues / Roadmap

-

Bug Tracker

+

Bug Tracker

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

Bug Tracker

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

-

Credits

+

Credits

-

Authors

+

Authors

  • Tecnativa
-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association @@ -527,11 +532,12 @@

Maintainers

mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

-

ernestotejeda

+

victoralmau

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.

+
From ab1b7fb7b3556aa699d9b3efb654b737ca27dae3 Mon Sep 17 00:00:00 2001 From: Christopher Rogos Date: Fri, 17 Oct 2025 10:27:35 +0000 Subject: [PATCH 60/64] [IMP] project_timesheet_time_control: sync unit_amount with date_time and date_time_end on form view --- .../models/account_analytic_line.py | 9 ++++++ .../test_project_timesheet_time_control.py | 28 +++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/hr_timesheet_time_control/models/account_analytic_line.py b/hr_timesheet_time_control/models/account_analytic_line.py index c0537f1713..dbf17c227c 100644 --- a/hr_timesheet_time_control/models/account_analytic_line.py +++ b/hr_timesheet_time_control/models/account_analytic_line.py @@ -92,6 +92,15 @@ def _compute_show_time_control(self): else: one.show_time_control = "stop" + @api.onchange("date_time", "date_time_end") + def _onchange_date_time(self): + hour_uom = self.env.ref("uom.product_uom_hour") + if self.product_uom_id == hour_uom: + if self.date_time and self.date_time_end: + self.unit_amount = self._duration(self.date_time, self.date_time_end) + else: + self.unit_amount = 0 + @api.model_create_multi def create(self, vals_list): return super().create(list(map(self._eval_date, vals_list))) diff --git a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py index 0af42b47d1..ecf6a3d529 100644 --- a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py +++ b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py @@ -290,3 +290,31 @@ def test_non_timesheet_analytic_line(self): ) line.unit_amount = 500.0 self.assertFalse(line.date_time_end) + + def test_onchange_date_time_with_hour_uom_and_dates(self): + hour_uom = self.env.ref("uom.product_uom_hour") + form = Form( + self.env["account.analytic.line"] + .with_user(self.user) + .with_context(default_product_uom_id=hour_uom.id), + view=self.env.ref("project_timesheet_time_control.hr_timesheet_line_form"), + ) + form.date_time = datetime(2023, 1, 1, 8, 0, 0) + form.date_time_end = datetime(2023, 1, 1, 10, 0, 0) + self.assertEqual(form.unit_amount, 2.0) + + form.date_time_end = datetime(2023, 1, 1, 12, 0, 0) + self.assertEqual(form.unit_amount, 4.0) + + def test_onchange_date_time_with_hour_uom_no_end_date(self): + hour_uom = self.env.ref("uom.product_uom_hour") + form = Form( + self.env["account.analytic.line"] + .with_user(self.user) + .with_context(default_product_uom_id=hour_uom.id), + view=self.env.ref("project_timesheet_time_control.hr_timesheet_line_form"), + ) + form.date_time = datetime(2023, 1, 1, 8, 0, 0) + form.date_time_end = False + + self.assertEqual(form.unit_amount, 0) From 7d6ac532837c4be842652a434af6c13287132c2c Mon Sep 17 00:00:00 2001 From: Christopher Rogos Date: Fri, 17 Oct 2025 19:32:17 +0000 Subject: [PATCH 61/64] [IMP] project_timesheet_time_control: enhance date handling --- .../models/account_analytic_line.py | 29 ++++++++- .../test_project_timesheet_time_control.py | 61 ++++++++++++++++++- 2 files changed, 88 insertions(+), 2 deletions(-) diff --git a/hr_timesheet_time_control/models/account_analytic_line.py b/hr_timesheet_time_control/models/account_analytic_line.py index dbf17c227c..e5373f2813 100644 --- a/hr_timesheet_time_control/models/account_analytic_line.py +++ b/hr_timesheet_time_control/models/account_analytic_line.py @@ -92,9 +92,16 @@ def _compute_show_time_control(self): else: one.show_time_control = "stop" + @api.onchange("date") + def _onchange_date(self): + hour_uom = self.env.ref("uom.product_uom_hour") + if self.product_uom_id == hour_uom and self.date_time: + self.date_time = datetime.combine(self.date, self.date_time.time()) + @api.onchange("date_time", "date_time_end") def _onchange_date_time(self): hour_uom = self.env.ref("uom.product_uom_hour") + self.date = self.date_time.date() if self.product_uom_id == hour_uom: if self.date_time and self.date_time_end: self.unit_amount = self._duration(self.date_time, self.date_time_end) @@ -103,10 +110,30 @@ def _onchange_date_time(self): @api.model_create_multi def create(self, vals_list): + for vals in vals_list: + if "date" in vals and "date_time" not in vals: + date = fields.Date.to_date(vals["date"]) + vals["date_time"] = datetime.combine(date, fields.Datetime.now().time()) return super().create(list(map(self._eval_date, vals_list))) def write(self, vals): - return super().write(self._eval_date(vals)) + if "date" in vals and "date_time" not in vals: + res = super( + AccountAnalyticLine, self.filtered(lambda r: not r.date_time) + ).write(vals) + + # only overwrite the date part of date_time + for record in self.filtered(lambda r: r.date_time): + vals["date_time"] = fields.Datetime.to_string( + datetime.combine( + fields.Date.to_date(vals["date"]), + record.date_time.time(), + ) + ) + res |= super(AccountAnalyticLine, record).write(vals) + return res + else: + return super().write(self._eval_date(vals)) def button_resume_work(self): """Create a new record starting now, with a running timer.""" diff --git a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py index ecf6a3d529..c9cbe2a05a 100644 --- a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py +++ b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py @@ -2,7 +2,9 @@ # Copyright 2025 Tecnativa - Víctor Martínez # License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0 -from datetime import date, datetime, timedelta +from datetime import date, datetime, time, timedelta + +from freezegun import freeze_time from odoo import exceptions from odoo.tests import Form, new_test_user @@ -305,6 +307,7 @@ def test_onchange_date_time_with_hour_uom_and_dates(self): form.date_time_end = datetime(2023, 1, 1, 12, 0, 0) self.assertEqual(form.unit_amount, 4.0) + self.assertEqual(form.date, date(2023, 1, 1)) def test_onchange_date_time_with_hour_uom_no_end_date(self): hour_uom = self.env.ref("uom.product_uom_hour") @@ -318,3 +321,59 @@ def test_onchange_date_time_with_hour_uom_no_end_date(self): form.date_time_end = False self.assertEqual(form.unit_amount, 0) + self.assertEqual(form.date, date(2023, 1, 1)) + + @freeze_time("2023-01-10 09:05:10") + def test_create_with_date(self): + line = ( + self.env["account.analytic.line"] + .with_user(self.user) + .create( + { + "date": date(2023, 1, 1), + "project_id": self.project.id, + "name": "Test line", + } + ) + ) + self.assertEqual(line.date_time.date(), date(2023, 1, 1)) + + line.date = date(2023, 1, 3) + self.assertEqual(line.date, date(2023, 1, 3)) + self.assertEqual(line.date_time.date(), date(2023, 1, 3)) + self.assertEqual(line.date_time.time(), time(9, 5, 10)) + + def test_create_with_date_and_date_time(self): + line = ( + self.env["account.analytic.line"] + .with_user(self.user) + .create( + { + "date": date(2023, 1, 1), + "date_time": datetime(2023, 1, 1, 8, 0, 0), + "project_id": self.project.id, + "name": "Test line", + } + ) + ) + self.assertEqual(line.date_time, datetime(2023, 1, 1, 8, 0, 0)) + + line.date = date(2023, 1, 3) + self.assertEqual(line.date, date(2023, 1, 3)) + self.assertEqual(line.date_time, datetime(2023, 1, 3, 8, 0, 0)) + + def test_create_with_date_and_different_date_time(self): + line = ( + self.env["account.analytic.line"] + .with_user(self.user) + .create( + { + "date": date(2023, 1, 1), + "date_time": datetime(2023, 1, 3, 8, 0, 0), + "project_id": self.project.id, + "name": "Test line", + } + ) + ) + self.assertEqual(line.date, date(2023, 1, 3)) + self.assertEqual(line.date_time, datetime(2023, 1, 3, 8, 0, 0)) From 1d37e4dd55e4738a12f7adda323f091e7dc10223 Mon Sep 17 00:00:00 2001 From: Christopher Rogos Date: Tue, 9 Dec 2025 16:18:37 +0000 Subject: [PATCH 62/64] [IMP] project_timesheet_time_control: improve date_time handling in create and write methods --- .../models/account_analytic_line.py | 33 +++++++++++-------- .../test_project_timesheet_time_control.py | 12 +++++++ 2 files changed, 31 insertions(+), 14 deletions(-) diff --git a/hr_timesheet_time_control/models/account_analytic_line.py b/hr_timesheet_time_control/models/account_analytic_line.py index e5373f2813..9c6bd4746f 100644 --- a/hr_timesheet_time_control/models/account_analytic_line.py +++ b/hr_timesheet_time_control/models/account_analytic_line.py @@ -54,6 +54,13 @@ def _inverse_date_time_end(self): @api.model def _eval_date(self, vals): + if vals.get("date") and not vals.get("date_time"): + return dict( + vals, + date_time=datetime.combine( + fields.Date.to_date(vals["date"]), fields.Datetime.now().time() + ), + ) if vals.get("date_time"): return dict(vals, date=self._convert_datetime_to_date(vals["date_time"])) return vals @@ -110,30 +117,28 @@ def _onchange_date_time(self): @api.model_create_multi def create(self, vals_list): - for vals in vals_list: - if "date" in vals and "date_time" not in vals: - date = fields.Date.to_date(vals["date"]) - vals["date_time"] = datetime.combine(date, fields.Datetime.now().time()) return super().create(list(map(self._eval_date, vals_list))) def write(self, vals): + self_individual = self.env["account.analytic.line"] + res_individual = True if "date" in vals and "date_time" not in vals: - res = super( - AccountAnalyticLine, self.filtered(lambda r: not r.date_time) - ).write(vals) - - # only overwrite the date part of date_time - for record in self.filtered(lambda r: r.date_time): + self_individual = self.filtered(lambda r: r.date_time) + # overwrite the date part of date_time for each record + for record in self_individual: vals["date_time"] = fields.Datetime.to_string( datetime.combine( fields.Date.to_date(vals["date"]), record.date_time.time(), ) ) - res |= super(AccountAnalyticLine, record).write(vals) - return res - else: - return super().write(self._eval_date(vals)) + res_individual |= super(AccountAnalyticLine, record).write(vals) + return ( + super(AccountAnalyticLine, self - self_individual).write( + self._eval_date(vals) + ) + and res_individual + ) def button_resume_work(self): """Create a new record starting now, with a running timer.""" diff --git a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py index c9cbe2a05a..cbd2d3b5ce 100644 --- a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py +++ b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py @@ -94,6 +94,18 @@ def test_write_analytic_line(self): line.with_context(tz="EST").date_time = "2016-03-24 03:00:00" self.assertEqual(line.date, date(2016, 3, 23)) + def test_write_analytic_line_date(self): + line = self._create_analytic_line(datetime(2016, 3, 24, 12, 0)) + line2 = self._create_analytic_line(datetime(2016, 3, 23, 13, 0)) + + lines = self.env["account.analytic.line"] + lines += line + lines += line2 + + lines.write({"date": datetime(2016, 1, 1)}) + self.assertEqual(line.date_time, datetime(2016, 1, 1, 12, 0)) + self.assertEqual(line2.date_time, datetime(2016, 1, 1, 13, 0)) + def test_write_analytic_line_with_string_datetime(self): line = self._create_analytic_line(datetime.now()) line.with_context(tz="EST").date_time = datetime(2016, 3, 24, 3) From 77e8995814509b31a49218d632a3e083d9dfc7d3 Mon Sep 17 00:00:00 2001 From: Christopher Rogos Date: Sun, 2 Nov 2025 21:59:36 +0000 Subject: [PATCH 63/64] [IMP] hr_timesheet_time_control: pre-commit auto fixes --- hr_timesheet_time_control/README.rst | 54 +++++++++---------- hr_timesheet_time_control/__manifest__.py | 4 +- .../static/description/index.html | 8 +-- 3 files changed, 33 insertions(+), 33 deletions(-) diff --git a/hr_timesheet_time_control/README.rst b/hr_timesheet_time_control/README.rst index 06728622e0..4750c370b6 100644 --- a/hr_timesheet_time_control/README.rst +++ b/hr_timesheet_time_control/README.rst @@ -20,14 +20,14 @@ Project timesheet time control .. |badge2| image:: https://img.shields.io/badge/license-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/18.0/project_timesheet_time_control - :alt: OCA/project +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github + :target: https://github.com/OCA/timesheet/tree/19.0/project_timesheet_time_control + :alt: OCA/timesheet .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/project-18-0/project-18-0-project_timesheet_time_control + :target: https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-project_timesheet_time_control :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/project&target_branch=18.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=19.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -46,8 +46,8 @@ Installation This module depends on modules found in these repositories: -- `OCA/timesheet `__ -- `OCA/web `__ +- `OCA/timesheet `__ +- `OCA/web `__ Usage ===== @@ -116,16 +116,16 @@ that belongs to another user. Known issues / Roadmap ====================== -- Rename to ``hr_timesheet_time_control``. -- Move to `OCA/timesheet `__. +- Rename to ``hr_timesheet_time_control``. +- Move to `OCA/timesheet `__. Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. +Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -140,26 +140,26 @@ Authors Contributors ------------ -- `Tecnativa `__: +- `Tecnativa `__: - - Pedro M. Baeza - - Antonio Espinosa - - Carlos Dauden - - Sergio Teruel - - Luis M. ontalba - - Ernesto Tejeda - - Jairo Llopis - - Carlos Roca - - David Bañón + - Pedro M. Baeza + - Antonio Espinosa + - Carlos Dauden + - Sergio Teruel + - Luis M. ontalba + - Ernesto Tejeda + - Jairo Llopis + - Carlos Roca + - David Bañón -- `Sygel `__: +- `Sygel `__: - - Valentín Vinagre - - Roger Sans + - Valentín Vinagre + - Roger Sans -- `Portailpro `__: +- `Portailpro `__: - - Simon Leblanc + - Simon Leblanc Maintainers ----------- @@ -182,6 +182,6 @@ Current `maintainer `__: |maintainer-victoralmau| -This module is part of the `OCA/project `_ project on GitHub. +This module is part of the `OCA/timesheet `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_timesheet_time_control/__manifest__.py b/hr_timesheet_time_control/__manifest__.py index d9a56b2e9c..9f8e709be2 100644 --- a/hr_timesheet_time_control/__manifest__.py +++ b/hr_timesheet_time_control/__manifest__.py @@ -8,9 +8,9 @@ "name": "Project timesheet time control", "version": "18.0.1.0.4", "category": "Project", - "author": "Tecnativa," "Odoo Community Association (OCA)", + "author": "Tecnativa,Odoo Community Association (OCA)", "maintainers": ["victoralmau"], - "website": "https://github.com/OCA/project", + "website": "https://github.com/OCA/timesheet", "depends": [ "hr_timesheet", ], diff --git a/hr_timesheet_time_control/static/description/index.html b/hr_timesheet_time_control/static/description/index.html index c0ac8e1aa0..0788185a4e 100644 --- a/hr_timesheet_time_control/static/description/index.html +++ b/hr_timesheet_time_control/static/description/index.html @@ -374,7 +374,7 @@

Project timesheet time control

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:de7b2adcef7561deb054aba411e4dac8e3e0d41b6b74331eed11effcd8f590db !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

Beta License: AGPL-3 OCA/timesheet Translate me on Weblate Try me on Runboat

Allow to track the exact moment when a timesheet line is started (not only the day, but also the minute and second) and let users start and stop timers easily.

@@ -473,10 +473,10 @@

Known issues / Roadmap

Bug Tracker

-

Bugs are tracked on GitHub Issues. +

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

+feedback.

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

@@ -533,7 +533,7 @@

Maintainers

promote its widespread use.

Current maintainer:

victoralmau

-

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

+

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

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

From 8d72c2eff763e2e5be3c66d194a1aff5d57504df Mon Sep 17 00:00:00 2001 From: Christopher Rogos Date: Sun, 2 Nov 2025 22:16:23 +0000 Subject: [PATCH 64/64] [MIG] hr_timesheet_time_control: Migration to 19.0 --- hr_timesheet_time_control/README.rst | 14 +++----- hr_timesheet_time_control/__manifest__.py | 2 +- .../models/account_analytic_line.py | 18 ++++++---- .../models/hr_timesheet_time_control_mixin.py | 24 ++++++------- hr_timesheet_time_control/readme/ROADMAP.md | 2 -- .../static/description/index.html | 34 +++++++------------ .../test_project_timesheet_time_control.py | 4 +-- .../wizards/hr_timesheet_switch.py | 14 ++++---- 8 files changed, 50 insertions(+), 62 deletions(-) delete mode 100644 hr_timesheet_time_control/readme/ROADMAP.md diff --git a/hr_timesheet_time_control/README.rst b/hr_timesheet_time_control/README.rst index 4750c370b6..9a4be248d6 100644 --- a/hr_timesheet_time_control/README.rst +++ b/hr_timesheet_time_control/README.rst @@ -21,10 +21,10 @@ Project timesheet time control :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ftimesheet-lightgray.png?logo=github - :target: https://github.com/OCA/timesheet/tree/19.0/project_timesheet_time_control + :target: https://github.com/OCA/timesheet/tree/19.0/hr_timesheet_time_control :alt: OCA/timesheet .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-project_timesheet_time_control + :target: https://translation.odoo-community.org/projects/timesheet-19-0/timesheet-19-0-hr_timesheet_time_control :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png :target: https://runboat.odoo-community.org/builds?repo=OCA/timesheet&target_branch=19.0 @@ -113,19 +113,13 @@ Note: All the *Start/Resume/Stop* features are disabled if you don't belong to the *Timesheets/User* group or if you are viewing a timesheet that belongs to another user. -Known issues / Roadmap -====================== - -- Rename to ``hr_timesheet_time_control``. -- Move to `OCA/timesheet `__. - Bug Tracker =========== Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -182,6 +176,6 @@ Current `maintainer `__: |maintainer-victoralmau| -This module is part of the `OCA/timesheet `_ project on GitHub. +This module is part of the `OCA/timesheet `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_timesheet_time_control/__manifest__.py b/hr_timesheet_time_control/__manifest__.py index 9f8e709be2..efa86a9a30 100644 --- a/hr_timesheet_time_control/__manifest__.py +++ b/hr_timesheet_time_control/__manifest__.py @@ -6,7 +6,7 @@ { "name": "Project timesheet time control", - "version": "18.0.1.0.4", + "version": "19.0.1.0.0", "category": "Project", "author": "Tecnativa,Odoo Community Association (OCA)", "maintainers": ["victoralmau"], diff --git a/hr_timesheet_time_control/models/account_analytic_line.py b/hr_timesheet_time_control/models/account_analytic_line.py index 9c6bd4746f..725378ea0a 100644 --- a/hr_timesheet_time_control/models/account_analytic_line.py +++ b/hr_timesheet_time_control/models/account_analytic_line.py @@ -7,7 +7,7 @@ from dateutil.relativedelta import relativedelta -from odoo import _, api, fields, models +from odoo import api, fields, models from odoo.exceptions import UserError @@ -15,8 +15,14 @@ class AccountAnalyticLine(models.Model): _inherit = "account.analytic.line" _order = "date_time desc" + @api.model + def _get_default_start_time(self): + return fields.Datetime.now() + date_time = fields.Datetime( - string="Start Time", default=fields.Datetime.now, copy=False + string="Start Time", + default=lambda self: self._get_default_start_time(), + copy=False, ) date_time_end = fields.Datetime( string="End Time", @@ -143,7 +149,7 @@ def write(self, vals): def button_resume_work(self): """Create a new record starting now, with a running timer.""" return { - "name": _("Resume work"), + "name": self.env._("Resume work"), "res_model": "hr.timesheet.switch", "target": "new", "type": "ir.actions.act_window", @@ -158,11 +164,11 @@ def button_end_work(self): for line in self: if line.unit_amount: raise UserError( - _( + self.env._( "Cannot stop timer %d because it is not running. " - "Refresh the page and check again." + "Refresh the page and check again.", + line.id, ) - % line.id ) line.unit_amount = line._duration(line.date_time, end) return True diff --git a/hr_timesheet_time_control/models/hr_timesheet_time_control_mixin.py b/hr_timesheet_time_control/models/hr_timesheet_time_control_mixin.py index 6ba36e45c4..0958f0a169 100644 --- a/hr_timesheet_time_control/models/hr_timesheet_time_control_mixin.py +++ b/hr_timesheet_time_control/models/hr_timesheet_time_control_mixin.py @@ -1,7 +1,7 @@ # Copyright 2019 Tecnativa - Jairo Llopis # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo import _, api, fields, models +from odoo import api, fields, models from odoo.exceptions import UserError @@ -30,15 +30,12 @@ def _timesheet_running_domain(self): def _compute_show_time_control(self): """Decide which time control button to show, if any.""" related_field = self._relation_with_timesheet_line() - grouped = self.env["account.analytic.line"].read_group( + grouped = self.env["account.analytic.line"]._read_group( domain=self._timesheet_running_domain(), - fields=["id"], + aggregates=["id:count_distinct"], groupby=[related_field], ) - lines_per_record = { - group[related_field][0]: group[f"{related_field}_count"] - for group in grouped - } + lines_per_record = {group[0].id: group[1] for group in grouped} button_per_lines = {0: "start", 1: "stop"} for record in self: record.show_time_control = button_per_lines.get( @@ -51,7 +48,7 @@ def button_start_work(self): related_field = self._relation_with_timesheet_line() return { "context": {f"default_{related_field}": self.id}, - "name": _("Start work"), + "name": self.env._("Start work"), "res_model": "hr.timesheet.switch", "target": "new", "type": "ir.actions.act_window", @@ -65,11 +62,12 @@ def button_end_work(self): ) if not running_lines: model = self.env["ir.model"].sudo().search([("model", "=", self._name)]) - message = _( + message = self.env._( "No running timer found in %(model)s %(record)s. " - "Refresh the page and check again." - ) - raise UserError( - message % {"model": model.name, "record": self.display_name} + "Refresh the page and check again.", + model=model.name, + record=self.display_name, ) + raise UserError(message) + return running_lines.button_end_work() diff --git a/hr_timesheet_time_control/readme/ROADMAP.md b/hr_timesheet_time_control/readme/ROADMAP.md deleted file mode 100644 index 16c08c8a24..0000000000 --- a/hr_timesheet_time_control/readme/ROADMAP.md +++ /dev/null @@ -1,2 +0,0 @@ -- Rename to `hr_timesheet_time_control`. -- Move to [OCA/timesheet](https://github.com/OCA/timesheet). diff --git a/hr_timesheet_time_control/static/description/index.html b/hr_timesheet_time_control/static/description/index.html index 0788185a4e..7cf7f35164 100644 --- a/hr_timesheet_time_control/static/description/index.html +++ b/hr_timesheet_time_control/static/description/index.html @@ -374,7 +374,7 @@

Project timesheet time control

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:de7b2adcef7561deb054aba411e4dac8e3e0d41b6b74331eed11effcd8f590db !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/timesheet Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/timesheet Translate me on Weblate Try me on Runboat

Allow to track the exact moment when a timesheet line is started (not only the day, but also the minute and second) and let users start and stop timers easily.

@@ -383,12 +383,11 @@

Project timesheet time control

  • Installation
  • Usage
  • -
  • Known issues / Roadmap
  • -
  • Bug Tracker
  • -
  • Credits @@ -464,31 +463,24 @@

    Usage

    belong to the Timesheets/User group or if you are viewing a timesheet that belongs to another user.

    -
    -

    Known issues / Roadmap

    - -
    -

    Bug Tracker

    +

    Bug Tracker

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

    +feedback.

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

    -

    Credits

    +

    Credits

    -

    Authors

    +

    Authors

    • Tecnativa
    -

    Maintainers

    +

    Maintainers

    This module is maintained by the OCA.

    Odoo Community Association @@ -533,7 +525,7 @@

    Maintainers

    promote its widespread use.

    Current maintainer:

    victoralmau

    -

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

    +

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

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

    diff --git a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py index cbd2d3b5ce..88149f70ba 100644 --- a/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py +++ b/hr_timesheet_time_control/tests/test_project_timesheet_time_control.py @@ -311,7 +311,7 @@ def test_onchange_date_time_with_hour_uom_and_dates(self): self.env["account.analytic.line"] .with_user(self.user) .with_context(default_product_uom_id=hour_uom.id), - view=self.env.ref("project_timesheet_time_control.hr_timesheet_line_form"), + view=self.env.ref("hr_timesheet_time_control.hr_timesheet_line_form"), ) form.date_time = datetime(2023, 1, 1, 8, 0, 0) form.date_time_end = datetime(2023, 1, 1, 10, 0, 0) @@ -327,7 +327,7 @@ def test_onchange_date_time_with_hour_uom_no_end_date(self): self.env["account.analytic.line"] .with_user(self.user) .with_context(default_product_uom_id=hour_uom.id), - view=self.env.ref("project_timesheet_time_control.hr_timesheet_line_form"), + view=self.env.ref("hr_timesheet_time_control.hr_timesheet_line_form"), ) form.date_time = datetime(2023, 1, 1, 8, 0, 0) form.date_time_end = False diff --git a/hr_timesheet_time_control/wizards/hr_timesheet_switch.py b/hr_timesheet_time_control/wizards/hr_timesheet_switch.py index 498c99ead2..ea27ec3108 100644 --- a/hr_timesheet_time_control/wizards/hr_timesheet_switch.py +++ b/hr_timesheet_time_control/wizards/hr_timesheet_switch.py @@ -1,9 +1,9 @@ # Copyright 2019 Tecnativa - Jairo Llopis # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -from odoo import _, api, fields, models +from odoo import api, fields, models from odoo.exceptions import UserError -from odoo.osv import expression +from odoo.fields import Domain class HrTimesheetSwitch(models.TransientModel): @@ -13,7 +13,7 @@ class HrTimesheetSwitch(models.TransientModel): def _domain_project_id(self): domain = [("allow_timesheets", "=", True)] if not self.env.user.has_group("hr_timesheet.group_timesheet_manager"): - return expression.AND( + return Domain.AND( [ domain, [ @@ -54,7 +54,7 @@ def _domain_project_id(self): compute="_compute_project_id", store=True, readonly=False, - domain=_domain_project_id, + domain=lambda self: self._domain_project_id(), ) company_id = fields.Many2one( comodel_name="res.company", @@ -108,11 +108,11 @@ def _default_running_timer_id(self, employee=None): ) if len(running) > 1: raise UserError( - _( + self.env._( "%d running timers found. Cannot know which one to stop. " - "Please stop them manually." + "Please stop them manually.", + len(running), ) - % len(running) ) return running