odoo-addon-hr-payroll-document 16.0.1.0.0.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of odoo-addon-hr-payroll-document might be problematic. Click here for more details.

Files changed (28) hide show
  1. odoo/addons/hr_payroll_document/README.rst +85 -0
  2. odoo/addons/hr_payroll_document/__init__.py +2 -0
  3. odoo/addons/hr_payroll_document/__manifest__.py +17 -0
  4. odoo/addons/hr_payroll_document/data/email_payroll_employee.xml +20 -0
  5. odoo/addons/hr_payroll_document/i18n/ca_ES.po +281 -0
  6. odoo/addons/hr_payroll_document/i18n/es.po +281 -0
  7. odoo/addons/hr_payroll_document/i18n/hr_payroll_document.pot +220 -0
  8. odoo/addons/hr_payroll_document/models/__init__.py +3 -0
  9. odoo/addons/hr_payroll_document/models/hr_employee.py +14 -0
  10. odoo/addons/hr_payroll_document/models/ir_attachment.py +14 -0
  11. odoo/addons/hr_payroll_document/models/ir_attachment_payroll_custom.py +18 -0
  12. odoo/addons/hr_payroll_document/readme/CONTRIBUTORS.rst +2 -0
  13. odoo/addons/hr_payroll_document/readme/DESCRIPTION.rst +1 -0
  14. odoo/addons/hr_payroll_document/security/ir.model.access.csv +3 -0
  15. odoo/addons/hr_payroll_document/static/description/icon.png +0 -0
  16. odoo/addons/hr_payroll_document/static/description/index.html +424 -0
  17. odoo/addons/hr_payroll_document/tests/__init__.py +1 -0
  18. odoo/addons/hr_payroll_document/tests/common.py +51 -0
  19. odoo/addons/hr_payroll_document/tests/test.docx +0 -0
  20. odoo/addons/hr_payroll_document/tests/test.pdf +0 -0
  21. odoo/addons/hr_payroll_document/tests/test_hr_payroll_document.py +107 -0
  22. odoo/addons/hr_payroll_document/wizard/__init__.py +1 -0
  23. odoo/addons/hr_payroll_document/wizard/payroll_management_wizard.py +169 -0
  24. odoo/addons/hr_payroll_document/wizard/payroll_management_wizard.xml +42 -0
  25. odoo_addon_hr_payroll_document-16.0.1.0.0.2.dist-info/METADATA +104 -0
  26. odoo_addon_hr_payroll_document-16.0.1.0.0.2.dist-info/RECORD +28 -0
  27. odoo_addon_hr_payroll_document-16.0.1.0.0.2.dist-info/WHEEL +5 -0
  28. odoo_addon_hr_payroll_document-16.0.1.0.0.2.dist-info/top_level.txt +1 -0
@@ -0,0 +1,281 @@
1
+ # Translation of Odoo Server.
2
+ # This file contains the translation of the following modules:
3
+ # * hr_payroll_document
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Odoo Server 16.0\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "POT-Creation-Date: 2023-12-14 10:28+0000\n"
10
+ "PO-Revision-Date: 2023-12-14 10:28+0000\n"
11
+ "Last-Translator: \n"
12
+ "Language-Team: \n"
13
+ "Language: \n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: \n"
17
+ "Plural-Forms: \n"
18
+
19
+ #. module: hr_payroll_document
20
+ #: model:mail.template,body_html:hr_payroll_document.payroll_employee_email_template
21
+ msgid ""
22
+ "\n"
23
+ " <html>\n"
24
+ " <head></head>\n"
25
+ " <body style=\"margin: 0; padding: 0;\">\n"
26
+ " <table style=\"padding:20px;background-color:#ededed; "
27
+ "border-collapse:separate\" width=\"100%\" cellpadding=\"0\" "
28
+ "border=\"0\"><tbody><!-- HEADER --><tr><td style=\"min-width:590px\" "
29
+ "align=\"center\"><table style=\"min-width:590px;background-color:#fff; "
30
+ "padding:20px; border-collapse:separate\" width=\"590\" cellpadding=\"0\" "
31
+ "border=\"0\"><tbody><tr><td style=\"text-align:right\" "
32
+ "valign=\"middle\"><img src=\"/logo.png\" style=\"padding:0px;margin:0px; "
33
+ "height:auto; width:80px\" alt=\"{{object.company_id.name}}\"></td></"
34
+ "tr><tr><td style=\"text-align:left\" valign=\"middle\"><h2 style=\"color:"
35
+ "rgb(28, 130, 156)\"><font style=\"color:rgb(107, 175, 103);\">Payroll <t t-"
36
+ "out=\"ctx.get('subject')\" contenteditable=\"false\" data-oe-t-"
37
+ "inline=\"true\"/></font></h2></td></tr></tbody></table></td></tr><!-- "
38
+ "CONTENT --><tr><td style=\"min-width:590px\" align=\"center\"><table "
39
+ "style=\"min-width:590px;background-color:rgb(255, 255, 255); padding:20px; "
40
+ "border-collapse:separate\" width=\"590\" cellpadding=\"0\" "
41
+ "border=\"0\"><tbody><tr><td style=\"font-family:Arial,Helvetica,sans-serif;"
42
+ "color:#555; font-size:14px\" valign=\"top\"><p> </p><p>Hello <t t-"
43
+ "out=\"object.name\" contenteditable=\"false\" data-oe-t-inline=\"true\"/>,</"
44
+ "p><br><p>We send you the payroll with the subject <t t-out=\"ctx."
45
+ "get('subject')\" contenteditable=\"false\" data-oe-t-inline=\"true\"/>.<br></"
46
+ "p></td></tr><tr><td style=\"font-family:Arial,Helvetica,sans-serif;color:"
47
+ "#555; font-size:14px\" valign=\"top\"><br></td></tr><tr><td style=\"font-"
48
+ "family:Arial,Helvetica,sans-serif;color:#555; font-size:14px\" "
49
+ "valign=\"top\"><br><p></p></td></tr></tbody></table></td></tr><!-- FOOTER --"
50
+ "><tr><td style=\"min-width:590px\" align=\"center\"><table style=\"min-"
51
+ "width:590px;background-color:#95ce3f; padding:20px; border-collapse:"
52
+ "separate\" width=\"590\" cellpadding=\"0\" border=\"0\"><tbody> </tbody></"
53
+ "table></td></tr></tbody></table>\n"
54
+ " <p></p>\n"
55
+ " </html>\n"
56
+ " \n"
57
+ " "
58
+ msgstr ""
59
+ "\n"
60
+ " <html>\n"
61
+ " <head></head>\n"
62
+ " <body style=\"margin: 0; padding: 0;\">\n"
63
+ " <table style=\"padding:20px;background-color:#ededed; "
64
+ "border-collapse:separate\" width=\"100%\" cellpadding=\"0\" "
65
+ "border=\"0\"><tbody><!-- HEADER --><tr><td style=\"min-width:590px\" "
66
+ "align=\"center\"><table style=\"min-width:590px;background-color:#fff; "
67
+ "padding:20px; border-collapse:separate\" width=\"590\" cellpadding=\"0\" "
68
+ "border=\"0\"><tbody><tr><td style=\"text-align:right\" "
69
+ "valign=\"middle\"><img src=\"/logo.png\" style=\"padding:0px;margin:0px; "
70
+ "height:auto; width:80px\" alt=\"{{object.company_id.name}}\"></td></"
71
+ "tr><tr><td style=\"text-align:left\" valign=\"middle\"><h2 style=\"color:"
72
+ "rgb(28, 130, 156)\"><font style=\"color:rgb(107, 175, 103);\">Nómina <t t-"
73
+ "out=\"ctx.get('month')\" contenteditable=\"false\" data-oe-t-inline=\"true\"/"
74
+ "></font></h2></td></tr></tbody></table></td></tr><!-- CONTENT --><tr><td "
75
+ "style=\"min-width:590px\" align=\"center\"><table style=\"min-width:590px;"
76
+ "background-color:rgb(255, 255, 255); padding:20px; border-collapse:"
77
+ "separate\" width=\"590\" cellpadding=\"0\" border=\"0\"><tbody><tr><td "
78
+ "style=\"font-family:Arial,Helvetica,sans-serif;color:#555; font-size:14px\" "
79
+ "valign=\"top\"><p> </p><p>Hola <t t-out=\"object.name\" "
80
+ "contenteditable=\"false\" data-oe-t-inline=\"true\"/>,</p><br><p>Te enviamos "
81
+ "la nómina del mes de <t t-out=\"ctx.get('subject')\" "
82
+ "contenteditable=\"false\" data-oe-t-inline=\"true\"/>.<br></p></td></"
83
+ "tr><tr><td style=\"font-family:Arial,Helvetica,sans-serif;color:#555; font-"
84
+ "size:14px\" valign=\"top\"><br></td></tr><tr><td style=\"font-family:Arial,"
85
+ "Helvetica,sans-serif;color:#555; font-size:14px\" valign=\"top\"><br><p></"
86
+ "p></td></tr></tbody></table></td></tr><!-- FOOTER --><tr><td style=\"min-"
87
+ "width:590px\" align=\"center\"><table style=\"min-width:590px;background-"
88
+ "color:#95ce3f; padding:20px; border-collapse:separate\" width=\"590\" "
89
+ "cellpadding=\"0\" border=\"0\"><tbody> </tbody></table></td></tr></tbody></"
90
+ "table>\n"
91
+ " <p></p>\n"
92
+ " </html>\n"
93
+ " \n"
94
+ " "
95
+
96
+ #. module: hr_payroll_document
97
+ #: model:ir.model,name:hr_payroll_document.model_ir_attachment
98
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment__payrol_rel
99
+ msgid "Attachment"
100
+ msgstr "Adjunto"
101
+
102
+ #. module: hr_payroll_document
103
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__attachment_id
104
+ msgid "Attachment File"
105
+ msgstr "Fichero Adjunto"
106
+
107
+ #. module: hr_payroll_document
108
+ #: model_terms:ir.ui.view,arch_db:hr_payroll_document.payrolls_management_wizard_form
109
+ msgid "Close"
110
+ msgstr "Cerrar"
111
+
112
+ #. module: hr_payroll_document
113
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__create_date
114
+ msgid "Create Date"
115
+ msgstr "Fecha de creación"
116
+
117
+ #. module: hr_payroll_document
118
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__create_uid
119
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__create_uid
120
+ msgid "Created by"
121
+ msgstr "Creado por"
122
+
123
+ #. module: hr_payroll_document
124
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__create_date
125
+ msgid "Created on"
126
+ msgstr "Creado el"
127
+
128
+ #. module: hr_payroll_document
129
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__display_name
130
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__display_name
131
+ msgid "Display Name"
132
+ msgstr "Nombre para mostrar"
133
+
134
+ #. module: hr_payroll_document
135
+ #: model:ir.model,name:hr_payroll_document.model_hr_employee
136
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__employee
137
+ msgid "Employee"
138
+ msgstr "Empleado"
139
+
140
+ #. module: hr_payroll_document
141
+ #. odoo-python
142
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
143
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
144
+ #, python-format
145
+ msgid "Employees not found"
146
+ msgstr "Empleados no encontrados"
147
+
148
+ #. module: hr_payroll_document
149
+ #: model:ir.model.fields,help:hr_payroll_document.field_payroll_management_wizard__subject
150
+ msgid "Enter the title of the payroll whether it is the month, week, day, etc."
151
+ msgstr "Introduzca el título de la nómina ya sea el mes, semana, día , etc.."
152
+
153
+ #. module: hr_payroll_document
154
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__id
155
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__id
156
+ msgid "ID"
157
+ msgstr ""
158
+
159
+ #. module: hr_payroll_document
160
+ #. odoo-python
161
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
162
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
163
+ #, python-format
164
+ msgid "IDs whose employee has not been found: "
165
+ msgstr "IDs de los empleados que no se han encontrado: "
166
+
167
+ #. module: hr_payroll_document
168
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__identification_id
169
+ msgid "Identification ID"
170
+ msgstr "Identificación ID"
171
+
172
+ #. module: hr_payroll_document
173
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom____last_update
174
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard____last_update
175
+ msgid "Last Modified on"
176
+ msgstr "Última modificación el"
177
+
178
+ #. module: hr_payroll_document
179
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__write_uid
180
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__write_uid
181
+ msgid "Last Updated by"
182
+ msgstr "Última actualización por"
183
+
184
+ #. module: hr_payroll_document
185
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__write_date
186
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__write_date
187
+ msgid "Last Updated on"
188
+ msgstr "Última actualización el"
189
+
190
+ #. module: hr_payroll_document
191
+ #. odoo-python
192
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
193
+ #, python-format
194
+ msgid "Missing pdf file signature"
195
+ msgstr "Los archivos tienen que ser de tipo pdf"
196
+
197
+ #. module: hr_payroll_document
198
+ #. odoo-python
199
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
200
+ #, python-format
201
+ msgid "Payroll"
202
+ msgstr "Nómina"
203
+
204
+ #. module: hr_payroll_document
205
+ #. odoo-python
206
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
207
+ #, python-format
208
+ msgid "Payroll "
209
+ msgstr "Nómina "
210
+
211
+ #. module: hr_payroll_document
212
+ #: model:mail.template,name:hr_payroll_document.payroll_employee_email_template
213
+ msgid "Payroll Employee"
214
+ msgstr "Nómina Empleado"
215
+
216
+ #. module: hr_payroll_document
217
+ #: model:ir.model,name:hr_payroll_document.model_payroll_management_wizard
218
+ msgid "Payroll Management"
219
+ msgstr "Gestión Nóminas"
220
+
221
+ #. module: hr_payroll_document
222
+ #: model:ir.model,name:hr_payroll_document.model_ir_attachment_payroll_custom
223
+ msgid "Payroll attachment"
224
+ msgstr "Adjunto Nómina"
225
+
226
+ #. module: hr_payroll_document
227
+ #: model:mail.template,subject:hr_payroll_document.payroll_employee_email_template
228
+ msgid "Payroll {{ctx.get('subject')}}"
229
+ msgstr "Nómina {{ctx.get('month')}}"
230
+
231
+ #. module: hr_payroll_document
232
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__payrolls
233
+ msgid "Payrolls"
234
+ msgstr "Nóminas"
235
+
236
+ #. module: hr_payroll_document
237
+ #: model:ir.actions.act_window,name:hr_payroll_document.payrolls_management_wizard_action
238
+ #: model:ir.ui.menu,name:hr_payroll_document.payrolls_management_wizard_menu_action
239
+ msgid "Payrolls Management"
240
+ msgstr "Gestión Nóminas"
241
+
242
+ #. module: hr_payroll_document
243
+ #. odoo-python
244
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
245
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
246
+ #, python-format
247
+ msgid "Payrolls sent"
248
+ msgstr "Nóminas enviadas"
249
+
250
+ #. module: hr_payroll_document
251
+ #. odoo-python
252
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
253
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
254
+ #, python-format
255
+ msgid "Payrolls sent to employees correctly"
256
+ msgstr "Nóminas enviadas a los empleados correctamente"
257
+
258
+ #. module: hr_payroll_document
259
+ #: model_terms:ir.ui.view,arch_db:hr_payroll_document.payrolls_management_wizard_form
260
+ msgid "Send"
261
+ msgstr "Enviar"
262
+
263
+ #. module: hr_payroll_document
264
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__subject
265
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__subject
266
+ msgid "Subject"
267
+ msgstr "Asunto"
268
+
269
+ #. module: hr_payroll_document
270
+ #. odoo-python
271
+ #: code:addons/hr_payroll_document/models/hr_employee.py:0
272
+ #, python-format
273
+ msgid "The field identification ID is not valid"
274
+ msgstr "El campo identificativo ID no es válido"
275
+
276
+ #. module: hr_payroll_document
277
+ #. odoo-python
278
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
279
+ #, python-format
280
+ msgid "You must to filled country field of company"
281
+ msgstr "Falta rellenar el campo del país de la empresa"
@@ -0,0 +1,220 @@
1
+ # Translation of Odoo Server.
2
+ # This file contains the translation of the following modules:
3
+ # * hr_payroll_document
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Odoo Server 16.0\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "Last-Translator: \n"
10
+ "Language-Team: \n"
11
+ "MIME-Version: 1.0\n"
12
+ "Content-Type: text/plain; charset=UTF-8\n"
13
+ "Content-Transfer-Encoding: \n"
14
+ "Plural-Forms: \n"
15
+
16
+ #. module: hr_payroll_document
17
+ #: model:mail.template,body_html:hr_payroll_document.payroll_employee_email_template
18
+ msgid ""
19
+ "\n"
20
+ " <html>\n"
21
+ " <head></head>\n"
22
+ " <body style=\"margin: 0; padding: 0;\">\n"
23
+ " <table style=\"padding:20px;background-color:#ededed; border-collapse:separate\" width=\"100%\" cellpadding=\"0\" border=\"0\"><tbody><!-- HEADER --><tr><td style=\"min-width:590px\" align=\"center\"><table style=\"min-width:590px;background-color:#fff; padding:20px; border-collapse:separate\" width=\"590\" cellpadding=\"0\" border=\"0\"><tbody><tr><td style=\"text-align:right\" valign=\"middle\"><img src=\"/logo.png\" style=\"padding:0px;margin:0px; height:auto; width:80px\" alt=\"{{object.company_id.name}}\"></td></tr><tr><td style=\"text-align:left\" valign=\"middle\"><h2 style=\"color:rgb(28, 130, 156)\"><font style=\"color:rgb(107, 175, 103);\">Payroll <t t-out=\"ctx.get('subject')\" contenteditable=\"false\" data-oe-t-inline=\"true\"/></font></h2></td></tr></tbody></table></td></tr><!-- CONTENT --><tr><td style=\"min-width:590px\" align=\"center\"><table style=\"min-width:590px;background-color:rgb(255, 255, 255); padding:20px; border-collapse:separate\" width=\"590\" cellpadding=\"0\" border=\"0\"><tbody><tr><td style=\"font-family:Arial,Helvetica,sans-serif;color:#555; font-size:14px\" valign=\"top\"><p> </p><p>Hello <t t-out=\"object.name\" contenteditable=\"false\" data-oe-t-inline=\"true\"/>,</p><br><p>We send you the payroll with the subject <t t-out=\"ctx.get('subject')\" contenteditable=\"false\" data-oe-t-inline=\"true\"/>.<br></p></td></tr><tr><td style=\"font-family:Arial,Helvetica,sans-serif;color:#555; font-size:14px\" valign=\"top\"><br></td></tr><tr><td style=\"font-family:Arial,Helvetica,sans-serif;color:#555; font-size:14px\" valign=\"top\"><br><p></p></td></tr></tbody></table></td></tr><!-- FOOTER --><tr><td style=\"min-width:590px\" align=\"center\"><table style=\"min-width:590px;background-color:#95ce3f; padding:20px; border-collapse:separate\" width=\"590\" cellpadding=\"0\" border=\"0\"><tbody> </tbody></table></td></tr></tbody></table>\n"
24
+ " <p></p>\n"
25
+ " </html>\n"
26
+ " \n"
27
+ " "
28
+ msgstr ""
29
+
30
+ #. module: hr_payroll_document
31
+ #: model:ir.model,name:hr_payroll_document.model_ir_attachment
32
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment__payrol_rel
33
+ msgid "Attachment"
34
+ msgstr ""
35
+
36
+ #. module: hr_payroll_document
37
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__attachment_id
38
+ msgid "Attachment File"
39
+ msgstr ""
40
+
41
+ #. module: hr_payroll_document
42
+ #: model_terms:ir.ui.view,arch_db:hr_payroll_document.payrolls_management_wizard_form
43
+ msgid "Close"
44
+ msgstr ""
45
+
46
+ #. module: hr_payroll_document
47
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__create_date
48
+ msgid "Create Date"
49
+ msgstr ""
50
+
51
+ #. module: hr_payroll_document
52
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__create_uid
53
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__create_uid
54
+ msgid "Created by"
55
+ msgstr ""
56
+
57
+ #. module: hr_payroll_document
58
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__create_date
59
+ msgid "Created on"
60
+ msgstr ""
61
+
62
+ #. module: hr_payroll_document
63
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__display_name
64
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__display_name
65
+ msgid "Display Name"
66
+ msgstr ""
67
+
68
+ #. module: hr_payroll_document
69
+ #: model:ir.model,name:hr_payroll_document.model_hr_employee
70
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__employee
71
+ msgid "Employee"
72
+ msgstr ""
73
+
74
+ #. module: hr_payroll_document
75
+ #. odoo-python
76
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
77
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
78
+ #, python-format
79
+ msgid "Employees not found"
80
+ msgstr ""
81
+
82
+ #. module: hr_payroll_document
83
+ #: model:ir.model.fields,help:hr_payroll_document.field_payroll_management_wizard__subject
84
+ msgid ""
85
+ "Enter the title of the payroll whether it is the month, week, day, etc."
86
+ msgstr ""
87
+
88
+ #. module: hr_payroll_document
89
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__id
90
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__id
91
+ msgid "ID"
92
+ msgstr ""
93
+
94
+ #. module: hr_payroll_document
95
+ #. odoo-python
96
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
97
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
98
+ #, python-format
99
+ msgid "IDs whose employee has not been found: "
100
+ msgstr ""
101
+
102
+ #. module: hr_payroll_document
103
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__identification_id
104
+ msgid "Identification ID"
105
+ msgstr ""
106
+
107
+ #. module: hr_payroll_document
108
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom____last_update
109
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard____last_update
110
+ msgid "Last Modified on"
111
+ msgstr ""
112
+
113
+ #. module: hr_payroll_document
114
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__write_uid
115
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__write_uid
116
+ msgid "Last Updated by"
117
+ msgstr ""
118
+
119
+ #. module: hr_payroll_document
120
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__write_date
121
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__write_date
122
+ msgid "Last Updated on"
123
+ msgstr ""
124
+
125
+ #. module: hr_payroll_document
126
+ #. odoo-python
127
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
128
+ #, python-format
129
+ msgid "Missing pdf file signature"
130
+ msgstr ""
131
+
132
+ #. module: hr_payroll_document
133
+ #. odoo-python
134
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
135
+ #, python-format
136
+ msgid "Payroll"
137
+ msgstr ""
138
+
139
+ #. module: hr_payroll_document
140
+ #. odoo-python
141
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
142
+ #, python-format
143
+ msgid "Payroll "
144
+ msgstr ""
145
+
146
+ #. module: hr_payroll_document
147
+ #: model:mail.template,name:hr_payroll_document.payroll_employee_email_template
148
+ msgid "Payroll Employee"
149
+ msgstr ""
150
+
151
+ #. module: hr_payroll_document
152
+ #: model:ir.model,name:hr_payroll_document.model_payroll_management_wizard
153
+ msgid "Payroll Management"
154
+ msgstr ""
155
+
156
+ #. module: hr_payroll_document
157
+ #: model:ir.model,name:hr_payroll_document.model_ir_attachment_payroll_custom
158
+ msgid "Payroll attachment"
159
+ msgstr ""
160
+
161
+ #. module: hr_payroll_document
162
+ #: model:mail.template,subject:hr_payroll_document.payroll_employee_email_template
163
+ msgid "Payroll {{ctx.get('subject')}}"
164
+ msgstr ""
165
+
166
+ #. module: hr_payroll_document
167
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__payrolls
168
+ msgid "Payrolls"
169
+ msgstr ""
170
+
171
+ #. module: hr_payroll_document
172
+ #: model:ir.actions.act_window,name:hr_payroll_document.payrolls_management_wizard_action
173
+ #: model:ir.ui.menu,name:hr_payroll_document.payrolls_management_wizard_menu_action
174
+ msgid "Payrolls Management"
175
+ msgstr ""
176
+
177
+ #. module: hr_payroll_document
178
+ #. odoo-python
179
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
180
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
181
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
182
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
183
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
184
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
185
+ #, python-format
186
+ msgid "Payrolls sent"
187
+ msgstr ""
188
+
189
+ #. module: hr_payroll_document
190
+ #. odoo-python
191
+ #: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0
192
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
193
+ #, python-format
194
+ msgid "Payrolls sent to employees correctly"
195
+ msgstr ""
196
+
197
+ #. module: hr_payroll_document
198
+ #: model_terms:ir.ui.view,arch_db:hr_payroll_document.payrolls_management_wizard_form
199
+ msgid "Send"
200
+ msgstr ""
201
+
202
+ #. module: hr_payroll_document
203
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__subject
204
+ #: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__subject
205
+ msgid "Subject"
206
+ msgstr ""
207
+
208
+ #. module: hr_payroll_document
209
+ #. odoo-python
210
+ #: code:addons/hr_payroll_document/models/hr_employee.py:0
211
+ #, python-format
212
+ msgid "The field identification ID is not valid"
213
+ msgstr ""
214
+
215
+ #. module: hr_payroll_document
216
+ #. odoo-python
217
+ #: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0
218
+ #, python-format
219
+ msgid "You must to filled country field of company"
220
+ msgstr ""
@@ -0,0 +1,3 @@
1
+ from . import ir_attachment_payroll_custom
2
+ from . import ir_attachment
3
+ from . import hr_employee
@@ -0,0 +1,14 @@
1
+ from odoo import _, models
2
+ from odoo.exceptions import ValidationError
3
+
4
+
5
+ class Employee(models.Model):
6
+ _inherit = "hr.employee"
7
+
8
+ def write(self, vals):
9
+ res = super().write(vals)
10
+ if "identification_id" in vals and not self.env["res.partner"].simple_vat_check(
11
+ self.env.company.country_id.code, vals["identification_id"]
12
+ ):
13
+ raise ValidationError(_("The field identification ID is not valid"))
14
+ return res
@@ -0,0 +1,14 @@
1
+ from odoo import fields, models
2
+
3
+
4
+ class Attachment(models.Model):
5
+ _inherit = "ir.attachment"
6
+
7
+ payrol_rel = fields.Many2many(
8
+ "payroll.management.wizard",
9
+ "payrolls",
10
+ "attachment_id3",
11
+ "document_id",
12
+ string="Attachment",
13
+ invisible=1,
14
+ )
@@ -0,0 +1,18 @@
1
+ from odoo import fields, models
2
+
3
+
4
+ class IRAttachmentPayrollCustom(models.Model):
5
+ _name = "ir.attachment.payroll.custom"
6
+ _description = "Payroll attachment"
7
+
8
+ attachment_id = fields.Many2one(
9
+ comodel_name="ir.attachment",
10
+ string="Attachment File",
11
+ prefetch=False,
12
+ invisible=True,
13
+ ondelete="cascade",
14
+ )
15
+ employee = fields.Char()
16
+ identification_id = fields.Char("Identification ID")
17
+ create_date = fields.Date(default=fields.Date.context_today)
18
+ subject = fields.Char()
@@ -0,0 +1,2 @@
1
+ * Antoni Marroig Campomar <amarroig@apsl.net>
2
+ * Miquel Alzanillas Monserrat <malzanillas@apsl.net>
@@ -0,0 +1 @@
1
+ This module have a wizard view to manage the different payrolls of employees which is identified by the identification_id attribute.
@@ -0,0 +1,3 @@
1
+ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
2
+ payroll_management_wizard,payroll.management.wizard,model_payroll_management_wizard,hr.group_hr_manager,1,1,1,1
3
+ ir_attachment_payroll_custom,ir.attachment.payroll.custom,model_ir_attachment_payroll_custom,hr.group_hr_manager,1,1,1,1