From e81263226ad8f7e55018873ab0dd7f30fcecfd85 Mon Sep 17 00:00:00 2001 From: Alba Riera Date: Thu, 17 Jun 2021 12:59:19 +0200 Subject: [PATCH 01/22] [ADD] hr_personal_equipment: added module to manage employee personal equipment --- hr_personal_equipment_request/README.rst | 91 ++++ hr_personal_equipment_request/__init__.py | 1 + hr_personal_equipment_request/__manifest__.py | 22 + .../models/__init__.py | 4 + .../models/hr_employee.py | 56 +++ .../models/hr_personal_equipment.py | 70 +++ .../models/hr_personal_equipment_request.py | 48 ++ .../models/product_template.py | 12 + .../readme/CONTRIBUTORS.rst | 1 + .../readme/DESCRIPTION.rst | 1 + .../readme/USAGE.rst | 20 + ...hr_personal_equipment_request_security.xml | 37 ++ .../security/ir.model.access.csv | 6 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 443 ++++++++++++++++++ .../tests/__init__.py | 1 + .../test_hr_personal_equipment_request.py | 120 +++++ .../views/hr_employee.xml | 36 ++ .../views/hr_personal_equipment.xml | 116 +++++ .../views/hr_personal_equipment_request.xml | 126 +++++ .../views/product_template.xml | 25 + 21 files changed, 1236 insertions(+) create mode 100644 hr_personal_equipment_request/README.rst create mode 100644 hr_personal_equipment_request/__init__.py create mode 100644 hr_personal_equipment_request/__manifest__.py create mode 100644 hr_personal_equipment_request/models/__init__.py create mode 100644 hr_personal_equipment_request/models/hr_employee.py create mode 100644 hr_personal_equipment_request/models/hr_personal_equipment.py create mode 100644 hr_personal_equipment_request/models/hr_personal_equipment_request.py create mode 100644 hr_personal_equipment_request/models/product_template.py create mode 100644 hr_personal_equipment_request/readme/CONTRIBUTORS.rst create mode 100644 hr_personal_equipment_request/readme/DESCRIPTION.rst create mode 100644 hr_personal_equipment_request/readme/USAGE.rst create mode 100644 hr_personal_equipment_request/security/hr_personal_equipment_request_security.xml create mode 100644 hr_personal_equipment_request/security/ir.model.access.csv create mode 100644 hr_personal_equipment_request/static/description/icon.png create mode 100644 hr_personal_equipment_request/static/description/index.html create mode 100644 hr_personal_equipment_request/tests/__init__.py create mode 100644 hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py create mode 100644 hr_personal_equipment_request/views/hr_employee.xml create mode 100644 hr_personal_equipment_request/views/hr_personal_equipment.xml create mode 100644 hr_personal_equipment_request/views/hr_personal_equipment_request.xml create mode 100644 hr_personal_equipment_request/views/product_template.xml diff --git a/hr_personal_equipment_request/README.rst b/hr_personal_equipment_request/README.rst new file mode 100644 index 00000000000..14905ae94bb --- /dev/null +++ b/hr_personal_equipment_request/README.rst @@ -0,0 +1,91 @@ +===================== +Hr Personal Equipment +===================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-tegin%2Fhr-lightgray.png?logo=github + :target: https://github.com/tegin/hr/tree/12.0/hr_personal_equipment_request + :alt: tegin/hr + +|badge1| |badge2| |badge3| + +This module allows to create a personal equipment request and manage allocation of employee personal equipment. + +**Table of contents** + +.. contents:: + :local: + +Installation +============ + +To install this module, you need to have HR module installed or it will be requested during installation. + +Usage +===== + +First, products which can be requested by employees should be marked as employee personal equipment. +1. Go to *Products* (In *Inventory* App for example). +2. Select a product. +3. Mark the *Is Employee Personal Equipment* flag.(An additional page appears which serves as a hook if additional fields are needed). + +To create a personal equipment request, a common user should follow the next steps: +1. Go to menu *Employees -> Personal Equipment-> Employee Personal Equipment Request* +2. Current employee is set as default. (An Hr Officer can change the employee if needed). +3. At *Personal Equipment* select the equipments you want to request. +4. Add "Observations" at *Observations* if desired. + +Then, an HR Manager should: +1. If everything is correct, "Accept" the request. +2. Finally, when the equipment is given to the employee, the allocation should be validated. This can be done in two ways: +a) Click the allocation in the equipment request that you want to validate, the form view will be opened, and click "Validate". +b) Go to *Employees -> Personal Equipment-> Allocations*. Select the corresponding allocation and click "Validate". + +A common user can only see its own allocations. The HR Officer can see all of them. + +If needed, the allocation can be expired clicking the button "Expire", which can be found at the allocation form view. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Creu Blanca + +Contributors +~~~~~~~~~~~~ + +* Alba Riera + +Other credits +~~~~~~~~~~~~~ + + + +Maintainers +~~~~~~~~~~~ + +This module is part of the `tegin/hr `_ project on GitHub. + +You are welcome to contribute. diff --git a/hr_personal_equipment_request/__init__.py b/hr_personal_equipment_request/__init__.py new file mode 100644 index 00000000000..0650744f6bc --- /dev/null +++ b/hr_personal_equipment_request/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/hr_personal_equipment_request/__manifest__.py b/hr_personal_equipment_request/__manifest__.py new file mode 100644 index 00000000000..c1babe5dd10 --- /dev/null +++ b/hr_personal_equipment_request/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2021 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'Hr Personal Equipment Request', + 'summary': """ + This addon allows to manage employee personal equipment""", + 'version': '12.0.1.0.0', + 'license': 'AGPL-3', + 'author': 'Creu Blanca,Odoo Community Association (OCA)', + 'website': 'https://github.com/OCA/hr', + 'depends': ["product", "hr", "mail"], + 'data': [ + 'security/hr_personal_equipment_request_security.xml', + 'security/ir.model.access.csv', + 'views/product_template.xml', + 'views/hr_personal_equipment.xml', + 'views/hr_personal_equipment_request.xml', + 'views/hr_employee.xml', + ], + 'demo': [], +} diff --git a/hr_personal_equipment_request/models/__init__.py b/hr_personal_equipment_request/models/__init__.py new file mode 100644 index 00000000000..df18e18396f --- /dev/null +++ b/hr_personal_equipment_request/models/__init__.py @@ -0,0 +1,4 @@ +from . import product_template +from . import hr_personal_equipment +from . import hr_personal_equipment_request +from . import hr_employee diff --git a/hr_personal_equipment_request/models/hr_employee.py b/hr_personal_equipment_request/models/hr_employee.py new file mode 100644 index 00000000000..dafc186d4af --- /dev/null +++ b/hr_personal_equipment_request/models/hr_employee.py @@ -0,0 +1,56 @@ +# Copyright 2021 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models, _ + + +class HrEmployee(models.Model): + + _inherit = 'hr.employee' + + equipment_request_ids = fields.One2many( + comodel_name="hr.personal.equipment.request", + inverse_name="employee_id", + ) + + personal_equipment_ids = fields.One2many( + comodel_name="hr.personal.equipment", + inverse_name="employee_id", + domain=[("state", "not in", ["draft", "cancelled"])], + ) + + equipment_request_count = fields.Integer( + compute="_compute_equipment_request_count", + ) + + personal_equipment_count = fields.Integer( + compute="_compute_personal_equipment_count" + ) + + def _compute_equipment_request_count(self): + self.equipment_request_count = len(self.equipment_request_ids) + + def _compute_personal_equipment_count(self): + self.personal_equipment_count = len(self.personal_equipment_ids) + + def action_open_equipment_request(self): + self.ensure_one() + return { + "name": _("Equipment Request"), + "type": "ir.actions.act_window", + "res_model": "hr.personal.equipment.request", + "view_mode": "tree,form", + "context": {'group_by': 'state'}, + "domain": [("id", "in", self.equipment_request_ids.ids)] + } + + def action_open_personal_equipment(self): + self.ensure_one() + return { + "name": _("Personal Equipment"), + "type": "ir.actions.act_window", + "res_model": "hr.personal.equipment", + "context": {'group_by': 'state'}, + "view_mode": "tree,form", + "domain": [("id", "in", self.personal_equipment_ids.ids)] + } diff --git a/hr_personal_equipment_request/models/hr_personal_equipment.py b/hr_personal_equipment_request/models/hr_personal_equipment.py new file mode 100644 index 00000000000..b078c76be8c --- /dev/null +++ b/hr_personal_equipment_request/models/hr_personal_equipment.py @@ -0,0 +1,70 @@ +# Copyright 2021 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class HrPersonalEquipment(models.Model): + + _name = 'hr.personal.equipment' + _description = 'Adds personal equipment information and allocation' + _inherit = ["mail.thread", "mail.activity.mixin"] + + name = fields.Char(compute='_compute_name') + product_id = fields.Many2one(comodel_name='product.product', required=True, + domain=[('is_personal_equipment', '=', True)]) + employee_id = fields.Many2one(comodel_name='hr.employee', + related="equipment_request_id.employee_id", + store=True) + state = fields.Selection([("draft", "Draft"), + ("accepted", "Accepted"), + ("valid", "Valid"), + ("expired", "Expired"), + ("cancelled", "Cancelled")], + default="draft", track_visibility=True) + start_date = fields.Date() + equipment_request_id = fields.Many2one(comodel_name="hr.personal.equipment.request", + required=True, ondelete='cascade') + quantity = fields.Integer(default=1) + product_uom_id = fields.Many2one( + "uom.uom", + "Unit of Measure" + ) + + @api.onchange('product_id') + def _onchange_uom_id(self): + if self.product_id: + self.product_uom_id = self.product_id.uom_id + return {'domain': + {'product_uom_id': + [('category_id', '=', self.product_uom_id.category_id.id)] + } + } + + @api.depends('product_id', 'employee_id') + def _compute_name(self): + for rec in self: + if rec.product_id.name and rec.employee_id.name: + rec.name = "{} to {}".format(rec.product_id.name, rec.employee_id.name) + + def _validate_allocation_vals(self): + return { + 'state': 'valid', + 'start_date': fields.Date.context_today(self) if not self.start_date + else self.start_date, + } + + def validate_allocation(self): + for rec in self: + rec.write(rec._validate_allocation_vals()) + + def expire_allocation(self): + for rec in self: + rec.state = 'expired' + + def _accept_request_vals(self): + return {'state': 'accepted'} + + def _accept_request(self): + for rec in self: + rec.write(rec._accept_request_vals()) diff --git a/hr_personal_equipment_request/models/hr_personal_equipment_request.py b/hr_personal_equipment_request/models/hr_personal_equipment_request.py new file mode 100644 index 00000000000..a986cbc8b7e --- /dev/null +++ b/hr_personal_equipment_request/models/hr_personal_equipment_request.py @@ -0,0 +1,48 @@ +# Copyright 2021 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models, _ + + +class HrPersonalEquipmentRequest(models.Model): + + _name = 'hr.personal.equipment.request' + _description = 'This model allows to create a personal equipment request' + _inherit = ['mail.thread', 'mail.activity.mixin'] + + name = fields.Char(compute="_compute_name") + employee_id = fields.Many2one( + comodel_name="hr.employee", string="Employee", required=True, + default=lambda self: self._default_employee_id() + ) + line_ids = fields.One2many(string="Personal Equipment", + comodel_name="hr.personal.equipment", + inverse_name="equipment_request_id", copy=True) + state = fields.Selection([("draft", "Draft"), + ("accepted", "Accepted"), + ("cancelled", "Cancelled")], + default='draft', track_visibility=True) + observations = fields.Text() + + def _default_employee_id(self): + return self.env.user.employee_ids[:1] + + @api.depends("employee_id") + def _compute_name(self): + for rec in self: + rec.name = _("Personal Equipment Request by %s") % rec.employee_id.name + + def accept_request(self): + for rec in self: + rec.write(rec._accept_request_vals()) + rec.line_ids._accept_request() + + def _accept_request_vals(self): + return { + "state": "accepted" + } + + def cancel_request(self): + for rec in self: + rec.state = 'cancelled' + rec.line_ids.update({'state': 'cancelled'}) diff --git a/hr_personal_equipment_request/models/product_template.py b/hr_personal_equipment_request/models/product_template.py new file mode 100644 index 00000000000..e42508809dd --- /dev/null +++ b/hr_personal_equipment_request/models/product_template.py @@ -0,0 +1,12 @@ +# Copyright 2021 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class ProductTemplate(models.Model): + + _inherit = 'product.template' + + is_personal_equipment = fields.Boolean(default=False, + string="Is Employee Personal Equipment") diff --git a/hr_personal_equipment_request/readme/CONTRIBUTORS.rst b/hr_personal_equipment_request/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000000..c5fbe36d180 --- /dev/null +++ b/hr_personal_equipment_request/readme/CONTRIBUTORS.rst @@ -0,0 +1 @@ +* Alba Riera diff --git a/hr_personal_equipment_request/readme/DESCRIPTION.rst b/hr_personal_equipment_request/readme/DESCRIPTION.rst new file mode 100644 index 00000000000..748a64195dd --- /dev/null +++ b/hr_personal_equipment_request/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +This module allows to create a personal equipment request and manage allocation of employee personal equipment. diff --git a/hr_personal_equipment_request/readme/USAGE.rst b/hr_personal_equipment_request/readme/USAGE.rst new file mode 100644 index 00000000000..08340d5dbf1 --- /dev/null +++ b/hr_personal_equipment_request/readme/USAGE.rst @@ -0,0 +1,20 @@ +First, products which can be requested by employees should be marked as employee personal equipment. +1. Go to *Products* (In *Inventory* App for example). +2. Select a product. +3. Mark the *Is Employee Personal Equipment* flag.(An additional page appears which serves as a hook if additional fields are needed). + +To create a personal equipment request, a common user should follow the next steps: +1. Go to menu *Employees -> Personal Equipment-> Employee Personal Equipment Request* +2. Current employee is set as default. (An Hr Officer can change the employee if needed). +3. At *Personal Equipment* select the equipments you want to request. +4. Add "Observations" at *Observations* if desired. + +Then, an HR Manager should: +1. If everything is correct, "Accept" the request. +2. Finally, when the equipment is given to the employee, the allocation should be validated. This can be done in two ways: +a) Click the allocation in the equipment request that you want to validate, the form view will be opened, and click "Validate". +b) Go to *Employees -> Personal Equipment-> Allocations*. Select the corresponding allocation and click "Validate". + +A common user can only see its own allocations. The HR Officer can see all of them. + +If needed, the allocation can be expired clicking the button "Expire", which can be found at the allocation form view. diff --git a/hr_personal_equipment_request/security/hr_personal_equipment_request_security.xml b/hr_personal_equipment_request/security/hr_personal_equipment_request_security.xml new file mode 100644 index 00000000000..6585bc88e14 --- /dev/null +++ b/hr_personal_equipment_request/security/hr_personal_equipment_request_security.xml @@ -0,0 +1,37 @@ + + + + Access only self user's employee personal equipment request + + [('employee_id', 'in', user.employee_ids.ids)] + + + + Access all employee personal equipment request + + [(1, '=', 1)] + + + + Access only self user's employee personal equipment + + [('equipment_request_id.employee_id', 'in', user.employee_ids.ids)] + + + + Access all employee personal equipment + + [(1, '=', 1)] + + + + Delete employee personal equipment only in draft state + + [('state', '=', 'draft')] + + + + + + + diff --git a/hr_personal_equipment_request/security/ir.model.access.csv b/hr_personal_equipment_request/security/ir.model.access.csv new file mode 100644 index 00000000000..14a8be2b5e4 --- /dev/null +++ b/hr_personal_equipment_request/security/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +acl_hr_personal_equipment_officer,hr_personal_equipment_officer,model_hr_personal_equipment,hr.group_hr_user,1,1,1,1 +acl_hr_personal_equipment_user,hr_personal_equipment_user,model_hr_personal_equipment,base.group_user,1,1,1,1 +acl_hr_personal_equipment_request_officer,hr_personal_equipment_request_officer,model_hr_personal_equipment_request,hr.group_hr_user,1,1,1,0 +acl_hr_personal_equipment_request_user,hr_personal_equipment_request_user,model_hr_personal_equipment_request,base.group_user,1,1,1,0 + diff --git a/hr_personal_equipment_request/static/description/icon.png b/hr_personal_equipment_request/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3a0328b516c4980e8e44cdb63fd945757ddd132d GIT binary patch literal 9455 zcmW++2RxMjAAjx~&dlBk9S+%}OXg)AGE&Cb*&}d0jUxM@u(PQx^-s)697TX`ehR4?GS^qbkof1cslKgkU)h65qZ9Oc=ml_0temigYLJfnz{IDzUf>bGs4N!v3=Z3jMq&A#7%rM5eQ#dc?k~! zVpnB`o+K7|Al`Q_U;eD$B zfJtP*jH`siUq~{KE)`jP2|#TUEFGRryE2`i0**z#*^6~AI|YzIWy$Cu#CSLW3q=GA z6`?GZymC;dCPk~rBS%eCb`5OLr;RUZ;D`}um=H)BfVIq%7VhiMr)_#G0N#zrNH|__ zc+blN2UAB0=617@>_u;MPHN;P;N#YoE=)R#i$k_`UAA>WWCcEVMh~L_ zj--gtp&|K1#58Yz*AHCTMziU1Jzt_jG0I@qAOHsk$2}yTmVkBp_eHuY$A9)>P6o~I z%aQ?!(GqeQ-Y+b0I(m9pwgi(IIZZzsbMv+9w{PFtd_<_(LA~0H(xz{=FhLB@(1&qHA5EJw1>>=%q2f&^X>IQ{!GJ4e9U z&KlB)z(84HmNgm2hg2C0>WM{E(DdPr+EeU_N@57;PC2&DmGFW_9kP&%?X4}+xWi)( z;)z%wI5>D4a*5XwD)P--sPkoY(a~WBw;E~AW`Yue4kFa^LM3X`8x|}ZUeMnqr}>kH zG%WWW>3ml$Yez?i%)2pbKPI7?5o?hydokgQyZsNEr{a|mLdt;X2TX(#B1j35xPnPW z*bMSSOauW>o;*=kO8ojw91VX!qoOQb)zHJ!odWB}d+*K?#sY_jqPdg{Sm2HdYzdEx zOGVPhVRTGPtv0o}RfVP;Nd(|CB)I;*t&QO8h zFfekr30S!-LHmV_Su-W+rEwYXJ^;6&3|L$mMC8*bQptyOo9;>Qb9Q9`ySe3%V$A*9 zeKEe+b0{#KWGp$F+tga)0RtI)nhMa-K@JS}2krK~n8vJ=Ngm?R!9G<~RyuU0d?nz# z-5EK$o(!F?hmX*2Yt6+coY`6jGbb7tF#6nHA zuKk=GGJ;ZwON1iAfG$E#Y7MnZVmrY|j0eVI(DN_MNFJmyZ|;w4tf@=CCDZ#5N_0K= z$;R~bbk?}TpfDjfB&aiQ$VA}s?P}xPERJG{kxk5~R`iRS(SK5d+Xs9swCozZISbnS zk!)I0>t=A<-^z(cmSFz3=jZ23u13X><0b)P)^1T_))Kr`e!-pb#q&J*Q`p+B6la%C zuVl&0duN<;uOsB3%T9Fp8t{ED108<+W(nOZd?gDnfNBC3>M8WE61$So|P zVvqH0SNtDTcsUdzaMDpT=Ty0pDHHNL@Z0w$Y`XO z2M-_r1S+GaH%pz#Uy0*w$Vdl=X=rQXEzO}d6J^R6zjM1u&c9vYLvLp?W7w(?np9x1 zE_0JSAJCPB%i7p*Wvg)pn5T`8k3-uR?*NT|J`eS#_#54p>!p(mLDvmc-3o0mX*mp_ zN*AeS<>#^-{S%W<*mz^!X$w_2dHWpcJ6^j64qFBft-o}o_Vx80o0>}Du;>kLts;$8 zC`7q$QI(dKYG`Wa8#wl@V4jVWBRGQ@1dr-hstpQL)Tl+aqVpGpbSfN>5i&QMXfiZ> zaA?T1VGe?rpQ@;+pkrVdd{klI&jVS@I5_iz!=UMpTsa~mBga?1r}aRBm1WS;TT*s0f0lY=JBl66Upy)-k4J}lh=P^8(SXk~0xW=T9v*B|gzIhN z>qsO7dFd~mgxAy4V?&)=5ieYq?zi?ZEoj)&2o)RLy=@hbCRcfT5jigwtQGE{L*8<@Yd{zg;CsL5mvzfDY}P-wos_6PfprFVaeqNE%h zKZhLtcQld;ZD+>=nqN~>GvROfueSzJD&BE*}XfU|H&(FssBqY=hPCt`d zH?@s2>I(|;fcW&YM6#V#!kUIP8$Nkdh0A(bEVj``-AAyYgwY~jB zT|I7Bf@%;7aL7Wf4dZ%VqF$eiaC38OV6oy3Z#TER2G+fOCd9Iaoy6aLYbPTN{XRPz z;U!V|vBf%H!}52L2gH_+j;`bTcQRXB+y9onc^wLm5wi3-Be}U>k_u>2Eg$=k!(l@I zcCg+flakT2Nej3i0yn+g+}%NYb?ta;R?(g5SnwsQ49U8Wng8d|{B+lyRcEDvR3+`O{zfmrmvFrL6acVP%yG98X zo&+VBg@px@i)%o?dG(`T;n*$S5*rnyiR#=wW}}GsAcfyQpE|>a{=$Hjg=-*_K;UtD z#z-)AXwSRY?OPefw^iI+ z)AXz#PfEjlwTes|_{sB?4(O@fg0AJ^g8gP}ex9Ucf*@_^J(s_5jJV}c)s$`Myn|Kd z$6>}#q^n{4vN@+Os$m7KV+`}c%4)4pv@06af4-x5#wj!KKb%caK{A&Y#Rfs z-po?Dcb1({W=6FKIUirH&(yg=*6aLCekcKwyfK^JN5{wcA3nhO(o}SK#!CINhI`-I z1)6&n7O&ZmyFMuNwvEic#IiOAwNkR=u5it{B9n2sAJV5pNhar=j5`*N!Na;c7g!l$ z3aYBqUkqqTJ=Re-;)s!EOeij=7SQZ3Hq}ZRds%IM*PtM$wV z@;rlc*NRK7i3y5BETSKuumEN`Xu_8GP1Ri=OKQ$@I^ko8>H6)4rjiG5{VBM>B|%`&&s^)jS|-_95&yc=GqjNo{zFkw%%HHhS~e=s zD#sfS+-?*t|J!+ozP6KvtOl!R)@@-z24}`9{QaVLD^9VCSR2b`b!KC#o;Ki<+wXB6 zx3&O0LOWcg4&rv4QG0)4yb}7BFSEg~=IR5#ZRj8kg}dS7_V&^%#Do==#`u zpy6{ox?jWuR(;pg+f@mT>#HGWHAJRRDDDv~@(IDw&R>9643kK#HN`!1vBJHnC+RM&yIh8{gG2q zA%e*U3|N0XSRa~oX-3EAneep)@{h2vvd3Xvy$7og(sayr@95+e6~Xvi1tUqnIxoIH zVWo*OwYElb#uyW{Imam6f2rGbjR!Y3`#gPqkv57dB6K^wRGxc9B(t|aYDGS=m$&S!NmCtrMMaUg(c zc2qC=2Z`EEFMW-me5B)24AqF*bV5Dr-M5ig(l-WPS%CgaPzs6p_gnCIvTJ=Y<6!gT zVt@AfYCzjjsMEGi=rDQHo0yc;HqoRNnNFeWZgcm?f;cp(6CNylj36DoL(?TS7eU#+ z7&mfr#y))+CJOXQKUMZ7QIdS9@#-}7y2K1{8)cCt0~-X0O!O?Qx#E4Og+;A2SjalQ zs7r?qn0H044=sDN$SRG$arw~n=+T_DNdSrarmu)V6@|?1-ZB#hRn`uilTGPJ@fqEy zGt(f0B+^JDP&f=r{#Y_wi#AVDf-y!RIXU^0jXsFpf>=Ji*TeqSY!H~AMbJdCGLhC) zn7Rx+sXw6uYj;WRYrLd^5IZq@6JI1C^YkgnedZEYy<&4(z%Q$5yv#Boo{AH8n$a zhb4Y3PWdr269&?V%uI$xMcUrMzl=;w<_nm*qr=c3Rl@i5wWB;e-`t7D&c-mcQl7x! zZWB`UGcw=Y2=}~wzrfLx=uet<;m3~=8I~ZRuzvMQUQdr+yTV|ATf1Uuomr__nDf=X zZ3WYJtHp_ri(}SQAPjv+Y+0=fH4krOP@S&=zZ-t1jW1o@}z;xk8 z(Nz1co&El^HK^NrhVHa-_;&88vTU>_J33=%{if;BEY*J#1n59=07jrGQ#IP>@u#3A z;!q+E1Rj3ZJ+!4bq9F8PXJ@yMgZL;>&gYA0%_Kbi8?S=XGM~dnQZQ!yBSgcZhY96H zrWnU;k)qy`rX&&xlDyA%(a1Hhi5CWkmg(`Gb%m(HKi-7Z!LKGRP_B8@`7&hdDy5n= z`OIxqxiVfX@OX1p(mQu>0Ai*v_cTMiw4qRt3~NBvr9oBy0)r>w3p~V0SCm=An6@3n)>@z!|o-$HvDK z|3D2ZMJkLE5loMKl6R^ez@Zz%S$&mbeoqH5`Bb){Ei21q&VP)hWS2tjShfFtGE+$z zzCR$P#uktu+#!w)cX!lWN1XU%K-r=s{|j?)Akf@q#3b#{6cZCuJ~gCxuMXRmI$nGtnH+-h z+GEi!*X=AP<|fG`1>MBdTb?28JYc=fGvAi2I<$B(rs$;eoJCyR6_bc~p!XR@O-+sD z=eH`-ye})I5ic1eL~TDmtfJ|8`0VJ*Yr=hNCd)G1p2MMz4C3^Mj?7;!w|Ly%JqmuW zlIEW^Ft%z?*|fpXda>Jr^1noFZEwFgVV%|*XhH@acv8rdGxeEX{M$(vG{Zw+x(ei@ zmfXb22}8-?Fi`vo-YVrTH*C?a8%M=Hv9MqVH7H^J$KsD?>!SFZ;ZsvnHr_gn=7acz z#W?0eCdVhVMWN12VV^$>WlQ?f;P^{(&pYTops|btm6aj>_Uz+hqpGwB)vWp0Cf5y< zft8-je~nn?W11plq}N)4A{l8I7$!ks_x$PXW-2XaRFswX_BnF{R#6YIwMhAgd5F9X zGmwdadS6(a^fjHtXg8=l?Rc0Sm%hk6E9!5cLVloEy4eh(=FwgP`)~I^5~pBEWo+F6 zSf2ncyMurJN91#cJTy_u8Y}@%!bq1RkGC~-bV@SXRd4F{R-*V`bS+6;W5vZ(&+I<9$;-V|eNfLa5n-6% z2(}&uGRF;p92eS*sE*oR$@pexaqr*meB)VhmIg@h{uzkk$9~qh#cHhw#>O%)b@+(| z^IQgqzuj~Sk(J;swEM-3TrJAPCq9k^^^`q{IItKBRXYe}e0Tdr=Huf7da3$l4PdpwWDop%^}n;dD#K4s#DYA8SHZ z&1!riV4W4R7R#C))JH1~axJ)RYnM$$lIR%6fIVA@zV{XVyx}C+a-Dt8Y9M)^KU0+H zR4IUb2CJ{Hg>CuaXtD50jB(_Tcx=Z$^WYu2u5kubqmwp%drJ6 z?Fo40g!Qd<-l=TQxqHEOuPX0;^z7iX?Ke^a%XT<13TA^5`4Xcw6D@Ur&VT&CUe0d} z1GjOVF1^L@>O)l@?bD~$wzgf(nxX1OGD8fEV?TdJcZc2KoUe|oP1#=$$7ee|xbY)A zDZq+cuTpc(fFdj^=!;{k03C69lMQ(|>uhRfRu%+!k&YOi-3|1QKB z z?n?eq1XP>p-IM$Z^C;2L3itnbJZAip*Zo0aw2bs8@(s^~*8T9go!%dHcAz2lM;`yp zD=7&xjFV$S&5uDaiScyD?B-i1ze`+CoRtz`Wn+Zl&#s4&}MO{@N!ufrzjG$B79)Y2d3tBk&)TxUTw@QS0TEL_?njX|@vq?Uz(nBFK5Pq7*xj#u*R&i|?7+6# z+|r_n#SW&LXhtheZdah{ZVoqwyT{D>MC3nkFF#N)xLi{p7J1jXlmVeb;cP5?e(=f# zuT7fvjSbjS781v?7{)-X3*?>tq?)Yd)~|1{BDS(pqC zC}~H#WXlkUW*H5CDOo<)#x7%RY)A;ShGhI5s*#cRDA8YgqG(HeKDx+#(ZQ?386dv! zlXCO)w91~Vw4AmOcATuV653fa9R$fyK8ul%rG z-wfS zihugoZyr38Im?Zuh6@RcF~t1anQu7>#lPpb#}4cOA!EM11`%f*07RqOVkmX{p~KJ9 z^zP;K#|)$`^Rb{rnHGH{~>1(fawV0*Z#)}M`m8-?ZJV<+e}s9wE# z)l&az?w^5{)`S(%MRzxdNqrs1n*-=jS^_jqE*5XDrA0+VE`5^*p3CuM<&dZEeCjoz zR;uu_H9ZPZV|fQq`Cyw4nscrVwi!fE6ciMmX$!_hN7uF;jjKG)d2@aC4ropY)8etW=xJvni)8eHi`H$%#zn^WJ5NLc-rqk|u&&4Z6fD_m&JfSI1Bvb?b<*n&sfl0^t z=HnmRl`XrFvMKB%9}>PaA`m-fK6a0(8=qPkWS5bb4=v?XcWi&hRY?O5HdulRi4?fN zlsJ*N-0Qw+Yic@s0(2uy%F@ib;GjXt01Fmx5XbRo6+n|pP(&nodMoap^z{~q ziEeaUT@Mxe3vJSfI6?uLND(CNr=#^W<1b}jzW58bIfyWTDle$mmS(|x-0|2UlX+9k zQ^EX7Nw}?EzVoBfT(-LT|=9N@^hcn-_p&sqG z&*oVs2JSU+N4ZD`FhCAWaS;>|wH2G*Id|?pa#@>tyxX`+4HyIArWDvVrX)2WAOQff z0qyHu&-S@i^MS-+j--!pr4fPBj~_8({~e1bfcl0wI1kaoN>mJL6KUPQm5N7lB(ui1 zE-o%kq)&djzWJ}ob<-GfDlkB;F31j-VHKvQUGQ3sp`CwyGJk_i!y^sD0fqC@$9|jO zOqN!r!8-p==F@ZVP=U$qSpY(gQ0)59P1&t@y?5rvg<}E+GB}26NYPp4f2YFQrQtot5mn3wu_qprZ=>Ig-$ zbW26Ws~IgY>}^5w`vTB(G`PTZaDiGBo5o(tp)qli|NeV( z@H_=R8V39rt5J5YB2Ky?4eJJ#b`_iBe2ot~6%7mLt5t8Vwi^Jy7|jWXqa3amOIoRb zOr}WVFP--DsS`1WpN%~)t3R!arKF^Q$e12KEqU36AWwnCBICpH4XCsfnyrHr>$I$4 z!DpKX$OKLWarN7nv@!uIA+~RNO)l$$w}p(;b>mx8pwYvu;dD_unryX_NhT8*Tj>BTrTTL&!?O+%Rv;b?B??gSzdp?6Uug9{ zd@V08Z$BdI?fpoCS$)t4mg4rT8Q_I}h`0d-vYZ^|dOB*Q^S|xqTV*vIg?@fVFSmMpaw0qtTRbx} z({Pg?#{2`sc9)M5N$*N|4;^t$+QP?#mov zGVC@I*lBVrOU-%2y!7%)fAKjpEFsgQc4{amtiHb95KQEwvf<(3T<9-Zm$xIew#P22 zc2Ix|App^>v6(3L_MCU0d3W##AB0M~3D00EWoKZqsJYT(#@w$Y_H7G22M~ApVFTRHMI_3be)Lkn#0F*V8Pq zc}`Cjy$bE;FJ6H7p=0y#R>`}-m4(0F>%@P|?7fx{=R^uFdISRnZ2W_xQhD{YuR3t< z{6yxu=4~JkeA;|(J6_nv#>Nvs&FuLA&PW^he@t(UwFFE8)|a!R{`E`K`i^ZnyE4$k z;(749Ix|oi$c3QbEJ3b~D_kQsPz~fIUKym($a_7dJ?o+40*OLl^{=&oq$<#Q(yyrp z{J-FAniyAw9tPbe&IhQ|a`DqFTVQGQ&Gq3!C2==4x{6EJwiPZ8zub-iXoUtkJiG{} zPaR&}_fn8_z~(=;5lD-aPWD3z8PZS@AaUiomF!G8I}Mf>e~0g#BelA-5#`cj;O5>N Xviia!U7SGha1wx#SCgwmn*{w2TRX*I literal 0 HcmV?d00001 diff --git a/hr_personal_equipment_request/static/description/index.html b/hr_personal_equipment_request/static/description/index.html new file mode 100644 index 00000000000..c5084b69793 --- /dev/null +++ b/hr_personal_equipment_request/static/description/index.html @@ -0,0 +1,443 @@ + + + + + + +Hr Personal Equipment + + + +
+

Hr Personal Equipment

+ + +

Beta License: AGPL-3 tegin/hr

+

This module allows to create a personal equipment request and manage allocation of employee personal equipment.

+

Table of contents

+ +
+

Installation

+

To install this module, you need to have HR module installed or it will be requested during installation.

+
+
+

Usage

+

First, products which can be requested by employees should be marked as employee personal equipment. +1. Go to Products (In Inventory App for example). +2. Select a product. +3. Mark the Is Employee Personal Equipment flag.(An additional page appears which serves as a hook if additional fields are needed).

+

To create a personal equipment request, a common user should follow the next steps: +1. Go to menu Employees -> Personal Equipment-> Employee Personal Equipment Request +2. Current employee is set as default. (An Hr Officer can change the employee if needed). +3. At Personal Equipment select the equipments you want to request. +4. Add “Observations” at Observations if desired.

+

Then, an HR Manager should: +1. If everything is correct, “Accept” the request. +2. Finally, when the equipment is given to the employee, the allocation should be validated. This can be done in two ways: +a) Click the allocation in the equipment request that you want to validate, the form view will be opened, and click “Validate”. +b) Go to Employees -> Personal Equipment-> Allocations. Select the corresponding allocation and click “Validate”.

+

A common user can only see its own allocations. The HR Officer can see all of them.

+

If needed, the allocation can be expired clicking the button “Expire”, which can be found at the allocation form view.

+
+
+

Bug Tracker

+

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

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Creu Blanca
  • +
+
+ + +
+

Maintainers

+

This module is part of the tegin/hr project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/hr_personal_equipment_request/tests/__init__.py b/hr_personal_equipment_request/tests/__init__.py new file mode 100644 index 00000000000..c34268f15cb --- /dev/null +++ b/hr_personal_equipment_request/tests/__init__.py @@ -0,0 +1 @@ +from . import test_hr_personal_equipment_request diff --git a/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py b/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py new file mode 100644 index 00000000000..cc999bde30a --- /dev/null +++ b/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py @@ -0,0 +1,120 @@ +# Copyright 2021 Creu Blanca +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests import TransactionCase + + +class TestHRPersonalEquipmentRequest(TransactionCase): + + def setUp(self): + super().setUp() + self.product_personal_equipment_1 = self.env['product.template'].create( + { + 'name': 'Product Test Personal Equipment 1', + 'is_personal_equipment': True, + 'uom_id': self.env.ref("uom.product_uom_unit").id + } + ) + self.product_personal_equipment_2 = self.env['product.template'].create( + { + 'name': 'Product Test Personal Equipment 2', + 'is_personal_equipment': True, + 'uom_id': self.env.ref("uom.product_uom_unit").id + } + ) + self.user = self.env['res.users'].sudo().create( + { + 'name': 'Test User', + 'login': 'user@test.com', + 'email': 'user@test.com', + "groups_id": [ + (4, self.env.ref('base.group_user').id), + (4, self.env.ref('hr.group_hr_user').id) + ], + } + ) + self.employee = self.env['hr.employee'].create( + { + 'name': 'Employee Test', + 'user_id': self.user.id + } + ) + + lines = [ + { + 'name': 'Personal Equipment 1', + 'product_id': self.product_personal_equipment_1.product_variant_id.id, + 'quantity': 3 + }, + { + 'name': 'Personal Equipment 2', + 'product_id': self.product_personal_equipment_2.product_variant_id.id, + 'quantity': 2 + } + ] + + self.personal_equipment_request = self.env['hr.personal.equipment.request'].\ + sudo(self.user.id).create( + { + 'name': 'Personal Equipment Request Test', + 'line_ids': [(0, 0, line) for line in lines], + } + ) + + def test_request_compute_name(self): + self.assertTrue(self.personal_equipment_request.name) + self.assertEqual(self.personal_equipment_request.name, + "Personal Equipment Request by Test User") + + def test_accept_request(self): + self.assertEqual(self.personal_equipment_request.state, 'draft') + self.assertEqual(self.personal_equipment_request.line_ids[0].state, 'draft') + self.personal_equipment_request.accept_request() + self.assertEqual(self.personal_equipment_request.state, 'accepted') + self.assertEqual(self.personal_equipment_request.line_ids[0].state, 'accepted') + + def test_cancel_request(self): + self.assertEqual(self.personal_equipment_request.state, 'draft') + self.assertEqual(self.personal_equipment_request.line_ids[0].state, 'draft') + self.personal_equipment_request.cancel_request() + self.assertEqual(self.personal_equipment_request.state, 'cancelled') + self.assertEqual(self.personal_equipment_request.line_ids[0].state, 'cancelled') + + def test_allocation_compute_name(self): + self.assertEqual(self.personal_equipment_request.line_ids[0].name, + 'Product Test Personal Equipment 1 to Test User') + + def test_onchange_uom_id(self): + self.assertFalse(self.personal_equipment_request.line_ids[0].product_uom_id) + self.personal_equipment_request.line_ids[0]._onchange_uom_id() + self.assertTrue(self.personal_equipment_request.line_ids[0].product_uom_id) + self.assertEqual(self.personal_equipment_request.line_ids[0].product_uom_id, + self.product_personal_equipment_1.uom_id) + + def test_validate_allocation(self): + self.personal_equipment_request.accept_request() + allocation = self.personal_equipment_request.line_ids[0] + self.assertEqual(allocation.state, 'accepted') + allocation.validate_allocation() + self.assertEqual(allocation.state, 'valid') + + def test_expire_allocation(self): + self.personal_equipment_request.accept_request() + allocation = self.personal_equipment_request.line_ids[0] + allocation.validate_allocation() + self.assertEqual(allocation.state, 'valid') + allocation.expire_allocation() + self.assertEqual(allocation.state, 'expired') + + def test_action_open_equipment_request(self): + action = self.employee.action_open_equipment_request() + self.assertEqual(action['res_model'], 'hr.personal.equipment.request') + self.assertEqual(self.employee.equipment_request_count, 1) + + def test_action_open_personal_equipment(self): + action = self.employee.action_open_personal_equipment() + self.assertEqual(action['res_model'], 'hr.personal.equipment') + self.assertEqual(self.employee.personal_equipment_count, 0) + self.personal_equipment_request.accept_request() + self.personal_equipment_request.refresh() + self.assertEqual(self.employee.personal_equipment_count, 2) diff --git a/hr_personal_equipment_request/views/hr_employee.xml b/hr_personal_equipment_request/views/hr_employee.xml new file mode 100644 index 00000000000..9c0b5ccbec4 --- /dev/null +++ b/hr_personal_equipment_request/views/hr_employee.xml @@ -0,0 +1,36 @@ + + + + + + + hr.employee.form (in hr_personal_equipment_request) + hr.employee + + + + + + + + + + + + diff --git a/hr_personal_equipment_request/views/hr_personal_equipment.xml b/hr_personal_equipment_request/views/hr_personal_equipment.xml new file mode 100644 index 00000000000..d7dcb5ca3ab --- /dev/null +++ b/hr_personal_equipment_request/views/hr_personal_equipment.xml @@ -0,0 +1,116 @@ + + + + + + + hr.personal.equipment.form (in hr_personal_equipment_request) + hr.personal.equipment + +
+
+
+ + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ + + hr.personal.equipment.tree (in hr_personal_equipment_request) + hr.personal.equipment + + + + + + + + + + + + + + + + hr.personal.equipment.search (in hr_personal_equipment_request) + hr.personal.equipment + + + + + + + + + + + + + + + + + + + + + + Allocations + hr.personal.equipment + tree,form + [] + {'search_default_filter_valid_state':1} + + + + Personal Equipment + + + + + + Allocations + + + + + +
diff --git a/hr_personal_equipment_request/views/hr_personal_equipment_request.xml b/hr_personal_equipment_request/views/hr_personal_equipment_request.xml new file mode 100644 index 00000000000..cb83ef5ed90 --- /dev/null +++ b/hr_personal_equipment_request/views/hr_personal_equipment_request.xml @@ -0,0 +1,126 @@ + + + + + + + hr.personal.equipment.request.form (in hr_personal_equipment_request) + hr.personal.equipment.request + +
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + +
+
+ + + +
+ + +
+ + + +
+ + + + + + hr.personal.equipment.request.search (in hr_personal_equipment_request) + hr.personal.equipment.request + + + + + + + + + + + hr.personal.equipment.request.tree (in hr_personal_equipment_request) + hr.personal.equipment.request + + + + + + + + + + + + Personal Equipment Request + hr.personal.equipment.request + tree,form + [] + {'search_default_filter_draft_state':1,'search_default_filter_accepted_state':1} + + + + Personal Equipment Request + + + + + + diff --git a/hr_personal_equipment_request/views/product_template.xml b/hr_personal_equipment_request/views/product_template.xml new file mode 100644 index 00000000000..6f4751bd313 --- /dev/null +++ b/hr_personal_equipment_request/views/product_template.xml @@ -0,0 +1,25 @@ + + + + + + product.template.form (in hr_personal_equipment_request) + product.template + + + +
+ +
+
+ + + + + +
+
+ +
From 3e74a8d9c1a38008c84229d23f92a1690ea1aa91 Mon Sep 17 00:00:00 2001 From: Alba Riera Date: Mon, 27 Sep 2021 12:27:25 +0200 Subject: [PATCH 02/22] [IMP] hr_personal_equipment_request: black, isort, prettier --- hr_personal_equipment_request/__manifest__.py | 30 +-- .../models/hr_employee.py | 15 +- .../models/hr_personal_equipment.py | 73 ++++---- .../models/hr_personal_equipment_request.py | 40 ++-- .../models/product_template.py | 7 +- ...hr_personal_equipment_request_security.xml | 52 +++--- .../security/ir.model.access.csv | 1 - .../test_hr_personal_equipment_request.py | 123 +++++++------ .../views/hr_employee.xml | 25 +-- .../views/hr_personal_equipment.xml | 173 +++++++++++------- .../views/hr_personal_equipment_request.xml | 170 ++++++++++------- .../views/product_template.xml | 26 +-- 12 files changed, 428 insertions(+), 307 deletions(-) diff --git a/hr_personal_equipment_request/__manifest__.py b/hr_personal_equipment_request/__manifest__.py index c1babe5dd10..cec280ae41e 100644 --- a/hr_personal_equipment_request/__manifest__.py +++ b/hr_personal_equipment_request/__manifest__.py @@ -2,21 +2,21 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - 'name': 'Hr Personal Equipment Request', - 'summary': """ + "name": "Hr Personal Equipment Request", + "summary": """ This addon allows to manage employee personal equipment""", - 'version': '12.0.1.0.0', - 'license': 'AGPL-3', - 'author': 'Creu Blanca,Odoo Community Association (OCA)', - 'website': 'https://github.com/OCA/hr', - 'depends': ["product", "hr", "mail"], - 'data': [ - 'security/hr_personal_equipment_request_security.xml', - 'security/ir.model.access.csv', - 'views/product_template.xml', - 'views/hr_personal_equipment.xml', - 'views/hr_personal_equipment_request.xml', - 'views/hr_employee.xml', + "version": "12.0.1.0.0", + "license": "AGPL-3", + "author": "Creu Blanca,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/hr", + "depends": ["product", "hr", "mail"], + "data": [ + "security/hr_personal_equipment_request_security.xml", + "security/ir.model.access.csv", + "views/product_template.xml", + "views/hr_personal_equipment.xml", + "views/hr_personal_equipment_request.xml", + "views/hr_employee.xml", ], - 'demo': [], + "demo": [], } diff --git a/hr_personal_equipment_request/models/hr_employee.py b/hr_personal_equipment_request/models/hr_employee.py index dafc186d4af..15e1df09fa9 100644 --- a/hr_personal_equipment_request/models/hr_employee.py +++ b/hr_personal_equipment_request/models/hr_employee.py @@ -1,16 +1,15 @@ # Copyright 2021 Creu Blanca # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import fields, models, _ +from odoo import _, fields, models class HrEmployee(models.Model): - _inherit = 'hr.employee' + _inherit = "hr.employee" equipment_request_ids = fields.One2many( - comodel_name="hr.personal.equipment.request", - inverse_name="employee_id", + comodel_name="hr.personal.equipment.request", inverse_name="employee_id", ) personal_equipment_ids = fields.One2many( @@ -40,8 +39,8 @@ def action_open_equipment_request(self): "type": "ir.actions.act_window", "res_model": "hr.personal.equipment.request", "view_mode": "tree,form", - "context": {'group_by': 'state'}, - "domain": [("id", "in", self.equipment_request_ids.ids)] + "context": {"group_by": "state"}, + "domain": [("id", "in", self.equipment_request_ids.ids)], } def action_open_personal_equipment(self): @@ -50,7 +49,7 @@ def action_open_personal_equipment(self): "name": _("Personal Equipment"), "type": "ir.actions.act_window", "res_model": "hr.personal.equipment", - "context": {'group_by': 'state'}, + "context": {"group_by": "state"}, "view_mode": "tree,form", - "domain": [("id", "in", self.personal_equipment_ids.ids)] + "domain": [("id", "in", self.personal_equipment_ids.ids)], } diff --git a/hr_personal_equipment_request/models/hr_personal_equipment.py b/hr_personal_equipment_request/models/hr_personal_equipment.py index b078c76be8c..f39a4e6202e 100644 --- a/hr_personal_equipment_request/models/hr_personal_equipment.py +++ b/hr_personal_equipment_request/models/hr_personal_equipment.py @@ -6,42 +6,52 @@ class HrPersonalEquipment(models.Model): - _name = 'hr.personal.equipment' - _description = 'Adds personal equipment information and allocation' + _name = "hr.personal.equipment" + _description = "Adds personal equipment information and allocation" _inherit = ["mail.thread", "mail.activity.mixin"] - name = fields.Char(compute='_compute_name') - product_id = fields.Many2one(comodel_name='product.product', required=True, - domain=[('is_personal_equipment', '=', True)]) - employee_id = fields.Many2one(comodel_name='hr.employee', - related="equipment_request_id.employee_id", - store=True) - state = fields.Selection([("draft", "Draft"), - ("accepted", "Accepted"), - ("valid", "Valid"), - ("expired", "Expired"), - ("cancelled", "Cancelled")], - default="draft", track_visibility=True) + name = fields.Char(compute="_compute_name") + product_id = fields.Many2one( + comodel_name="product.product", + required=True, + domain=[("is_personal_equipment", "=", True)], + ) + employee_id = fields.Many2one( + comodel_name="hr.employee", + related="equipment_request_id.employee_id", + store=True, + ) + state = fields.Selection( + [ + ("draft", "Draft"), + ("accepted", "Accepted"), + ("valid", "Valid"), + ("expired", "Expired"), + ("cancelled", "Cancelled"), + ], + default="draft", + track_visibility=True, + ) start_date = fields.Date() - equipment_request_id = fields.Many2one(comodel_name="hr.personal.equipment.request", - required=True, ondelete='cascade') - quantity = fields.Integer(default=1) - product_uom_id = fields.Many2one( - "uom.uom", - "Unit of Measure" + equipment_request_id = fields.Many2one( + comodel_name="hr.personal.equipment.request", required=True, ondelete="cascade" ) + quantity = fields.Integer(default=1) + product_uom_id = fields.Many2one("uom.uom", "Unit of Measure") - @api.onchange('product_id') + @api.onchange("product_id") def _onchange_uom_id(self): if self.product_id: self.product_uom_id = self.product_id.uom_id - return {'domain': - {'product_uom_id': - [('category_id', '=', self.product_uom_id.category_id.id)] - } - } + return { + "domain": { + "product_uom_id": [ + ("category_id", "=", self.product_uom_id.category_id.id) + ] + } + } - @api.depends('product_id', 'employee_id') + @api.depends("product_id", "employee_id") def _compute_name(self): for rec in self: if rec.product_id.name and rec.employee_id.name: @@ -49,8 +59,9 @@ def _compute_name(self): def _validate_allocation_vals(self): return { - 'state': 'valid', - 'start_date': fields.Date.context_today(self) if not self.start_date + "state": "valid", + "start_date": fields.Date.context_today(self) + if not self.start_date else self.start_date, } @@ -60,10 +71,10 @@ def validate_allocation(self): def expire_allocation(self): for rec in self: - rec.state = 'expired' + rec.state = "expired" def _accept_request_vals(self): - return {'state': 'accepted'} + return {"state": "accepted"} def _accept_request(self): for rec in self: diff --git a/hr_personal_equipment_request/models/hr_personal_equipment_request.py b/hr_personal_equipment_request/models/hr_personal_equipment_request.py index a986cbc8b7e..22209186a43 100644 --- a/hr_personal_equipment_request/models/hr_personal_equipment_request.py +++ b/hr_personal_equipment_request/models/hr_personal_equipment_request.py @@ -1,27 +1,33 @@ # Copyright 2021 Creu Blanca # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import api, fields, models, _ +from odoo import _, api, fields, models class HrPersonalEquipmentRequest(models.Model): - _name = 'hr.personal.equipment.request' - _description = 'This model allows to create a personal equipment request' - _inherit = ['mail.thread', 'mail.activity.mixin'] + _name = "hr.personal.equipment.request" + _description = "This model allows to create a personal equipment request" + _inherit = ["mail.thread", "mail.activity.mixin"] name = fields.Char(compute="_compute_name") employee_id = fields.Many2one( - comodel_name="hr.employee", string="Employee", required=True, - default=lambda self: self._default_employee_id() + comodel_name="hr.employee", + string="Employee", + required=True, + default=lambda self: self._default_employee_id(), + ) + line_ids = fields.One2many( + string="Personal Equipment", + comodel_name="hr.personal.equipment", + inverse_name="equipment_request_id", + copy=True, + ) + state = fields.Selection( + [("draft", "Draft"), ("accepted", "Accepted"), ("cancelled", "Cancelled")], + default="draft", + track_visibility=True, ) - line_ids = fields.One2many(string="Personal Equipment", - comodel_name="hr.personal.equipment", - inverse_name="equipment_request_id", copy=True) - state = fields.Selection([("draft", "Draft"), - ("accepted", "Accepted"), - ("cancelled", "Cancelled")], - default='draft', track_visibility=True) observations = fields.Text() def _default_employee_id(self): @@ -38,11 +44,9 @@ def accept_request(self): rec.line_ids._accept_request() def _accept_request_vals(self): - return { - "state": "accepted" - } + return {"state": "accepted"} def cancel_request(self): for rec in self: - rec.state = 'cancelled' - rec.line_ids.update({'state': 'cancelled'}) + rec.state = "cancelled" + rec.line_ids.update({"state": "cancelled"}) diff --git a/hr_personal_equipment_request/models/product_template.py b/hr_personal_equipment_request/models/product_template.py index e42508809dd..ecd779d65e3 100644 --- a/hr_personal_equipment_request/models/product_template.py +++ b/hr_personal_equipment_request/models/product_template.py @@ -6,7 +6,8 @@ class ProductTemplate(models.Model): - _inherit = 'product.template' + _inherit = "product.template" - is_personal_equipment = fields.Boolean(default=False, - string="Is Employee Personal Equipment") + is_personal_equipment = fields.Boolean( + default=False, string="Is Employee Personal Equipment" + ) diff --git a/hr_personal_equipment_request/security/hr_personal_equipment_request_security.xml b/hr_personal_equipment_request/security/hr_personal_equipment_request_security.xml index 6585bc88e14..cbc26f2d6fc 100644 --- a/hr_personal_equipment_request/security/hr_personal_equipment_request_security.xml +++ b/hr_personal_equipment_request/security/hr_personal_equipment_request_security.xml @@ -1,37 +1,45 @@ - + - Access only self user's employee personal equipment request - - [('employee_id', 'in', user.employee_ids.ids)] - + Access only self user's employee personal equipment request + + [('employee_id', 'in', user.employee_ids.ids)] + - + Access all employee personal equipment request - + [(1, '=', 1)] - + - + Access only self user's employee personal equipment - - [('equipment_request_id.employee_id', 'in', user.employee_ids.ids)] - + + [('equipment_request_id.employee_id', 'in', user.employee_ids.ids)] + - + Access all employee personal equipment - + [(1, '=', 1)] - + - Delete employee personal equipment only in draft state - + Delete employee personal equipment only in draft state + [('state', '=', 'draft')] - - - - - + + + + + diff --git a/hr_personal_equipment_request/security/ir.model.access.csv b/hr_personal_equipment_request/security/ir.model.access.csv index 14a8be2b5e4..13371999ca9 100644 --- a/hr_personal_equipment_request/security/ir.model.access.csv +++ b/hr_personal_equipment_request/security/ir.model.access.csv @@ -3,4 +3,3 @@ acl_hr_personal_equipment_officer,hr_personal_equipment_officer,model_hr_persona acl_hr_personal_equipment_user,hr_personal_equipment_user,model_hr_personal_equipment,base.group_user,1,1,1,1 acl_hr_personal_equipment_request_officer,hr_personal_equipment_request_officer,model_hr_personal_equipment_request,hr.group_hr_user,1,1,1,0 acl_hr_personal_equipment_request_user,hr_personal_equipment_request_user,model_hr_personal_equipment_request,base.group_user,1,1,1,0 - diff --git a/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py b/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py index cc999bde30a..632823c92f6 100644 --- a/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py +++ b/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py @@ -5,115 +5,124 @@ class TestHRPersonalEquipmentRequest(TransactionCase): - def setUp(self): super().setUp() - self.product_personal_equipment_1 = self.env['product.template'].create( + self.product_personal_equipment_1 = self.env["product.template"].create( { - 'name': 'Product Test Personal Equipment 1', - 'is_personal_equipment': True, - 'uom_id': self.env.ref("uom.product_uom_unit").id + "name": "Product Test Personal Equipment 1", + "is_personal_equipment": True, + "uom_id": self.env.ref("uom.product_uom_unit").id, } ) - self.product_personal_equipment_2 = self.env['product.template'].create( + self.product_personal_equipment_2 = self.env["product.template"].create( { - 'name': 'Product Test Personal Equipment 2', - 'is_personal_equipment': True, - 'uom_id': self.env.ref("uom.product_uom_unit").id + "name": "Product Test Personal Equipment 2", + "is_personal_equipment": True, + "uom_id": self.env.ref("uom.product_uom_unit").id, } ) - self.user = self.env['res.users'].sudo().create( - { - 'name': 'Test User', - 'login': 'user@test.com', - 'email': 'user@test.com', - "groups_id": [ - (4, self.env.ref('base.group_user').id), - (4, self.env.ref('hr.group_hr_user').id) - ], - } + self.user = ( + self.env["res.users"] + .sudo() + .create( + { + "name": "Test User", + "login": "user@test.com", + "email": "user@test.com", + "groups_id": [ + (4, self.env.ref("base.group_user").id), + (4, self.env.ref("hr.group_hr_user").id), + ], + } + ) ) - self.employee = self.env['hr.employee'].create( - { - 'name': 'Employee Test', - 'user_id': self.user.id - } + self.employee = self.env["hr.employee"].create( + {"name": "Employee Test", "user_id": self.user.id} ) lines = [ { - 'name': 'Personal Equipment 1', - 'product_id': self.product_personal_equipment_1.product_variant_id.id, - 'quantity': 3 + "name": "Personal Equipment 1", + "product_id": self.product_personal_equipment_1.product_variant_id.id, + "quantity": 3, }, { - 'name': 'Personal Equipment 2', - 'product_id': self.product_personal_equipment_2.product_variant_id.id, - 'quantity': 2 - } + "name": "Personal Equipment 2", + "product_id": self.product_personal_equipment_2.product_variant_id.id, + "quantity": 2, + }, ] - self.personal_equipment_request = self.env['hr.personal.equipment.request'].\ - sudo(self.user.id).create( - { - 'name': 'Personal Equipment Request Test', - 'line_ids': [(0, 0, line) for line in lines], - } + self.personal_equipment_request = ( + self.env["hr.personal.equipment.request"] + .sudo(self.user.id) + .create( + { + "name": "Personal Equipment Request Test", + "line_ids": [(0, 0, line) for line in lines], + } + ) ) def test_request_compute_name(self): self.assertTrue(self.personal_equipment_request.name) - self.assertEqual(self.personal_equipment_request.name, - "Personal Equipment Request by Test User") + self.assertEqual( + self.personal_equipment_request.name, + "Personal Equipment Request by Test User", + ) def test_accept_request(self): - self.assertEqual(self.personal_equipment_request.state, 'draft') - self.assertEqual(self.personal_equipment_request.line_ids[0].state, 'draft') + self.assertEqual(self.personal_equipment_request.state, "draft") + self.assertEqual(self.personal_equipment_request.line_ids[0].state, "draft") self.personal_equipment_request.accept_request() - self.assertEqual(self.personal_equipment_request.state, 'accepted') - self.assertEqual(self.personal_equipment_request.line_ids[0].state, 'accepted') + self.assertEqual(self.personal_equipment_request.state, "accepted") + self.assertEqual(self.personal_equipment_request.line_ids[0].state, "accepted") def test_cancel_request(self): - self.assertEqual(self.personal_equipment_request.state, 'draft') - self.assertEqual(self.personal_equipment_request.line_ids[0].state, 'draft') + self.assertEqual(self.personal_equipment_request.state, "draft") + self.assertEqual(self.personal_equipment_request.line_ids[0].state, "draft") self.personal_equipment_request.cancel_request() - self.assertEqual(self.personal_equipment_request.state, 'cancelled') - self.assertEqual(self.personal_equipment_request.line_ids[0].state, 'cancelled') + self.assertEqual(self.personal_equipment_request.state, "cancelled") + self.assertEqual(self.personal_equipment_request.line_ids[0].state, "cancelled") def test_allocation_compute_name(self): - self.assertEqual(self.personal_equipment_request.line_ids[0].name, - 'Product Test Personal Equipment 1 to Test User') + self.assertEqual( + self.personal_equipment_request.line_ids[0].name, + "Product Test Personal Equipment 1 to Test User", + ) def test_onchange_uom_id(self): self.assertFalse(self.personal_equipment_request.line_ids[0].product_uom_id) self.personal_equipment_request.line_ids[0]._onchange_uom_id() self.assertTrue(self.personal_equipment_request.line_ids[0].product_uom_id) - self.assertEqual(self.personal_equipment_request.line_ids[0].product_uom_id, - self.product_personal_equipment_1.uom_id) + self.assertEqual( + self.personal_equipment_request.line_ids[0].product_uom_id, + self.product_personal_equipment_1.uom_id, + ) def test_validate_allocation(self): self.personal_equipment_request.accept_request() allocation = self.personal_equipment_request.line_ids[0] - self.assertEqual(allocation.state, 'accepted') + self.assertEqual(allocation.state, "accepted") allocation.validate_allocation() - self.assertEqual(allocation.state, 'valid') + self.assertEqual(allocation.state, "valid") def test_expire_allocation(self): self.personal_equipment_request.accept_request() allocation = self.personal_equipment_request.line_ids[0] allocation.validate_allocation() - self.assertEqual(allocation.state, 'valid') + self.assertEqual(allocation.state, "valid") allocation.expire_allocation() - self.assertEqual(allocation.state, 'expired') + self.assertEqual(allocation.state, "expired") def test_action_open_equipment_request(self): action = self.employee.action_open_equipment_request() - self.assertEqual(action['res_model'], 'hr.personal.equipment.request') + self.assertEqual(action["res_model"], "hr.personal.equipment.request") self.assertEqual(self.employee.equipment_request_count, 1) def test_action_open_personal_equipment(self): action = self.employee.action_open_personal_equipment() - self.assertEqual(action['res_model'], 'hr.personal.equipment') + self.assertEqual(action["res_model"], "hr.personal.equipment") self.assertEqual(self.employee.personal_equipment_count, 0) self.personal_equipment_request.accept_request() self.personal_equipment_request.refresh() diff --git a/hr_personal_equipment_request/views/hr_employee.xml b/hr_personal_equipment_request/views/hr_employee.xml index 9c0b5ccbec4..4b96bfe9368 100644 --- a/hr_personal_equipment_request/views/hr_employee.xml +++ b/hr_personal_equipment_request/views/hr_employee.xml @@ -1,13 +1,11 @@ - + - - hr.employee.form (in hr_personal_equipment_request) hr.employee - + - - - - diff --git a/hr_personal_equipment_request/views/hr_personal_equipment.xml b/hr_personal_equipment_request/views/hr_personal_equipment.xml index d7dcb5ca3ab..02b50406526 100644 --- a/hr_personal_equipment_request/views/hr_personal_equipment.xml +++ b/hr_personal_equipment_request/views/hr_personal_equipment.xml @@ -1,97 +1,149 @@ - + - - - hr.personal.equipment.form (in hr_personal_equipment_request) + hr.personal.equipment.form (in hr_personal_equipment_request) hr.personal.equipment
- + - - - - + + + + - + - +
- - - + + +
- - hr.personal.equipment.tree (in hr_personal_equipment_request) + hr.personal.equipment.tree (in hr_personal_equipment_request) hr.personal.equipment - - - - - - - + + + + + + + - - hr.personal.equipment.search (in hr_personal_equipment_request) + hr.personal.equipment.search (in hr_personal_equipment_request) hr.personal.equipment - - - - + + + + - - - + + + - - - - + + + + - - Allocations hr.personal.equipment @@ -99,18 +151,15 @@ [] {'search_default_filter_valid_state':1} - Personal Equipment - - + + - - + Allocations - - - + + + -
diff --git a/hr_personal_equipment_request/views/hr_personal_equipment_request.xml b/hr_personal_equipment_request/views/hr_personal_equipment_request.xml index cb83ef5ed90..583f21d3d88 100644 --- a/hr_personal_equipment_request/views/hr_personal_equipment_request.xml +++ b/hr_personal_equipment_request/views/hr_personal_equipment_request.xml @@ -1,126 +1,160 @@ - + - - - hr.personal.equipment.request.form (in hr_personal_equipment_request) + hr.personal.equipment.request.form (in hr_personal_equipment_request) hr.personal.equipment.request
-
+
- - + + - + - - - - - - - + + + + + + +
- - - - - - + + + + + +
- - + +
-
- - - + + +
- - - hr.personal.equipment.request.search (in hr_personal_equipment_request) + + hr.personal.equipment.request.search (in hr_personal_equipment_request) hr.personal.equipment.request - - - + + + - - hr.personal.equipment.request.tree (in hr_personal_equipment_request) + hr.personal.equipment.request.tree (in hr_personal_equipment_request) hr.personal.equipment.request - - - - + + + + - Personal Equipment Request hr.personal.equipment.request tree,form [] - {'search_default_filter_draft_state':1,'search_default_filter_accepted_state':1} + {'search_default_filter_draft_state':1,'search_default_filter_accepted_state':1} - Personal Equipment Request - - - + + + - diff --git a/hr_personal_equipment_request/views/product_template.xml b/hr_personal_equipment_request/views/product_template.xml index 6f4751bd313..9cb7b2b6b7e 100644 --- a/hr_personal_equipment_request/views/product_template.xml +++ b/hr_personal_equipment_request/views/product_template.xml @@ -1,25 +1,29 @@ - + - - product.template.form (in hr_personal_equipment_request) + product.template.form (in hr_personal_equipment_request) product.template - + - -
- -
+ +
+ +
- +
-
From 40ae97a92524fb2d9a4d7a5e65fae0f6a0f92676 Mon Sep 17 00:00:00 2001 From: Alba Riera Date: Mon, 27 Sep 2021 13:12:16 +0200 Subject: [PATCH 03/22] [MIG] hr_personal_equipment_request: Migration to 13.0 --- hr_personal_equipment_request/__manifest__.py | 3 +-- .../models/hr_personal_equipment.py | 8 +++++++- .../models/hr_personal_equipment_request.py | 2 +- .../tests/test_hr_personal_equipment_request.py | 8 +++++--- .../views/hr_personal_equipment.xml | 4 ++++ 5 files changed, 18 insertions(+), 7 deletions(-) diff --git a/hr_personal_equipment_request/__manifest__.py b/hr_personal_equipment_request/__manifest__.py index cec280ae41e..dc6c83f6c56 100644 --- a/hr_personal_equipment_request/__manifest__.py +++ b/hr_personal_equipment_request/__manifest__.py @@ -5,7 +5,7 @@ "name": "Hr Personal Equipment Request", "summary": """ This addon allows to manage employee personal equipment""", - "version": "12.0.1.0.0", + "version": "13.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/hr", @@ -18,5 +18,4 @@ "views/hr_personal_equipment_request.xml", "views/hr_employee.xml", ], - "demo": [], } diff --git a/hr_personal_equipment_request/models/hr_personal_equipment.py b/hr_personal_equipment_request/models/hr_personal_equipment.py index f39a4e6202e..cba888e2b2f 100644 --- a/hr_personal_equipment_request/models/hr_personal_equipment.py +++ b/hr_personal_equipment_request/models/hr_personal_equipment.py @@ -2,6 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import api, fields, models +from odoo.fields import Date class HrPersonalEquipment(models.Model): @@ -30,9 +31,10 @@ class HrPersonalEquipment(models.Model): ("cancelled", "Cancelled"), ], default="draft", - track_visibility=True, + tracking=True, ) start_date = fields.Date() + expiry_date = fields.Date() equipment_request_id = fields.Many2one( comodel_name="hr.personal.equipment.request", required=True, ondelete="cascade" ) @@ -56,6 +58,8 @@ def _compute_name(self): for rec in self: if rec.product_id.name and rec.employee_id.name: rec.name = "{} to {}".format(rec.product_id.name, rec.employee_id.name) + else: + rec.name = False def _validate_allocation_vals(self): return { @@ -72,6 +76,8 @@ def validate_allocation(self): def expire_allocation(self): for rec in self: rec.state = "expired" + if not rec.expiry_date: + rec.expiry_date = Date.today() def _accept_request_vals(self): return {"state": "accepted"} diff --git a/hr_personal_equipment_request/models/hr_personal_equipment_request.py b/hr_personal_equipment_request/models/hr_personal_equipment_request.py index 22209186a43..b215e0443df 100644 --- a/hr_personal_equipment_request/models/hr_personal_equipment_request.py +++ b/hr_personal_equipment_request/models/hr_personal_equipment_request.py @@ -26,7 +26,7 @@ class HrPersonalEquipmentRequest(models.Model): state = fields.Selection( [("draft", "Draft"), ("accepted", "Accepted"), ("cancelled", "Cancelled")], default="draft", - track_visibility=True, + tracking=True, ) observations = fields.Text() diff --git a/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py b/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py index 632823c92f6..d7401d987e2 100644 --- a/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py +++ b/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py @@ -55,7 +55,7 @@ def setUp(self): self.personal_equipment_request = ( self.env["hr.personal.equipment.request"] - .sudo(self.user.id) + .with_user(self.user.id) .create( { "name": "Personal Equipment Request Test", @@ -68,7 +68,7 @@ def test_request_compute_name(self): self.assertTrue(self.personal_equipment_request.name) self.assertEqual( self.personal_equipment_request.name, - "Personal Equipment Request by Test User", + "Personal Equipment Request by Employee Test", ) def test_accept_request(self): @@ -88,7 +88,7 @@ def test_cancel_request(self): def test_allocation_compute_name(self): self.assertEqual( self.personal_equipment_request.line_ids[0].name, - "Product Test Personal Equipment 1 to Test User", + "Product Test Personal Equipment 1 to Employee Test", ) def test_onchange_uom_id(self): @@ -112,8 +112,10 @@ def test_expire_allocation(self): allocation = self.personal_equipment_request.line_ids[0] allocation.validate_allocation() self.assertEqual(allocation.state, "valid") + self.assertFalse(allocation.expiry_date) allocation.expire_allocation() self.assertEqual(allocation.state, "expired") + self.assertTrue(allocation.expiry_date) def test_action_open_equipment_request(self): action = self.employee.action_open_equipment_request() diff --git a/hr_personal_equipment_request/views/hr_personal_equipment.xml b/hr_personal_equipment_request/views/hr_personal_equipment.xml index 02b50406526..f0562f72b4d 100644 --- a/hr_personal_equipment_request/views/hr_personal_equipment.xml +++ b/hr_personal_equipment_request/views/hr_personal_equipment.xml @@ -65,6 +65,10 @@ name="start_date" attrs="{'readonly': [('state', 'not in', ('draft','accepted'))]}" /> +
From 68d97ad563a2bdcdc874af455866d9fc2de1f66e Mon Sep 17 00:00:00 2001 From: Alba Riera Date: Wed, 3 Nov 2021 17:04:07 +0100 Subject: [PATCH 04/22] [IMP] hr_personal_equipment_request: add smart button to allocations from request --- hr_personal_equipment_request/README.rst | 48 +- .../i18n/hr_personal_equipment_request.pot | 490 ++++++++++++++++++ .../models/hr_personal_equipment_request.py | 19 + .../static/description/index.html | 56 +- .../views/hr_personal_equipment_request.xml | 16 +- 5 files changed, 577 insertions(+), 52 deletions(-) create mode 100644 hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot diff --git a/hr_personal_equipment_request/README.rst b/hr_personal_equipment_request/README.rst index 14905ae94bb..ef1e6de6497 100644 --- a/hr_personal_equipment_request/README.rst +++ b/hr_personal_equipment_request/README.rst @@ -1,6 +1,6 @@ -===================== -Hr Personal Equipment -===================== +============================= +Hr Personal Equipment Request +============================= .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! @@ -13,11 +13,17 @@ Hr Personal Equipment .. |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-tegin%2Fhr-lightgray.png?logo=github - :target: https://github.com/tegin/hr/tree/12.0/hr_personal_equipment_request - :alt: tegin/hr - -|badge1| |badge2| |badge3| +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github + :target: https://github.com/OCA/hr/tree/13.0/hr_personal_equipment_request + :alt: OCA/hr +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-hr_personal_equipment_request + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/116/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| This module allows to create a personal equipment request and manage allocation of employee personal equipment. @@ -26,11 +32,6 @@ This module allows to create a personal equipment request and manage allocation .. contents:: :local: -Installation -============ - -To install this module, you need to have HR module installed or it will be requested during installation. - Usage ===== @@ -58,10 +59,10 @@ If needed, the allocation can be expired clicking the button "Expire", which can 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 smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -78,14 +79,19 @@ Contributors * Alba Riera -Other credits -~~~~~~~~~~~~~ +Maintainers +~~~~~~~~~~~ +This module is maintained by the OCA. +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org -Maintainers -~~~~~~~~~~~ +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. -This module is part of the `tegin/hr `_ project on GitHub. +This module is part of the `OCA/hr `_ project on GitHub. -You are welcome to contribute. +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot new file mode 100644 index 00000000000..20e26cc6fcf --- /dev/null +++ b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot @@ -0,0 +1,490 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_personal_equipment_request +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 13.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Accept" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__accepted +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__accepted +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Accepted" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment +msgid "Adds personal equipment information and allocation" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_allocations_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Allocations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__allocations_count +msgid "Allocations Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to accept this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to cancel this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Are you sure you want to expire this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to validate this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_attachment_count +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__cancelled +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__cancelled +msgid "Cancelled" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_date +msgid "Created on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__draft +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__draft +msgid "Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_employee +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__employee_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__employee_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Employee" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.product_template_form_view +msgid "Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view +msgid "Employee Personal Equipments" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__equipment_request_id +#, python-format +msgid "Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_count +msgid "Equipment Request Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Expire" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__expired +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Expired" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__expiry_date +msgid "Expiry Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_follower_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Group By" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id +msgid "ID" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "In Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_product__is_personal_equipment +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__is_personal_equipment +msgid "Is Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_is_follower +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_main_attachment_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__name +msgid "Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_summary +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__observations +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Observations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__line_ids +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_count +msgid "Personal Equipment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_request_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_request_menu +msgid "Personal Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#, python-format +msgid "Personal Equipment Request by %s" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Product" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_product_template +msgid "Product Template" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__quantity +msgid "Quantity" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_user_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date +msgid "Start Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__state +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment_request +msgid "This model allows to create a personal equipment request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_uom_id +msgid "Unit of Measure" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__valid +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Valid" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Validate" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids +msgid "Website communication history" +msgstr "" diff --git a/hr_personal_equipment_request/models/hr_personal_equipment_request.py b/hr_personal_equipment_request/models/hr_personal_equipment_request.py index b215e0443df..41c808c4653 100644 --- a/hr_personal_equipment_request/models/hr_personal_equipment_request.py +++ b/hr_personal_equipment_request/models/hr_personal_equipment_request.py @@ -23,11 +23,14 @@ class HrPersonalEquipmentRequest(models.Model): inverse_name="equipment_request_id", copy=True, ) + allocations_count = fields.Integer(compute="_compute_allocation_count") + state = fields.Selection( [("draft", "Draft"), ("accepted", "Accepted"), ("cancelled", "Cancelled")], default="draft", tracking=True, ) + observations = fields.Text() def _default_employee_id(self): @@ -50,3 +53,19 @@ def cancel_request(self): for rec in self: rec.state = "cancelled" rec.line_ids.update({"state": "cancelled"}) + + def _compute_equipment_request_count(self): + self.equipment_request_count = len(self.equipment_request_ids) + + def _compute_allocation_count(self): + self.allocations_count = len(self.line_ids) + + def action_open_personal_equipment(self): + self.ensure_one() + return { + "name": _("Allocations"), + "type": "ir.actions.act_window", + "res_model": "hr.personal.equipment", + "view_mode": "tree,form", + "domain": [("id", "in", self.line_ids.ids)], + } diff --git a/hr_personal_equipment_request/static/description/index.html b/hr_personal_equipment_request/static/description/index.html index c5084b69793..ec606ee2fc1 100644 --- a/hr_personal_equipment_request/static/description/index.html +++ b/hr_personal_equipment_request/static/description/index.html @@ -3,8 +3,8 @@ - -Hr Personal Equipment + +Hr Personal Equipment Request -
-

Hr Personal Equipment

+
+

Hr Personal Equipment Request

-

Beta License: AGPL-3 tegin/hr

+

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

This module allows to create a personal equipment request and manage allocation of employee personal equipment.

Table of contents

-
-

Installation

-

To install this module, you need to have HR module installed or it will be requested during installation.

-
-

Usage

+

Usage

First, products which can be requested by employees should be marked as employee personal equipment. 1. Go to Products (In Inventory App for example). 2. Select a product. @@ -408,34 +402,36 @@

Usage

If needed, the allocation can be expired clicking the button “Expire”, which can be found at the allocation form view.

-

Bug Tracker

-

Bugs are tracked on GitHub Issues. +

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.

-

Credits

+

Credits

-

Authors

+

Authors

  • Creu Blanca
-
-

Maintainers

-

This module is part of the tegin/hr project on GitHub.

-

You are welcome to contribute.

+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

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

+

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

+

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

diff --git a/hr_personal_equipment_request/views/hr_personal_equipment_request.xml b/hr_personal_equipment_request/views/hr_personal_equipment_request.xml index 583f21d3d88..0879445a0fe 100644 --- a/hr_personal_equipment_request/views/hr_personal_equipment_request.xml +++ b/hr_personal_equipment_request/views/hr_personal_equipment_request.xml @@ -29,7 +29,21 @@ -
+
+ +
Date: Wed, 22 Dec 2021 09:28:13 +0100 Subject: [PATCH 05/22] [MIG] hr_personal_equipment_request: Migration to 14.0 --- hr_personal_equipment_request/README.rst | 10 +++---- hr_personal_equipment_request/__manifest__.py | 2 +- .../i18n/hr_personal_equipment_request.pot | 26 ++++++++++++++++++- .../models/hr_employee.py | 3 ++- .../static/description/index.html | 6 ++--- 5 files changed, 36 insertions(+), 11 deletions(-) diff --git a/hr_personal_equipment_request/README.rst b/hr_personal_equipment_request/README.rst index ef1e6de6497..19dd5e70eee 100644 --- a/hr_personal_equipment_request/README.rst +++ b/hr_personal_equipment_request/README.rst @@ -14,13 +14,13 @@ Hr Personal Equipment Request :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github - :target: https://github.com/OCA/hr/tree/13.0/hr_personal_equipment_request + :target: https://github.com/OCA/hr/tree/14.0/hr_personal_equipment_request :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-13-0/hr-13-0-hr_personal_equipment_request + :target: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_personal_equipment_request :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/13.0 + :target: https://runbot.odoo-community.org/runbot/116/14.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -62,7 +62,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. @@ -92,6 +92,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/hr `_ project on GitHub. +This module is part of the `OCA/hr `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_personal_equipment_request/__manifest__.py b/hr_personal_equipment_request/__manifest__.py index dc6c83f6c56..8226d3af29b 100644 --- a/hr_personal_equipment_request/__manifest__.py +++ b/hr_personal_equipment_request/__manifest__.py @@ -5,7 +5,7 @@ "name": "Hr Personal Equipment Request", "summary": """ This addon allows to manage employee personal equipment""", - "version": "13.0.1.0.0", + "version": "14.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/hr", diff --git a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot index 20e26cc6fcf..9d686169a4d 100644 --- a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot +++ b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 13.0\n" +"Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -50,6 +50,12 @@ msgstr "" msgid "Activity State" msgstr "" +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment msgid "Adds personal equipment information and allocation" @@ -120,8 +126,10 @@ msgid "Created on" msgstr "" #. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name msgid "Display Name" msgstr "" @@ -197,14 +205,22 @@ msgstr "" msgid "Followers (Partners)" msgstr "" +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Group By" msgstr "" #. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__id msgid "ID" msgstr "" @@ -255,8 +271,10 @@ msgid "Is Follower" msgstr "" #. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update msgid "Last Modified on" msgstr "" @@ -290,6 +308,12 @@ msgstr "" msgid "Messages" msgstr "" +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__my_activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__name diff --git a/hr_personal_equipment_request/models/hr_employee.py b/hr_personal_equipment_request/models/hr_employee.py index 15e1df09fa9..f7d2aea553e 100644 --- a/hr_personal_equipment_request/models/hr_employee.py +++ b/hr_personal_equipment_request/models/hr_employee.py @@ -9,7 +9,8 @@ class HrEmployee(models.Model): _inherit = "hr.employee" equipment_request_ids = fields.One2many( - comodel_name="hr.personal.equipment.request", inverse_name="employee_id", + comodel_name="hr.personal.equipment.request", + inverse_name="employee_id", ) personal_equipment_ids = fields.One2many( diff --git a/hr_personal_equipment_request/static/description/index.html b/hr_personal_equipment_request/static/description/index.html index ec606ee2fc1..8cbd174829a 100644 --- a/hr_personal_equipment_request/static/description/index.html +++ b/hr_personal_equipment_request/static/description/index.html @@ -367,7 +367,7 @@

Hr Personal Equipment Request

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

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

+

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

This module allows to create a personal equipment request and manage allocation of employee personal equipment.

Table of contents

@@ -406,7 +406,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.

@@ -430,7 +430,7 @@

Maintainers

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

-

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

+

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

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

From 8e4567421de7e083e788db567d0624161a161eb1 Mon Sep 17 00:00:00 2001 From: Alba Riera Date: Mon, 7 Feb 2022 13:31:12 +0100 Subject: [PATCH 06/22] [IMP] hr_personal_equipment_request: add colors depending on state to tree view --- .../views/hr_personal_equipment.xml | 9 ++++++++- .../views/hr_personal_equipment_request.xml | 5 ++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/hr_personal_equipment_request/views/hr_personal_equipment.xml b/hr_personal_equipment_request/views/hr_personal_equipment.xml index f0562f72b4d..0d1d87e35ac 100644 --- a/hr_personal_equipment_request/views/hr_personal_equipment.xml +++ b/hr_personal_equipment_request/views/hr_personal_equipment.xml @@ -85,7 +85,14 @@ >hr.personal.equipment.tree (in hr_personal_equipment_request)
hr.personal.equipment - + diff --git a/hr_personal_equipment_request/views/hr_personal_equipment_request.xml b/hr_personal_equipment_request/views/hr_personal_equipment_request.xml index 0879445a0fe..16a6f3d58c7 100644 --- a/hr_personal_equipment_request/views/hr_personal_equipment_request.xml +++ b/hr_personal_equipment_request/views/hr_personal_equipment_request.xml @@ -148,7 +148,10 @@ >hr.personal.equipment.request.tree (in hr_personal_equipment_request) hr.personal.equipment.request - + From 62cedfc221af18f7d20ce0276c7a2dcbd0de45d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=20Mart=C3=ADnez?= Date: Tue, 29 Mar 2022 13:42:20 +0000 Subject: [PATCH 07/22] Added translation using Weblate (Spanish) --- hr_personal_equipment_request/i18n/es_PA.po | 515 ++++++++++++++++++++ 1 file changed, 515 insertions(+) create mode 100644 hr_personal_equipment_request/i18n/es_PA.po diff --git a/hr_personal_equipment_request/i18n/es_PA.po b/hr_personal_equipment_request/i18n/es_PA.po new file mode 100644 index 00000000000..49b75e3733a --- /dev/null +++ b/hr_personal_equipment_request/i18n/es_PA.po @@ -0,0 +1,515 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_personal_equipment_request +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es_PA\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Accept" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__accepted +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__accepted +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Accepted" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment +msgid "Adds personal equipment information and allocation" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_allocations_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Allocations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__allocations_count +msgid "Allocations Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to accept this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to cancel this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Are you sure you want to expire this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to validate this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_attachment_count +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__cancelled +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__cancelled +msgid "Cancelled" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_date +msgid "Created on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__draft +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__draft +msgid "Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_employee +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__employee_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__employee_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Employee" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.product_template_form_view +msgid "Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view +msgid "Employee Personal Equipments" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__equipment_request_id +#, python-format +msgid "Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_count +msgid "Equipment Request Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Expire" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__expired +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Expired" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__expiry_date +msgid "Expiry Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_follower_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Group By" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__id +msgid "ID" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "In Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_product__is_personal_equipment +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__is_personal_equipment +msgid "Is Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_is_follower +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_main_attachment_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__my_activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__name +msgid "Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_summary +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__observations +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Observations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__line_ids +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_count +msgid "Personal Equipment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_request_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_request_menu +msgid "Personal Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#, python-format +msgid "Personal Equipment Request by %s" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Product" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_product_template +msgid "Product Template" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__quantity +msgid "Quantity" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_user_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date +msgid "Start Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__state +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment_request +msgid "This model allows to create a personal equipment request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_uom_id +msgid "Unit of Measure" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__valid +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Valid" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Validate" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids +msgid "Website communication history" +msgstr "" From c2f08fc564f88154cb08271f1822242553f3a718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=20Mart=C3=ADnez?= Date: Tue, 29 Mar 2022 14:00:03 +0000 Subject: [PATCH 08/22] Added translation using Weblate (Spanish) --- hr_personal_equipment_request/i18n/es.po | 515 +++++++++++++++++++++++ 1 file changed, 515 insertions(+) create mode 100644 hr_personal_equipment_request/i18n/es.po diff --git a/hr_personal_equipment_request/i18n/es.po b/hr_personal_equipment_request/i18n/es.po new file mode 100644 index 00000000000..c9255aa7a04 --- /dev/null +++ b/hr_personal_equipment_request/i18n/es.po @@ -0,0 +1,515 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_personal_equipment_request +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Accept" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__accepted +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__accepted +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Accepted" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment +msgid "Adds personal equipment information and allocation" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_allocations_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Allocations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__allocations_count +msgid "Allocations Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to accept this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to cancel this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Are you sure you want to expire this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to validate this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_attachment_count +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__cancelled +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__cancelled +msgid "Cancelled" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_date +msgid "Created on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__draft +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__draft +msgid "Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_employee +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__employee_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__employee_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Employee" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.product_template_form_view +msgid "Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view +msgid "Employee Personal Equipments" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__equipment_request_id +#, python-format +msgid "Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_count +msgid "Equipment Request Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Expire" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__expired +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Expired" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__expiry_date +msgid "Expiry Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_follower_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Group By" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__id +msgid "ID" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "In Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_product__is_personal_equipment +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__is_personal_equipment +msgid "Is Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_is_follower +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_main_attachment_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__my_activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__name +msgid "Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_summary +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__observations +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Observations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__line_ids +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_count +msgid "Personal Equipment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_request_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_request_menu +msgid "Personal Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#, python-format +msgid "Personal Equipment Request by %s" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Product" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_product_template +msgid "Product Template" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__quantity +msgid "Quantity" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_user_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date +msgid "Start Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__state +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment_request +msgid "This model allows to create a personal equipment request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_uom_id +msgid "Unit of Measure" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__valid +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Valid" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Validate" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids +msgid "Website communication history" +msgstr "" From e2e8d91f91d72a732068920b13c242bc94d75de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=20Mart=C3=ADnez?= Date: Tue, 29 Mar 2022 14:29:57 +0000 Subject: [PATCH 09/22] Translated using Weblate (Spanish) Currently translated at 98.7% (81 of 82 strings) Translation: hr-14.0/hr-14.0-hr_personal_equipment_request Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_personal_equipment_request/es/ --- hr_personal_equipment_request/i18n/es.po | 166 ++++++++++++----------- 1 file changed, 87 insertions(+), 79 deletions(-) diff --git a/hr_personal_equipment_request/i18n/es.po b/hr_personal_equipment_request/i18n/es.po index c9255aa7a04..6c9d2be3e9d 100644 --- a/hr_personal_equipment_request/i18n/es.po +++ b/hr_personal_equipment_request/i18n/es.po @@ -6,18 +6,20 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2022-03-29 14:31+0000\n" +"Last-Translator: Rafa Martínez \n" "Language-Team: none\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Accept" -msgstr "" +msgstr "Aceptar" #. module: hr_personal_equipment_request #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__accepted @@ -25,42 +27,42 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Accepted" -msgstr "" +msgstr "Aceptada" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction msgid "Action Needed" -msgstr "" +msgstr "Acción Necesaria" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_ids msgid "Activities" -msgstr "" +msgstr "Actividades" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration msgid "Activity Exception Decoration" -msgstr "" +msgstr "Decoración de Actividad de Excepción" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_state #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state msgid "Activity State" -msgstr "" +msgstr "Estado de la actividad" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon msgid "Activity Type Icon" -msgstr "" +msgstr "Ícono de tipo de actividad" #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment msgid "Adds personal equipment information and allocation" -msgstr "" +msgstr "Agrega información y asignación del equipo personal" #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 @@ -69,62 +71,64 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view #, python-format msgid "Allocations" -msgstr "" +msgstr "Asignaciones" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__allocations_count msgid "Allocations Count" -msgstr "" +msgstr "Nº de asignaciones" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Are you sure you want to accept this personal equipment request?" -msgstr "" +msgstr "¿Está seguro de que desea aceptar esta solicitud de equipo personal?" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Are you sure you want to cancel this personal equipment request?" -msgstr "" +msgstr "¿Está seguro de que desea cancelar esta solicitud de equipo personal?" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view msgid "Are you sure you want to expire this personal equipment allocation?" msgstr "" +"¿Estás seguro de que deseas que venza esta asignación de equipo personal?" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Are you sure you want to validate this personal equipment allocation?" msgstr "" +"¿Estás seguro de que deseas que validar esta asignación de equipo personal?" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_attachment_count #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_attachment_count msgid "Attachment Count" -msgstr "" +msgstr "Nº de archivos adjuntos" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Cancel" -msgstr "" +msgstr "Cancelar" #. module: hr_personal_equipment_request #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__cancelled #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__cancelled msgid "Cancelled" -msgstr "" +msgstr "Cancelado" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_uid #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_uid msgid "Created by" -msgstr "" +msgstr "Creado por" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_date #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_date msgid "Created on" -msgstr "" +msgstr "Creado el" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name @@ -132,13 +136,13 @@ msgstr "" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name msgid "Display Name" -msgstr "" +msgstr "Nombre mostrado" #. module: hr_personal_equipment_request #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__draft #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__draft msgid "Draft" -msgstr "" +msgstr "Borrador" #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_hr_employee @@ -146,18 +150,18 @@ msgstr "" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__employee_id #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Employee" -msgstr "" +msgstr "Empleado" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.product_template_form_view msgid "Employee Personal Equipment" -msgstr "" +msgstr "Empleado del equipo personal" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view msgid "Employee Personal Equipments" -msgstr "" +msgstr "Empleado de los equipos personales" #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 @@ -165,57 +169,57 @@ msgstr "" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__equipment_request_id #, python-format msgid "Equipment Request" -msgstr "" +msgstr "Solicitud de Equipo personal" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_count msgid "Equipment Request Count" -msgstr "" +msgstr "Nº de solicitudes de Equipo personal" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view msgid "Expire" -msgstr "" +msgstr "Vencido" #. module: hr_personal_equipment_request #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__expired #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Expired" -msgstr "" +msgstr "Vencido" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__expiry_date msgid "Expiry Date" -msgstr "" +msgstr "Fecha de vencimiento" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_follower_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_follower_ids msgid "Followers" -msgstr "" +msgstr "Seguidores" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids msgid "Followers (Channels)" -msgstr "" +msgstr "Seguidores (Canales)" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids msgid "Followers (Partners)" -msgstr "" +msgstr "Seguidores (Contactos)" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon msgid "Font awesome icon e.g. fa-tasks" -msgstr "" +msgstr "Icono de Font Awesome ej. fa-tasks" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Group By" -msgstr "" +msgstr "Agrupar por" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id @@ -229,13 +233,13 @@ msgstr "" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon msgid "Icon" -msgstr "" +msgstr "Icono" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon msgid "Icon to indicate an exception activity." -msgstr "" +msgstr "Icono para indicar una actividad de excepción." #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction @@ -243,7 +247,7 @@ msgstr "" #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread msgid "If checked, new messages require your attention." -msgstr "" +msgstr "Si está marcado hay nuevos mensajes que requieren su atención." #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error @@ -251,25 +255,25 @@ msgstr "" #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error msgid "If checked, some messages have a delivery error." -msgstr "" +msgstr "Si se encuentra marcado, algunos mensajes tienen error de envío." #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "In Draft" -msgstr "" +msgstr "En borrador" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_product__is_personal_equipment #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__is_personal_equipment msgid "Is Employee Personal Equipment" -msgstr "" +msgstr "Es Equipo de Protección Personal" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_is_follower #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_is_follower msgid "Is Follower" -msgstr "" +msgstr "Es un seguidor" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update @@ -277,113 +281,113 @@ msgstr "" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update msgid "Last Modified on" -msgstr "" +msgstr "Última modificación el" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_uid #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_uid msgid "Last Updated by" -msgstr "" +msgstr "Última actualización por" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_date #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_date msgid "Last Updated on" -msgstr "" +msgstr "Última actualización el" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_main_attachment_id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_main_attachment_id msgid "Main Attachment" -msgstr "" +msgstr "Adjuntos principales" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error msgid "Message Delivery error" -msgstr "" +msgstr "Error de Envío de Mensaje" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_ids msgid "Messages" -msgstr "" +msgstr "Mensajes" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__my_activity_date_deadline #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__my_activity_date_deadline msgid "My Activity Deadline" -msgstr "" +msgstr "Mi fecha límite de actividad" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__name msgid "Name" -msgstr "" +msgstr "Nombre" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline msgid "Next Activity Deadline" -msgstr "" +msgstr "Siguiente plazo de actividad" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_summary #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_summary msgid "Next Activity Summary" -msgstr "" +msgstr "Resumen de la siguiente actividad" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_id msgid "Next Activity Type" -msgstr "" +msgstr "Siguiente tipo de actividad" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter msgid "Number of Actions" -msgstr "" +msgstr "Número de acciones" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter msgid "Number of errors" -msgstr "" +msgstr "Numero de errores" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter msgid "Number of messages which requires an action" -msgstr "" +msgstr "Número de mensajes que requieren una acción" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter msgid "Number of messages with delivery error" -msgstr "" +msgstr "Número de mensajes con error de envío" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter msgid "Number of unread messages" -msgstr "" +msgstr "Número de mensajes no leidos" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__observations #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Observations" -msgstr "" +msgstr "Observaciones" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view msgid "PE" -msgstr "" +msgstr "EP" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view msgid "PE Request" -msgstr "" +msgstr "Solicitud de EP" #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 @@ -393,64 +397,64 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view #, python-format msgid "Personal Equipment" -msgstr "" +msgstr "Equipo personal" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_count msgid "Personal Equipment Count" -msgstr "" +msgstr "Nº de Equipos personal" #. module: hr_personal_equipment_request #: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_request_act_window #: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_request_menu msgid "Personal Equipment Request" -msgstr "" +msgstr "Solicitud de Equipo personal" #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 #, python-format msgid "Personal Equipment Request by %s" -msgstr "" +msgstr "Equipo personal solicitado por %s" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_id #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Product" -msgstr "" +msgstr "Producto" #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_product_template msgid "Product Template" -msgstr "" +msgstr "Plantilla de producto" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__quantity msgid "Quantity" -msgstr "" +msgstr "Cantidad" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_user_id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_user_id msgid "Responsible User" -msgstr "" +msgstr "Usuario responsable" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error msgid "SMS Delivery error" -msgstr "" +msgstr "Error de envío del SMS" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date msgid "Start Date" -msgstr "" +msgstr "Fecha de inicio" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__state #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__state #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "State" -msgstr "" +msgstr "Estado" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_state @@ -461,55 +465,59 @@ msgid "" "Today: Activity date is today\n" "Planned: Future activities." msgstr "" +"Estado basado en actividades\n" +"Vencida: la fecha tope ya ha pasado\n" +"Hoy: La fecha tope es hoy\n" +"Planificada: futuras actividades." #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment_request msgid "This model allows to create a personal equipment request" -msgstr "" +msgstr "Este modelo permite crear una solicitud de equipo personal" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration msgid "Type of the exception activity on record." -msgstr "" +msgstr "Tipo de actividad de excepción registrada." #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_uom_id msgid "Unit of Measure" -msgstr "" +msgstr "Unidad de medida" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread msgid "Unread Messages" -msgstr "" +msgstr "Mensajes sin leer" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter msgid "Unread Messages Counter" -msgstr "" +msgstr "Nº de mensajes sin leer" #. module: hr_personal_equipment_request #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__valid #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Valid" -msgstr "" +msgstr "Valido" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Validate" -msgstr "" +msgstr "Validar" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids msgid "Website Messages" -msgstr "" +msgstr "Mensajes del sitio web" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids msgid "Website communication history" -msgstr "" +msgstr "Historial de comunicaciones del sitio web" From eb71bc788a1ca24dce34957f764a43c8bda115c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=20Mart=C3=ADnez?= Date: Tue, 29 Mar 2022 14:56:37 +0000 Subject: [PATCH 10/22] Translated using Weblate (Spanish) Currently translated at 98.7% (81 of 82 strings) Translation: hr-14.0/hr-14.0-hr_personal_equipment_request Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_personal_equipment_request/es/ --- hr_personal_equipment_request/i18n/es.po | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hr_personal_equipment_request/i18n/es.po b/hr_personal_equipment_request/i18n/es.po index 6c9d2be3e9d..f2428be6f1d 100644 --- a/hr_personal_equipment_request/i18n/es.po +++ b/hr_personal_equipment_request/i18n/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-03-29 14:31+0000\n" +"PO-Revision-Date: 2022-03-29 14:56+0000\n" "Last-Translator: Rafa Martínez \n" "Language-Team: none\n" "Language: es\n" @@ -62,7 +62,7 @@ msgstr "Ícono de tipo de actividad" #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment msgid "Adds personal equipment information and allocation" -msgstr "Agrega información y asignación del equipo personal" +msgstr "Agrega información y asignación del equipo individual" #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 @@ -81,25 +81,25 @@ msgstr "Nº de asignaciones" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Are you sure you want to accept this personal equipment request?" -msgstr "¿Está seguro de que desea aceptar esta solicitud de equipo personal?" +msgstr "¿Está seguro de que desea aceptar esta solicitud de equipo individual?" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Are you sure you want to cancel this personal equipment request?" -msgstr "¿Está seguro de que desea cancelar esta solicitud de equipo personal?" +msgstr "¿Está seguro de que desea cancelar esta solicitud de equipo individual?" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view msgid "Are you sure you want to expire this personal equipment allocation?" msgstr "" -"¿Estás seguro de que deseas que venza esta asignación de equipo personal?" +"¿Estás seguro de que deseas que venza esta asignación de equipo individual?" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Are you sure you want to validate this personal equipment allocation?" msgstr "" -"¿Estás seguro de que deseas que validar esta asignación de equipo personal?" +"¿Estás seguro de que deseas que validar esta asignación de equipo individual?" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_attachment_count @@ -156,12 +156,12 @@ msgstr "Empleado" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.product_template_form_view msgid "Employee Personal Equipment" -msgstr "Empleado del equipo personal" +msgstr "Empleado del equipo individual" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view msgid "Employee Personal Equipments" -msgstr "Empleado de los equipos personales" +msgstr "Empleado de los equipos individuales" #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 @@ -169,12 +169,12 @@ msgstr "Empleado de los equipos personales" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__equipment_request_id #, python-format msgid "Equipment Request" -msgstr "Solicitud de Equipo personal" +msgstr "Solicitud de Equipo individual" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_count msgid "Equipment Request Count" -msgstr "Nº de solicitudes de Equipo personal" +msgstr "Nº de solicitudes de Equipo individual" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view @@ -267,7 +267,7 @@ msgstr "En borrador" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_product__is_personal_equipment #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__is_personal_equipment msgid "Is Employee Personal Equipment" -msgstr "Es Equipo de Protección Personal" +msgstr "Es Equipo de Protección Individual" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_is_follower From 4947f43e92951731adc25fff53c8fd1068a2db51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=20Mart=C3=ADnez?= Date: Tue, 29 Mar 2022 15:01:26 +0000 Subject: [PATCH 11/22] Translated using Weblate (Spanish) Currently translated at 98.7% (81 of 82 strings) Translation: hr-14.0/hr-14.0-hr_personal_equipment_request Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_personal_equipment_request/es/ --- hr_personal_equipment_request/i18n/es.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hr_personal_equipment_request/i18n/es.po b/hr_personal_equipment_request/i18n/es.po index f2428be6f1d..3025d9fb5d4 100644 --- a/hr_personal_equipment_request/i18n/es.po +++ b/hr_personal_equipment_request/i18n/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-03-29 14:56+0000\n" +"PO-Revision-Date: 2022-03-29 15:01+0000\n" "Last-Translator: Rafa Martínez \n" "Language-Team: none\n" "Language: es\n" @@ -408,13 +408,13 @@ msgstr "Nº de Equipos personal" #: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_request_act_window #: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_request_menu msgid "Personal Equipment Request" -msgstr "Solicitud de Equipo personal" +msgstr "Solicitud de Equipo individual" #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 #, python-format msgid "Personal Equipment Request by %s" -msgstr "Equipo personal solicitado por %s" +msgstr "Equipo individual solicitado por %s" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_id @@ -473,7 +473,7 @@ msgstr "" #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment_request msgid "This model allows to create a personal equipment request" -msgstr "Este modelo permite crear una solicitud de equipo personal" +msgstr "Este modelo permite crear una solicitud de equipo individual" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration From f1e7b43dfb86977b21aaded6235d7956a10423f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=20Mart=C3=ADnez?= Date: Tue, 29 Mar 2022 15:02:56 +0000 Subject: [PATCH 12/22] Translated using Weblate (Spanish) Currently translated at 98.7% (81 of 82 strings) Translation: hr-14.0/hr-14.0-hr_personal_equipment_request Translate-URL: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_personal_equipment_request/es/ --- hr_personal_equipment_request/i18n/es.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hr_personal_equipment_request/i18n/es.po b/hr_personal_equipment_request/i18n/es.po index 3025d9fb5d4..83eee84d5f2 100644 --- a/hr_personal_equipment_request/i18n/es.po +++ b/hr_personal_equipment_request/i18n/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2022-03-29 15:01+0000\n" +"PO-Revision-Date: 2022-03-29 15:03+0000\n" "Last-Translator: Rafa Martínez \n" "Language-Team: none\n" "Language: es\n" @@ -397,12 +397,12 @@ msgstr "Solicitud de EP" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view #, python-format msgid "Personal Equipment" -msgstr "Equipo personal" +msgstr "Equipo individual" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_count msgid "Personal Equipment Count" -msgstr "Nº de Equipos personal" +msgstr "Nº de Equipos Individual" #. module: hr_personal_equipment_request #: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_request_act_window From d3760983e6dd7ddceaf08962eb1413652bf6edad Mon Sep 17 00:00:00 2001 From: Maria Sparenberg Date: Wed, 11 May 2022 10:51:12 +0000 Subject: [PATCH 13/22] Added translation using Weblate (German) --- hr_personal_equipment_request/i18n/de.po | 515 +++++++++++++++++++++++ 1 file changed, 515 insertions(+) create mode 100644 hr_personal_equipment_request/i18n/de.po diff --git a/hr_personal_equipment_request/i18n/de.po b/hr_personal_equipment_request/i18n/de.po new file mode 100644 index 00000000000..36ba93a3491 --- /dev/null +++ b/hr_personal_equipment_request/i18n/de.po @@ -0,0 +1,515 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_personal_equipment_request +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Accept" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__accepted +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__accepted +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Accepted" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment +msgid "Adds personal equipment information and allocation" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_allocations_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Allocations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__allocations_count +msgid "Allocations Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to accept this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to cancel this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Are you sure you want to expire this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to validate this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_attachment_count +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__cancelled +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__cancelled +msgid "Cancelled" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_date +msgid "Created on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__draft +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__draft +msgid "Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_employee +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__employee_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__employee_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Employee" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.product_template_form_view +msgid "Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view +msgid "Employee Personal Equipments" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__equipment_request_id +#, python-format +msgid "Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_count +msgid "Equipment Request Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Expire" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__expired +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Expired" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__expiry_date +msgid "Expiry Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_follower_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids +msgid "Followers (Channels)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Group By" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__id +msgid "ID" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "In Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_product__is_personal_equipment +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__is_personal_equipment +msgid "Is Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_is_follower +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_main_attachment_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__my_activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__name +msgid "Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_summary +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__observations +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Observations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__line_ids +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_count +msgid "Personal Equipment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_request_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_request_menu +msgid "Personal Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#, python-format +msgid "Personal Equipment Request by %s" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Product" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_product_template +msgid "Product Template" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__quantity +msgid "Quantity" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_user_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date +msgid "Start Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__state +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment_request +msgid "This model allows to create a personal equipment request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_uom_id +msgid "Unit of Measure" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__valid +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Valid" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Validate" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids +msgid "Website Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids +msgid "Website communication history" +msgstr "" From 7dbb195c70947af561191cab216a5238eb088a0c Mon Sep 17 00:00:00 2001 From: Olga Marco Date: Thu, 12 May 2022 12:35:05 +0200 Subject: [PATCH 14/22] [MIG] hr_personal_equipment_request: Migration to 15.0 --- hr_personal_equipment_request/__manifest__.py | 2 +- hr_personal_equipment_request/views/hr_personal_equipment.xml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hr_personal_equipment_request/__manifest__.py b/hr_personal_equipment_request/__manifest__.py index 8226d3af29b..1217c5ab5ee 100644 --- a/hr_personal_equipment_request/__manifest__.py +++ b/hr_personal_equipment_request/__manifest__.py @@ -5,7 +5,7 @@ "name": "Hr Personal Equipment Request", "summary": """ This addon allows to manage employee personal equipment""", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "license": "AGPL-3", "author": "Creu Blanca,Odoo Community Association (OCA)", "website": "https://github.com/OCA/hr", diff --git a/hr_personal_equipment_request/views/hr_personal_equipment.xml b/hr_personal_equipment_request/views/hr_personal_equipment.xml index 0d1d87e35ac..69c8761fa96 100644 --- a/hr_personal_equipment_request/views/hr_personal_equipment.xml +++ b/hr_personal_equipment_request/views/hr_personal_equipment.xml @@ -86,7 +86,6 @@ hr.personal.equipment Date: Mon, 13 Jun 2022 14:39:25 +0000 Subject: [PATCH 15/22] [UPD] Update hr_personal_equipment_request.pot --- .../i18n/hr_personal_equipment_request.pot | 37 ++++--------------- 1 file changed, 7 insertions(+), 30 deletions(-) diff --git a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot index 9d686169a4d..3b01e4d366c 100644 --- a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot +++ b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" @@ -126,10 +126,8 @@ msgid "Created on" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name msgid "Display Name" msgstr "" @@ -153,11 +151,6 @@ msgstr "" msgid "Employee Personal Equipment" msgstr "" -#. module: hr_personal_equipment_request -#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view -msgid "Employee Personal Equipments" -msgstr "" - #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids @@ -193,12 +186,6 @@ msgstr "" msgid "Followers" msgstr "" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids -msgid "Followers (Channels)" -msgstr "" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids @@ -217,10 +204,14 @@ msgid "Group By" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__has_message +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__has_message +msgid "Has Message" +msgstr "" + +#. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__id msgid "ID" msgstr "" @@ -271,10 +262,8 @@ msgid "Is Follower" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update msgid "Last Modified on" msgstr "" @@ -500,15 +489,3 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Validate" msgstr "" - -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids -msgid "Website Messages" -msgstr "" - -#. module: hr_personal_equipment_request -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids -msgid "Website communication history" -msgstr "" From de798d218a362eaef9225013ebe7bf0b45ac7632 Mon Sep 17 00:00:00 2001 From: OCA-git-bot Date: Mon, 13 Jun 2022 14:41:41 +0000 Subject: [PATCH 16/22] [UPD] README.rst --- hr_personal_equipment_request/README.rst | 10 +++++----- .../static/description/index.html | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hr_personal_equipment_request/README.rst b/hr_personal_equipment_request/README.rst index 19dd5e70eee..be94b47895e 100644 --- a/hr_personal_equipment_request/README.rst +++ b/hr_personal_equipment_request/README.rst @@ -14,13 +14,13 @@ Hr Personal Equipment Request :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fhr-lightgray.png?logo=github - :target: https://github.com/OCA/hr/tree/14.0/hr_personal_equipment_request + :target: https://github.com/OCA/hr/tree/15.0/hr_personal_equipment_request :alt: OCA/hr .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/hr-14-0/hr-14-0-hr_personal_equipment_request + :target: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_personal_equipment_request :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/116/14.0 + :target: https://runbot.odoo-community.org/runbot/116/15.0 :alt: Try me on Runbot |badge1| |badge2| |badge3| |badge4| |badge5| @@ -62,7 +62,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. @@ -92,6 +92,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/hr `_ project on GitHub. +This module is part of the `OCA/hr `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/hr_personal_equipment_request/static/description/index.html b/hr_personal_equipment_request/static/description/index.html index 8cbd174829a..a87d9036c87 100644 --- a/hr_personal_equipment_request/static/description/index.html +++ b/hr_personal_equipment_request/static/description/index.html @@ -367,7 +367,7 @@

Hr Personal Equipment Request

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

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

+

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

This module allows to create a personal equipment request and manage allocation of employee personal equipment.

Table of contents

@@ -406,7 +406,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.

@@ -430,7 +430,7 @@

Maintainers

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

-

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

+

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

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

From 3ff1ff1ced5ade72eac8d572737cf57222960fe1 Mon Sep 17 00:00:00 2001 From: oca-ci Date: Wed, 13 Jul 2022 08:12:44 +0000 Subject: [PATCH 17/22] [UPD] Update hr_personal_equipment_request.pot --- .../i18n/hr_personal_equipment_request.pot | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot index 3b01e4d366c..6e1a0aacb10 100644 --- a/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot +++ b/hr_personal_equipment_request/i18n/hr_personal_equipment_request.pot @@ -309,6 +309,12 @@ msgstr "" msgid "Name" msgstr "" +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_calendar_event_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline From 83bf36d61dbd8d4064c6627114703efb5063c047 Mon Sep 17 00:00:00 2001 From: OCA Transbot Date: Sun, 17 Jul 2022 03:52:04 +0000 Subject: [PATCH 18/22] Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: hr-15.0/hr-15.0-hr_personal_equipment_request Translate-URL: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_personal_equipment_request/ --- hr_personal_equipment_request/i18n/de.po | 41 +++++----------- hr_personal_equipment_request/i18n/es.po | 52 ++++++++++----------- hr_personal_equipment_request/i18n/es_PA.po | 41 +++++----------- 3 files changed, 48 insertions(+), 86 deletions(-) diff --git a/hr_personal_equipment_request/i18n/de.po b/hr_personal_equipment_request/i18n/de.po index 36ba93a3491..43c60a47663 100644 --- a/hr_personal_equipment_request/i18n/de.po +++ b/hr_personal_equipment_request/i18n/de.po @@ -127,10 +127,8 @@ msgid "Created on" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name msgid "Display Name" msgstr "" @@ -154,11 +152,6 @@ msgstr "" msgid "Employee Personal Equipment" msgstr "" -#. module: hr_personal_equipment_request -#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view -msgid "Employee Personal Equipments" -msgstr "" - #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids @@ -194,12 +187,6 @@ msgstr "" msgid "Followers" msgstr "" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids -msgid "Followers (Channels)" -msgstr "" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids @@ -218,10 +205,14 @@ msgid "Group By" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__has_message +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__has_message +msgid "Has Message" +msgstr "" + +#. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__id msgid "ID" msgstr "" @@ -272,10 +263,8 @@ msgid "Is Follower" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update msgid "Last Modified on" msgstr "" @@ -321,6 +310,12 @@ msgstr "" msgid "Name" msgstr "" +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_calendar_event_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline @@ -501,15 +496,3 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Validate" msgstr "" - -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids -msgid "Website Messages" -msgstr "" - -#. module: hr_personal_equipment_request -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids -msgid "Website communication history" -msgstr "" diff --git a/hr_personal_equipment_request/i18n/es.po b/hr_personal_equipment_request/i18n/es.po index 83eee84d5f2..894151a39fb 100644 --- a/hr_personal_equipment_request/i18n/es.po +++ b/hr_personal_equipment_request/i18n/es.po @@ -86,7 +86,8 @@ msgstr "¿Está seguro de que desea aceptar esta solicitud de equipo individual? #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Are you sure you want to cancel this personal equipment request?" -msgstr "¿Está seguro de que desea cancelar esta solicitud de equipo individual?" +msgstr "" +"¿Está seguro de que desea cancelar esta solicitud de equipo individual?" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view @@ -131,10 +132,8 @@ msgid "Created on" msgstr "Creado el" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name msgid "Display Name" msgstr "Nombre mostrado" @@ -158,11 +157,6 @@ msgstr "Empleado" msgid "Employee Personal Equipment" msgstr "Empleado del equipo individual" -#. module: hr_personal_equipment_request -#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view -msgid "Employee Personal Equipments" -msgstr "Empleado de los equipos individuales" - #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids @@ -198,12 +192,6 @@ msgstr "Fecha de vencimiento" msgid "Followers" msgstr "Seguidores" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids -msgid "Followers (Channels)" -msgstr "Seguidores (Canales)" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids @@ -222,10 +210,14 @@ msgid "Group By" msgstr "Agrupar por" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__has_message +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__has_message +msgid "Has Message" +msgstr "" + +#. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__id msgid "ID" msgstr "" @@ -276,10 +268,8 @@ msgid "Is Follower" msgstr "Es un seguidor" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update msgid "Last Modified on" msgstr "Última modificación el" @@ -325,6 +315,12 @@ msgstr "Mi fecha límite de actividad" msgid "Name" msgstr "Nombre" +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_calendar_event_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline @@ -510,14 +506,14 @@ msgstr "Valido" msgid "Validate" msgstr "Validar" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids -msgid "Website Messages" -msgstr "Mensajes del sitio web" +#~ msgid "Employee Personal Equipments" +#~ msgstr "Empleado de los equipos individuales" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids -msgid "Website communication history" -msgstr "Historial de comunicaciones del sitio web" +#~ msgid "Followers (Channels)" +#~ msgstr "Seguidores (Canales)" + +#~ msgid "Website Messages" +#~ msgstr "Mensajes del sitio web" + +#~ msgid "Website communication history" +#~ msgstr "Historial de comunicaciones del sitio web" diff --git a/hr_personal_equipment_request/i18n/es_PA.po b/hr_personal_equipment_request/i18n/es_PA.po index 49b75e3733a..0017a46f4fb 100644 --- a/hr_personal_equipment_request/i18n/es_PA.po +++ b/hr_personal_equipment_request/i18n/es_PA.po @@ -127,10 +127,8 @@ msgid "Created on" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__display_name msgid "Display Name" msgstr "" @@ -154,11 +152,6 @@ msgstr "" msgid "Employee Personal Equipment" msgstr "" -#. module: hr_personal_equipment_request -#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_tree_view -msgid "Employee Personal Equipments" -msgstr "" - #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids @@ -194,12 +187,6 @@ msgstr "" msgid "Followers" msgstr "" -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_channel_ids -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_channel_ids -msgid "Followers (Channels)" -msgstr "" - #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids @@ -218,10 +205,14 @@ msgid "Group By" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__has_message +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__has_message +msgid "Has Message" +msgstr "" + +#. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__id msgid "ID" msgstr "" @@ -272,10 +263,8 @@ msgid "Is Follower" msgstr "" #. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template____last_update msgid "Last Modified on" msgstr "" @@ -321,6 +310,12 @@ msgstr "" msgid "Name" msgstr "" +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_calendar_event_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline @@ -501,15 +496,3 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Validate" msgstr "" - -#. module: hr_personal_equipment_request -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids -#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids -msgid "Website Messages" -msgstr "" - -#. module: hr_personal_equipment_request -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__website_message_ids -#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__website_message_ids -msgid "Website communication history" -msgstr "" From bcc2c7e761734b2e4e9b9c81160269fa8e0568c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Douglas=20Cust=C3=B3dio?= Date: Wed, 12 Oct 2022 00:06:04 +0000 Subject: [PATCH 19/22] Added translation using Weblate (Portuguese (Brazil)) --- hr_personal_equipment_request/i18n/pt_BR.po | 498 ++++++++++++++++++++ 1 file changed, 498 insertions(+) create mode 100644 hr_personal_equipment_request/i18n/pt_BR.po diff --git a/hr_personal_equipment_request/i18n/pt_BR.po b/hr_personal_equipment_request/i18n/pt_BR.po new file mode 100644 index 00000000000..26b3a87a6ef --- /dev/null +++ b/hr_personal_equipment_request/i18n/pt_BR.po @@ -0,0 +1,498 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * hr_personal_equipment_request +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 15.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n > 1;\n" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Accept" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__accepted +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__accepted +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Accepted" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +msgid "Action Needed" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_ids +msgid "Activities" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Activity Exception Decoration" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "Activity State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Activity Type Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment +msgid "Adds personal equipment information and allocation" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_allocations_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Allocations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__allocations_count +msgid "Allocations Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to accept this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to cancel this personal equipment request?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Are you sure you want to expire this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Are you sure you want to validate this personal equipment allocation?" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_attachment_count +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_attachment_count +msgid "Attachment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Cancel" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__cancelled +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__cancelled +msgid "Cancelled" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_uid +msgid "Created by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__create_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__create_date +msgid "Created on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__display_name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__display_name +msgid "Display Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__draft +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__draft +msgid "Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_employee +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__employee_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__employee_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Employee" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.product_template_form_view +msgid "Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__equipment_request_id +#, python-format +msgid "Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_count +msgid "Equipment Request Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +msgid "Expire" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__expired +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Expired" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__expiry_date +msgid "Expiry Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_follower_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_follower_ids +msgid "Followers" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids +msgid "Followers (Partners)" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon +msgid "Font awesome icon e.g. fa-tasks" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Group By" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__has_message +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__has_message +msgid "Has Message" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id +msgid "ID" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon +msgid "Icon to indicate an exception activity." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "If checked, new messages require your attention." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "If checked, some messages have a delivery error." +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "In Draft" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_product__is_personal_equipment +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_product_template__is_personal_equipment +msgid "Is Employee Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_is_follower +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_is_follower +msgid "Is Follower" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment____last_update +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request____last_update +msgid "Last Modified on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_uid +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__write_date +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__write_date +msgid "Last Updated on" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_main_attachment_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_main_attachment_id +msgid "Main Attachment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error +msgid "Message Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_ids +msgid "Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__my_activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__my_activity_date_deadline +msgid "My Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__name +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__name +msgid "Name" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_calendar_event_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_calendar_event_id +msgid "Next Activity Calendar Event" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_date_deadline +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_date_deadline +msgid "Next Activity Deadline" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_summary +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_summary +msgid "Next Activity Summary" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_id +msgid "Next Activity Type" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of Actions" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of errors" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction_counter +msgid "Number of messages which requires an action" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_error_counter +msgid "Number of messages with delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Number of unread messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__observations +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Observations" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_employee_form_view +msgid "PE Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_ids +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__line_ids +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_menu +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +#, python-format +msgid "Personal Equipment" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__personal_equipment_count +msgid "Personal Equipment Count" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.actions.act_window,name:hr_personal_equipment_request.hr_personal_equipment_request_act_window +#: model:ir.ui.menu,name:hr_personal_equipment_request.hr_personal_equipment_request_menu +msgid "Personal Equipment Request" +msgstr "" + +#. module: hr_personal_equipment_request +#: code:addons/hr_personal_equipment_request/models/hr_personal_equipment_request.py:0 +#, python-format +msgid "Personal Equipment Request by %s" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_id +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Product" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_product_template +msgid "Product Template" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__quantity +msgid "Quantity" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_user_id +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_user_id +msgid "Responsible User" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_has_sms_error +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_has_sms_error +msgid "SMS Delivery error" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__start_date +msgid "Start Date" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__state +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__state +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "State" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_state +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state +msgid "" +"Status based on activities\n" +"Overdue: Due date is already passed\n" +"Today: Activity date is today\n" +"Planned: Future activities." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment_request +msgid "This model allows to create a personal equipment request" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration +#: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration +msgid "Type of the exception activity on record." +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__product_uom_id +msgid "Unit of Measure" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread +msgid "Unread Messages" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_unread_counter +#: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread_counter +msgid "Unread Messages Counter" +msgstr "" + +#. module: hr_personal_equipment_request +#: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__valid +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view +msgid "Valid" +msgstr "" + +#. module: hr_personal_equipment_request +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view +#: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view +msgid "Validate" +msgstr "" From d25d9e59347397bf1fe60e5788258a7dd5b06eeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Douglas=20Cust=C3=B3dio?= Date: Wed, 12 Oct 2022 00:14:21 +0000 Subject: [PATCH 20/22] Translated using Weblate (Portuguese (Brazil)) Currently translated at 30.0% (24 of 80 strings) Translation: hr-15.0/hr-15.0-hr_personal_equipment_request Translate-URL: https://translation.odoo-community.org/projects/hr-15-0/hr-15-0-hr_personal_equipment_request/pt_BR/ --- hr_personal_equipment_request/i18n/pt_BR.po | 52 +++++++++++---------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/hr_personal_equipment_request/i18n/pt_BR.po b/hr_personal_equipment_request/i18n/pt_BR.po index 26b3a87a6ef..b368e846e7c 100644 --- a/hr_personal_equipment_request/i18n/pt_BR.po +++ b/hr_personal_equipment_request/i18n/pt_BR.po @@ -6,18 +6,20 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" -"Last-Translator: Automatically generated\n" +"PO-Revision-Date: 2022-10-12 02:35+0000\n" +"Last-Translator: Douglas Custódio \n" "Language-Team: none\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: \n" "Plural-Forms: nplurals=2; plural=n > 1;\n" +"X-Generator: Weblate 4.3.2\n" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_form_view msgid "Accept" -msgstr "" +msgstr "Aceitar" #. module: hr_personal_equipment_request #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__accepted @@ -25,37 +27,37 @@ msgstr "" #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_request_search_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Accepted" -msgstr "" +msgstr "Aceito" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction msgid "Action Needed" -msgstr "" +msgstr "Requer Ação" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_ids msgid "Activities" -msgstr "" +msgstr "Atividades" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_decoration #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_decoration msgid "Activity Exception Decoration" -msgstr "" +msgstr "Decoração de exceção de atividade" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_state #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_state msgid "Activity State" -msgstr "" +msgstr "Situação da Atividade" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon msgid "Activity Type Icon" -msgstr "" +msgstr "Ícone de Tipo de Atividade" #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_hr_personal_equipment @@ -136,7 +138,7 @@ msgstr "" #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__draft #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment_request__state__draft msgid "Draft" -msgstr "" +msgstr "Rascunho" #. module: hr_personal_equipment_request #: model:ir.model,name:hr_personal_equipment_request.model_hr_employee @@ -144,13 +146,13 @@ msgstr "" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__employee_id #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Employee" -msgstr "" +msgstr "Funcionário" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.product_template_form_view msgid "Employee Personal Equipment" -msgstr "" +msgstr "Equipamento Pessoal do Funcionário" #. module: hr_personal_equipment_request #: code:addons/hr_personal_equipment_request/models/hr_employee.py:0 @@ -158,75 +160,75 @@ msgstr "" #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__equipment_request_id #, python-format msgid "Equipment Request" -msgstr "" +msgstr "Requisição de Equipamento" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_employee__equipment_request_count msgid "Equipment Request Count" -msgstr "" +msgstr "Contagem Requisição de Equipamento" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_form_view msgid "Expire" -msgstr "" +msgstr "Expirar" #. module: hr_personal_equipment_request #: model:ir.model.fields.selection,name:hr_personal_equipment_request.selection__hr_personal_equipment__state__expired #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Expired" -msgstr "" +msgstr "Expirado" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__expiry_date msgid "Expiry Date" -msgstr "" +msgstr "Data de Expiração" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_follower_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_follower_ids msgid "Followers" -msgstr "" +msgstr "Seguidores" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__message_partner_ids #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__message_partner_ids msgid "Followers (Partners)" -msgstr "" +msgstr "Seguidores (Parceiros)" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_type_icon #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_type_icon msgid "Font awesome icon e.g. fa-tasks" -msgstr "" +msgstr "Ícone Font Awesome ex. fa-tasks" #. module: hr_personal_equipment_request #: model_terms:ir.ui.view,arch_db:hr_personal_equipment_request.hr_personal_equipment_search_view msgid "Group By" -msgstr "" +msgstr "Agrupar por" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__has_message #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__has_message msgid "Has Message" -msgstr "" +msgstr "Há mensagem" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__id #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__id msgid "ID" -msgstr "" +msgstr "ID" #. module: hr_personal_equipment_request #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon #: model:ir.model.fields,field_description:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon msgid "Icon" -msgstr "" +msgstr "Ícone" #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__activity_exception_icon #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__activity_exception_icon msgid "Icon to indicate an exception activity." -msgstr "" +msgstr "Ícone para indicar uma atividade excepcional." #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_needaction @@ -234,7 +236,7 @@ msgstr "" #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_needaction #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment_request__message_unread msgid "If checked, new messages require your attention." -msgstr "" +msgstr "Se marcado, novas mensagens requerem sua atenção." #. module: hr_personal_equipment_request #: model:ir.model.fields,help:hr_personal_equipment_request.field_hr_personal_equipment__message_has_error From 65969640f39298065a7f95c67686ea0833e36b1e Mon Sep 17 00:00:00 2001 From: FernandoRomera Date: Tue, 20 Dec 2022 12:47:56 +0100 Subject: [PATCH 21/22] [IMP] hr_personal_equipment_request: pre-commit stuff --- .../odoo/addons/hr_personal_equipment_request | 1 + setup/hr_personal_equipment_request/setup.py | 6 ++++++ 2 files changed, 7 insertions(+) create mode 120000 setup/hr_personal_equipment_request/odoo/addons/hr_personal_equipment_request create mode 100644 setup/hr_personal_equipment_request/setup.py diff --git a/setup/hr_personal_equipment_request/odoo/addons/hr_personal_equipment_request b/setup/hr_personal_equipment_request/odoo/addons/hr_personal_equipment_request new file mode 120000 index 00000000000..d2cc3ddf5bb --- /dev/null +++ b/setup/hr_personal_equipment_request/odoo/addons/hr_personal_equipment_request @@ -0,0 +1 @@ +../../../../hr_personal_equipment_request \ No newline at end of file diff --git a/setup/hr_personal_equipment_request/setup.py b/setup/hr_personal_equipment_request/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/hr_personal_equipment_request/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) From 0f5ddbd52655c28fdbf96c804867043f5690779a Mon Sep 17 00:00:00 2001 From: FernandoRomera Date: Tue, 20 Dec 2022 12:51:20 +0100 Subject: [PATCH 22/22] [16.0][MIG] hr_personal_equipment_request: Migration to 16.0 --- hr_personal_equipment_request/__manifest__.py | 12 ++++++------ .../tests/test_hr_personal_equipment_request.py | 11 ++++++++++- .../views/{hr_employee.xml => hr_employee_views.xml} | 0 ...t.xml => hr_personal_equipment_request_views.xml} | 0 ...equipment.xml => hr_personal_equipment_views.xml} | 0 ...oduct_template.xml => product_template_views.xml} | 0 6 files changed, 16 insertions(+), 7 deletions(-) rename hr_personal_equipment_request/views/{hr_employee.xml => hr_employee_views.xml} (100%) rename hr_personal_equipment_request/views/{hr_personal_equipment_request.xml => hr_personal_equipment_request_views.xml} (100%) rename hr_personal_equipment_request/views/{hr_personal_equipment.xml => hr_personal_equipment_views.xml} (100%) rename hr_personal_equipment_request/views/{product_template.xml => product_template_views.xml} (100%) diff --git a/hr_personal_equipment_request/__manifest__.py b/hr_personal_equipment_request/__manifest__.py index 1217c5ab5ee..a4970db6498 100644 --- a/hr_personal_equipment_request/__manifest__.py +++ b/hr_personal_equipment_request/__manifest__.py @@ -5,17 +5,17 @@ "name": "Hr Personal Equipment Request", "summary": """ This addon allows to manage employee personal equipment""", - "version": "15.0.1.0.0", + "version": "16.0.1.0.0", "license": "AGPL-3", - "author": "Creu Blanca,Odoo Community Association (OCA)", + "author": "Creu Blanca, Odoo Community Association (OCA)", "website": "https://github.com/OCA/hr", "depends": ["product", "hr", "mail"], "data": [ "security/hr_personal_equipment_request_security.xml", "security/ir.model.access.csv", - "views/product_template.xml", - "views/hr_personal_equipment.xml", - "views/hr_personal_equipment_request.xml", - "views/hr_employee.xml", + "views/product_template_views.xml", + "views/hr_personal_equipment_views.xml", + "views/hr_personal_equipment_request_views.xml", + "views/hr_employee_views.xml", ], } diff --git a/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py b/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py index d7401d987e2..0ee6ccf0481 100644 --- a/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py +++ b/hr_personal_equipment_request/tests/test_hr_personal_equipment_request.py @@ -59,6 +59,7 @@ def setUp(self): .create( { "name": "Personal Equipment Request Test", + "employee_id": self.employee.id, "line_ids": [(0, 0, line) for line in lines], } ) @@ -71,6 +72,13 @@ def test_request_compute_name(self): "Personal Equipment Request by Employee Test", ) + def test_request_default_employee(self): + self.assertTrue(self.personal_equipment_request.employee_id) + self.assertEqual( + self.personal_equipment_request.employee_id.id, + self.employee.id, + ) + def test_accept_request(self): self.assertEqual(self.personal_equipment_request.state, "draft") self.assertEqual(self.personal_equipment_request.line_ids[0].state, "draft") @@ -127,5 +135,6 @@ def test_action_open_personal_equipment(self): self.assertEqual(action["res_model"], "hr.personal.equipment") self.assertEqual(self.employee.personal_equipment_count, 0) self.personal_equipment_request.accept_request() - self.personal_equipment_request.refresh() + self.personal_equipment_request.invalidate_recordset() + self.employee.invalidate_recordset() self.assertEqual(self.employee.personal_equipment_count, 2) diff --git a/hr_personal_equipment_request/views/hr_employee.xml b/hr_personal_equipment_request/views/hr_employee_views.xml similarity index 100% rename from hr_personal_equipment_request/views/hr_employee.xml rename to hr_personal_equipment_request/views/hr_employee_views.xml diff --git a/hr_personal_equipment_request/views/hr_personal_equipment_request.xml b/hr_personal_equipment_request/views/hr_personal_equipment_request_views.xml similarity index 100% rename from hr_personal_equipment_request/views/hr_personal_equipment_request.xml rename to hr_personal_equipment_request/views/hr_personal_equipment_request_views.xml diff --git a/hr_personal_equipment_request/views/hr_personal_equipment.xml b/hr_personal_equipment_request/views/hr_personal_equipment_views.xml similarity index 100% rename from hr_personal_equipment_request/views/hr_personal_equipment.xml rename to hr_personal_equipment_request/views/hr_personal_equipment_views.xml diff --git a/hr_personal_equipment_request/views/product_template.xml b/hr_personal_equipment_request/views/product_template_views.xml similarity index 100% rename from hr_personal_equipment_request/views/product_template.xml rename to hr_personal_equipment_request/views/product_template_views.xml