-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by nimarosa
- Loading branch information
Showing
25 changed files
with
1,447 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
===================== | ||
HR - Payroll Document | ||
===================== | ||
|
||
.. | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! This file is generated by oca-gen-addon-readme !! | ||
!! changes will be overwritten. !! | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! source digest: sha256:3698f5f5e529d5d32ae80cdc1ab30660ad4e5d39b6d98f8dace97a0b233743c5 | ||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png | ||
:target: https://odoo-community.org/page/development-status | ||
:alt: Beta | ||
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png | ||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html | ||
:alt: License: AGPL-3 | ||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpayroll-lightgray.png?logo=github | ||
:target: https://github.com/OCA/payroll/tree/16.0/hr_payroll_document | ||
:alt: OCA/payroll | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/payroll-16-0/payroll-16-0-hr_payroll_document | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/payroll&target_branch=16.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module have a wizard view to manage the different payrolls of employees which is identified by the identification_id attribute. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/payroll/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/payroll/issues/new?body=module:%20hr_payroll_document%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
Credits | ||
======= | ||
|
||
Authors | ||
~~~~~~~ | ||
|
||
* APSL | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Antoni Marroig Campomar <[email protected]> | ||
* Miquel Alzanillas Monserrat <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
This module is maintained by the OCA. | ||
|
||
.. image:: https://odoo-community.org/logo.png | ||
:alt: Odoo Community Association | ||
:target: https://odoo-community.org | ||
|
||
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. | ||
|
||
.. |maintainer-peluko00| image:: https://github.com/peluko00.png?size=40px | ||
:target: https://github.com/peluko00 | ||
:alt: peluko00 | ||
|
||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-peluko00| | ||
|
||
This module is part of the `OCA/payroll <https://github.com/OCA/payroll/tree/16.0/hr_payroll_document>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
from . import wizard | ||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "HR - Payroll Document", | ||
"summary": "Manage payroll for each employee", | ||
"author": "APSL, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/payroll", | ||
"license": "AGPL-3", | ||
"category": "Payrolls", | ||
"version": "16.0.1.0.0", | ||
"depends": ["hr", "base_vat"], | ||
"maintainers": ["peluko00"], | ||
"external_dependencies": {"python": ["pypdf"]}, | ||
"data": [ | ||
"wizard/payroll_management_wizard.xml", | ||
"security/ir.model.access.csv", | ||
"data/email_payroll_employee.xml", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="payroll_employee_email_template" model="mail.template"> | ||
<field name="name">Payroll Employee</field> | ||
<field name="model_id" ref="hr.model_hr_employee" /> | ||
<field name="email_from">{{object.company_id.email}}</field> | ||
<field name="email_to">{{object.work_email}}</field> | ||
<field name="subject">Payroll {{ctx.get('subject')}}</field> | ||
<field name="auto_delete" eval="False" /> | ||
<field name="body_html"> | ||
<![CDATA[<html> | ||
<head></head> | ||
<body style="margin: 0; padding: 0;"> | ||
<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> | ||
<p></p> | ||
</html> | ||
]]> | ||
</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,232 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * hr_payroll_document | ||
# | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 16.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2023-12-14 10:27+0000\n" | ||
"PO-Revision-Date: 2023-12-14 10:27+0000\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_payroll_document | ||
#: model:mail.template,body_html:hr_payroll_document.payroll_employee_email_template | ||
msgid "" | ||
"\n" | ||
" <html>\n" | ||
" <head></head>\n" | ||
" <body style=\"margin: 0; padding: 0;\">\n" | ||
" <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" | ||
" <p></p>\n" | ||
" </html>\n" | ||
" \n" | ||
" " | ||
msgstr "" | ||
"\n" | ||
" <html>\n" | ||
" <head></head>\n" | ||
" <body style=\"margin: 0; padding: 0;\">\n" | ||
" <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);\">Nòmina <t t-out=\"ctx.get('month')\" 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>Hola <t t-out=\"object.name\" contenteditable=\"false\" data-oe-t-inline=\"true\"/>,</p><br><p>Et remetem la teva nòmina del mes de <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" | ||
" <p></p>\n" | ||
" </html>\n" | ||
" \n" | ||
" " | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model,name:hr_payroll_document.model_ir_attachment | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment__payrol_rel | ||
msgid "Attachment" | ||
msgstr "Adjunt" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__attachment_id | ||
msgid "Attachment File" | ||
msgstr "Fitxer Adjunt" | ||
|
||
#. module: hr_payroll_document | ||
#: model_terms:ir.ui.view,arch_db:hr_payroll_document.payrolls_management_wizard_form | ||
msgid "Close" | ||
msgstr "Tancar" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__create_date | ||
msgid "Create Date" | ||
msgstr "Data de creació" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__create_uid | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__create_uid | ||
msgid "Created by" | ||
msgstr "Creat per" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__create_date | ||
msgid "Created on" | ||
msgstr "Creat el" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__display_name | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__display_name | ||
msgid "Display Name" | ||
msgstr "Nom a mostrar" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model,name:hr_payroll_document.model_hr_employee | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__employee | ||
msgid "Employee" | ||
msgstr "Empleat" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0 | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#, python-format | ||
msgid "Employees not found" | ||
msgstr "Empleats no trobats" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,help:hr_payroll_document.field_payroll_management_wizard__subject | ||
msgid "" | ||
"Enter the title of the payroll whether it is the month, week, day, etc." | ||
msgstr "" | ||
"Introduïu el títol de la nòmina ja sigui el mes, setmana, dia, etc." | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__id | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__id | ||
msgid "ID" | ||
msgstr "" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0 | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#, python-format | ||
msgid "IDs whose employee has not been found: " | ||
msgstr "IDs dels empleats que no s'han trobat: " | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__identification_id | ||
msgid "Identification ID" | ||
msgstr "Identificació ID" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom____last_update | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard____last_update | ||
msgid "Last Modified on" | ||
msgstr "Darrera modificació el" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__write_uid | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__write_uid | ||
msgid "Last Updated by" | ||
msgstr "Darrera actualització per" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__write_date | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__write_date | ||
msgid "Last Updated on" | ||
msgstr "Darrera actualització el" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#, python-format | ||
msgid "Missing pdf file signature" | ||
msgstr "Els fitxers han de ser de tipus pdf" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#, python-format | ||
msgid "Payroll" | ||
msgstr "Nòmina" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#, python-format | ||
msgid "Payroll " | ||
msgstr "Nòmina " | ||
|
||
#. module: hr_payroll_document | ||
#: model:mail.template,name:hr_payroll_document.payroll_employee_email_template | ||
msgid "Payroll Employee" | ||
msgstr "Nòmina Empleat" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model,name:hr_payroll_document.model_payroll_management_wizard | ||
msgid "Payroll Management" | ||
msgstr "Gestió Nòmines" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model,name:hr_payroll_document.model_ir_attachment_payroll_custom | ||
msgid "Payroll attachment" | ||
msgstr "Adjunt Nòmina" | ||
|
||
#. module: hr_payroll_document | ||
#: model:mail.template,subject:hr_payroll_document.payroll_employee_email_template | ||
msgid "Payroll {{ctx.get('subject')}}" | ||
msgstr "Nòmina {{ctx.get('month')}}" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__payrolls | ||
msgid "Payrolls" | ||
msgstr "Nòmines" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.actions.act_window,name:hr_payroll_document.payrolls_management_wizard_action | ||
#: model:ir.ui.menu,name:hr_payroll_document.payrolls_management_wizard_menu_action | ||
msgid "Payrolls Management" | ||
msgstr "Gestió Nòmines" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0 | ||
#: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0 | ||
#: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0 | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#, python-format | ||
msgid "Payrolls sent" | ||
msgstr "Nòmines enviades" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/tests/test_hr_payroll_document.py:0 | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#, python-format | ||
msgid "Payrolls sent to employees correctly" | ||
msgstr "Nòmines envides als empleats correctament" | ||
|
||
#. module: hr_payroll_document | ||
#: model_terms:ir.ui.view,arch_db:hr_payroll_document.payrolls_management_wizard_form | ||
msgid "Send" | ||
msgstr "Enviar" | ||
|
||
#. module: hr_payroll_document | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_ir_attachment_payroll_custom__subject | ||
#: model:ir.model.fields,field_description:hr_payroll_document.field_payroll_management_wizard__subject | ||
msgid "Subject" | ||
msgstr "Assumpte" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/models/hr_employee.py:0 | ||
#, python-format | ||
msgid "The field identification ID is not valid" | ||
msgstr "El camp identificatiu ID no és vàlid" | ||
|
||
#. module: hr_payroll_document | ||
#. odoo-python | ||
#: code:addons/hr_payroll_document/wizard/payroll_management_wizard.py:0 | ||
#, python-format | ||
msgid "You must to filled country field of company" | ||
msgstr "Falta emplenar el camp de país de l'empresa" |
Oops, something went wrong.