odoo-addon-account-move-payroll-import 16.0.1.0.0__tar.gz

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.
Files changed (33) hide show
  1. odoo-addon-account_move_payroll_import-16.0.1.0.0/PKG-INFO +130 -0
  2. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/CHANGELOG.md +14 -0
  3. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/README.rst +117 -0
  4. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/__init__.py +4 -0
  5. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/__manifest__.py +39 -0
  6. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/data/payroll_import_defaults.xml +108 -0
  7. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/i18n/ca_ES.po +828 -0
  8. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/i18n/es.po +829 -0
  9. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/models/__init__.py +6 -0
  10. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/models/account_move.py +167 -0
  11. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/models/payroll_custom_concept.py +57 -0
  12. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/models/payroll_import_mapping.py +28 -0
  13. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/models/payroll_import_setup.py +497 -0
  14. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/security/ir.model.access.csv +5 -0
  15. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/static/src/css/styles.css +26 -0
  16. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/static/src/js/payroll_import_button.js +32 -0
  17. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/static/src/xml/payroll_import_templates.xml +24 -0
  18. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/utils/__init__.py +0 -0
  19. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/utils/file_utils.py +31 -0
  20. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/utils/parse_utils.py +34 -0
  21. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/views/assets_template.xml +13 -0
  22. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/views/payroll_import_views.xml +229 -0
  23. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/wizards/__init__.py +3 -0
  24. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/wizards/payroll_import_wizard.py +320 -0
  25. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo/addons/account_move_payroll_import/wizards/payroll_import_wizard.xml +44 -0
  26. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo_addon_account_move_payroll_import.egg-info/PKG-INFO +130 -0
  27. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo_addon_account_move_payroll_import.egg-info/SOURCES.txt +31 -0
  28. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo_addon_account_move_payroll_import.egg-info/dependency_links.txt +1 -0
  29. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo_addon_account_move_payroll_import.egg-info/not-zip-safe +1 -0
  30. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo_addon_account_move_payroll_import.egg-info/requires.txt +1 -0
  31. odoo-addon-account_move_payroll_import-16.0.1.0.0/odoo_addon_account_move_payroll_import.egg-info/top_level.txt +1 -0
  32. odoo-addon-account_move_payroll_import-16.0.1.0.0/setup.cfg +4 -0
  33. odoo-addon-account_move_payroll_import-16.0.1.0.0/setup.py +6 -0
@@ -0,0 +1,130 @@
1
+ Metadata-Version: 2.1
2
+ Name: odoo-addon-account_move_payroll_import
3
+ Version: 16.0.1.0.0
4
+ Summary: ODOO account move spanish payroll data import for social cooperatives.
5
+ Home-page: https://gitlab.com/somitcoop/erp-research/odoo-accounting
6
+ Author: Som It Cooperatiu SCCL, Som Connexió SCCL
7
+ License: AGPL-3
8
+ Classifier: Programming Language :: Python
9
+ Classifier: Framework :: Odoo
10
+ Classifier: Framework :: Odoo :: 16.0
11
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
12
+ Requires-Python: >=3.10
13
+
14
+ ##################################################
15
+ SomItCoop ODOO accounting spanish payroll import
16
+ ##################################################
17
+
18
+ ..
19
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
20
+ !! This file is generated by oca-gen-addon-readme !!
21
+ !! changes will be overwritten. !!
22
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
23
+ !! source digest: sha256:fa88a5911e9d75e4ccaee78931e61a91ccfe34e0de09254e0edd30ad0752f428
24
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
25
+
26
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
27
+ :alt: Beta
28
+ :target: https://odoo-community.org/page/development-status
29
+
30
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
31
+ :alt: License: AGPL-3
32
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
33
+
34
+ |badge1| |badge2|
35
+
36
+ This module import payroll account moves from mapping. Multi Format;
37
+ XLS, XLSX, CSV.
38
+
39
+ It allows you to define a mapping of the file, indicate the column
40
+ number for each field, define the accounts to which to link movement
41
+ lines and add lines per employee.
42
+
43
+ **Table of contents**
44
+
45
+ .. contents::
46
+ :local:
47
+
48
+ ***************
49
+ Configuration
50
+ ***************
51
+
52
+ Employees -> Employee -> Tab Private Information -> Identification No
53
+ You need to enter the external ID of the consultancy employee. Employees
54
+ -> Employee -> Tab Private Information -> Private Address You need to
55
+ link the employee with the related partner.
56
+
57
+ Create an import setup configuration (or edit default) template
58
+
59
+ - Invoicing > Accounting > Journal Entries
60
+ - Click Import Payroll button
61
+ - Click on the Import Setup external link
62
+ - Create a new configuration or edit the default one
63
+ - Select a journal and fill the fields with the desired values
64
+
65
+ *******
66
+ Usage
67
+ *******
68
+
69
+ Create journal entry from A3 payroll data
70
+ =========================================
71
+
72
+ Invoicing -> Accounting -> Journal Entries -> Import Payroll Create
73
+ Mapping o use by default A3
74
+
75
+ ************************
76
+ Known issues / Roadmap
77
+ ************************
78
+
79
+ There are no issues for the moment.
80
+
81
+ *************
82
+ Bug Tracker
83
+ *************
84
+
85
+ Bugs are tracked on `GitLab Issues
86
+ <https://gitlab.com/somitcoop/erp-research/odoo-accounting/-/issues>`_.
87
+ In case of trouble, please check there if your issue has already been
88
+ reported. If you spotted it first, help us smashing it by providing a
89
+ detailed and welcomed feedback.
90
+
91
+ Do not contact contributors directly about support or help with
92
+ technical issues.
93
+
94
+ *********
95
+ Credits
96
+ *********
97
+
98
+ Authors
99
+ =======
100
+
101
+ - SomIT SCCL
102
+ - Som Connexio SCCL
103
+
104
+ Contributors
105
+ ============
106
+
107
+ - `SomIT SCCL <https://somit.coop>`_:
108
+
109
+ - Guillem Alborch <guillem.alborch@somit.coop>
110
+ - Juan Manuel Regalado Gómez <juanmanuel.regalado@somit.coop>
111
+
112
+ - `Som Connexio SCCL <https://somconnexio.coop>`_:
113
+
114
+ - Gerard Funosas <gerard.funosas@somconnexio.coop>
115
+
116
+ Maintainers
117
+ ===========
118
+
119
+ This module is maintained by the OCA.
120
+
121
+ .. image:: https://odoo-community.org/logo.png
122
+ :alt: Odoo Community Association
123
+ :target: https://odoo-community.org
124
+
125
+ OCA, or the Odoo Community Association, is a nonprofit organization
126
+ whose mission is to support the collaborative development of Odoo
127
+ features and promote its widespread use.
128
+
129
+ You are welcome to contribute. To learn how please visit
130
+ https://odoo-community.org/page/Contribute.
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+ ## [12.0.1.0.1] - 2024-09-23
9
+ ### Fixed
10
+ - [#4](https://gitlab.com/somitcoop/erp-research/odoo-accounting/-/merge_requests/4) Fix missing default mapping for new import setup templates
11
+
12
+ ## [12.0.1.0.0] - 2024-07-10
13
+ ### Added
14
+ - [#2](https://gitlab.com/somitcoop/erp-research/odoo-accounting/-/merge_requests/2) Add account_move_payroll_import
@@ -0,0 +1,117 @@
1
+ ##################################################
2
+ SomItCoop ODOO accounting spanish payroll import
3
+ ##################################################
4
+
5
+ ..
6
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7
+ !! This file is generated by oca-gen-addon-readme !!
8
+ !! changes will be overwritten. !!
9
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
+ !! source digest: sha256:fa88a5911e9d75e4ccaee78931e61a91ccfe34e0de09254e0edd30ad0752f428
11
+ !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
+
13
+ .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14
+ :alt: Beta
15
+ :target: https://odoo-community.org/page/development-status
16
+
17
+ .. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
18
+ :alt: License: AGPL-3
19
+ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
20
+
21
+ |badge1| |badge2|
22
+
23
+ This module import payroll account moves from mapping. Multi Format;
24
+ XLS, XLSX, CSV.
25
+
26
+ It allows you to define a mapping of the file, indicate the column
27
+ number for each field, define the accounts to which to link movement
28
+ lines and add lines per employee.
29
+
30
+ **Table of contents**
31
+
32
+ .. contents::
33
+ :local:
34
+
35
+ ***************
36
+ Configuration
37
+ ***************
38
+
39
+ Employees -> Employee -> Tab Private Information -> Identification No
40
+ You need to enter the external ID of the consultancy employee. Employees
41
+ -> Employee -> Tab Private Information -> Private Address You need to
42
+ link the employee with the related partner.
43
+
44
+ Create an import setup configuration (or edit default) template
45
+
46
+ - Invoicing > Accounting > Journal Entries
47
+ - Click Import Payroll button
48
+ - Click on the Import Setup external link
49
+ - Create a new configuration or edit the default one
50
+ - Select a journal and fill the fields with the desired values
51
+
52
+ *******
53
+ Usage
54
+ *******
55
+
56
+ Create journal entry from A3 payroll data
57
+ =========================================
58
+
59
+ Invoicing -> Accounting -> Journal Entries -> Import Payroll Create
60
+ Mapping o use by default A3
61
+
62
+ ************************
63
+ Known issues / Roadmap
64
+ ************************
65
+
66
+ There are no issues for the moment.
67
+
68
+ *************
69
+ Bug Tracker
70
+ *************
71
+
72
+ Bugs are tracked on `GitLab Issues
73
+ <https://gitlab.com/somitcoop/erp-research/odoo-accounting/-/issues>`_.
74
+ In case of trouble, please check there if your issue has already been
75
+ reported. If you spotted it first, help us smashing it by providing a
76
+ detailed and welcomed feedback.
77
+
78
+ Do not contact contributors directly about support or help with
79
+ technical issues.
80
+
81
+ *********
82
+ Credits
83
+ *********
84
+
85
+ Authors
86
+ =======
87
+
88
+ - SomIT SCCL
89
+ - Som Connexio SCCL
90
+
91
+ Contributors
92
+ ============
93
+
94
+ - `SomIT SCCL <https://somit.coop>`_:
95
+
96
+ - Guillem Alborch <guillem.alborch@somit.coop>
97
+ - Juan Manuel Regalado Gómez <juanmanuel.regalado@somit.coop>
98
+
99
+ - `Som Connexio SCCL <https://somconnexio.coop>`_:
100
+
101
+ - Gerard Funosas <gerard.funosas@somconnexio.coop>
102
+
103
+ Maintainers
104
+ ===========
105
+
106
+ This module is maintained by the OCA.
107
+
108
+ .. image:: https://odoo-community.org/logo.png
109
+ :alt: Odoo Community Association
110
+ :target: https://odoo-community.org
111
+
112
+ OCA, or the Odoo Community Association, is a nonprofit organization
113
+ whose mission is to support the collaborative development of Odoo
114
+ features and promote its widespread use.
115
+
116
+ You are welcome to contribute. To learn how please visit
117
+ https://odoo-community.org/page/Contribute.
@@ -0,0 +1,4 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from . import wizards
4
+ from . import models
@@ -0,0 +1,39 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2024-SomItCoop SCCL(<https://gitlab.com/somitcoop>)
3
+ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
4
+ {
5
+ "name": "SomItCoop ODOO accounting spanish payroll import",
6
+ "version": "16.0.1.0.0",
7
+ "depends": ["account", "hr", "web", "l10n_es"],
8
+ "author": """
9
+ Som It Cooperatiu SCCL,
10
+ Som Connexió SCCL
11
+ """,
12
+ "category": "Accounting & Finance",
13
+ "website": "https://gitlab.com/somitcoop/erp-research/odoo-accounting",
14
+ "license": "AGPL-3",
15
+ "summary": """
16
+ ODOO account move spanish payroll data import for social cooperatives.
17
+ """,
18
+ "description": """
19
+ This module provides an import wizard to create account moves
20
+ and its corresponding lines from spanish payroll data in *.csv/*.xlsx
21
+ uploaded files.
22
+ """,
23
+ "data": [
24
+ "security/ir.model.access.csv",
25
+ "data/payroll_import_defaults.xml",
26
+ "views/assets_template.xml",
27
+ "views/payroll_import_views.xml",
28
+ "wizards/payroll_import_wizard.xml",
29
+ ],
30
+ "assets": {
31
+ "web.assets_backend": [
32
+ "account_move_payroll_import/static/src/*/**.js",
33
+ "account_move_payroll_import/static/src/*/**.css",
34
+ "account_move_payroll_import/static/src/*/**.xml",
35
+ ],
36
+ },
37
+ "application": False,
38
+ "installable": True,
39
+ }
@@ -0,0 +1,108 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <odoo>
3
+ <data noupdate="1">
4
+ <!-- Payroll Import Mappings -->
5
+ <record
6
+ id="payroll_import_mapping_employee"
7
+ model="payroll.import.mapping"
8
+ >
9
+ <field name="res_model">hr.employee</field>
10
+ <field name="res_field">identification_id</field>
11
+ <field name="column_field">column_employee_id</field>
12
+ </record>
13
+ <record
14
+ id="payroll_import_mapping_gross"
15
+ model="payroll.import.mapping"
16
+ >
17
+ <field name="res_model">account.move.line</field>
18
+ <field name="res_field">debit</field>
19
+ <field name="column_field">column_gross</field>
20
+ <field name="account_field">gross_account_id</field>
21
+ <field name="tax_field">gross_tax_id</field>
22
+ <field name="aggregate_field">gross_to_single_line</field>
23
+ </record>
24
+ <record
25
+ id="payroll_import_mapping_gross"
26
+ model="payroll.import.mapping"
27
+ >
28
+ <field name="res_model">account.move.line</field>
29
+ <field name="res_field">debit</field>
30
+ <field name="column_field">column_gross</field>
31
+ <field name="account_field">gross_account_id</field>
32
+ <field name="tax_field">gross_tax_id</field>
33
+ <field name="aggregate_field">gross_to_single_line</field>
34
+ </record>
35
+ <record
36
+ id="payroll_import_mapping_net"
37
+ model="payroll.import.mapping"
38
+ >
39
+ <field name="res_model">account.move.line</field>
40
+ <field name="res_field">credit</field>
41
+ <field name="column_field">column_net</field>
42
+ <field name="account_field">net_account_id</field>
43
+ </record>
44
+ <record
45
+ id="payroll_import_mapping_total_tc1rlc"
46
+ model="payroll.import.mapping"
47
+ >
48
+ <field name="res_model">account.move.line</field>
49
+ <field name="res_field">credit</field>
50
+ <field name="column_field">column_total_tc1rlc</field>
51
+ <field name="account_field">total_tc1rlc_account_id</field>
52
+ <field name="aggregate_field">total_tc1rlc_to_single_line</field>
53
+ </record>
54
+ <record
55
+ id="payroll_import_mapping_irpf_employee"
56
+ model="payroll.import.mapping"
57
+ >
58
+ <field name="res_model">account.move.line</field>
59
+ <field name="res_field">credit</field>
60
+ <field name="column_field">column_irpf_employee</field>
61
+ <field name="account_field">irpf_employee_account_id</field>
62
+ <field name="aggregate_field">irpf_employee_to_single_line</field>
63
+ </record>
64
+ <record
65
+ id="payroll_import_mapping_ss_employee"
66
+ model="payroll.import.mapping"
67
+ >
68
+ <field name="column_field">column_ss_employee</field>
69
+ </record>
70
+ <record
71
+ id="payroll_import_mapping_ss_company"
72
+ model="payroll.import.mapping"
73
+ >
74
+ <field name="res_model">account.move.line</field>
75
+ <field name="res_field">debit</field>
76
+ <field name="column_field">column_ss_company</field>
77
+ <field name="account_field">ss_company_account_id</field>
78
+ <field name="aggregate_field">ss_company_to_single_line</field>
79
+ </record>
80
+ <record
81
+ id="payroll_import_mapping_discounts"
82
+ model="payroll.import.mapping"
83
+ >
84
+ <field name="res_model">account.move.line</field>
85
+ <field name="res_field">credit</field>
86
+ <field name="column_field">column_discounts</field>
87
+ <field name="account_field">discounts_account_id</field>
88
+ </record>
89
+ <record
90
+ id="payroll_import_mapping_embargoes"
91
+ model="payroll.import.mapping"
92
+ >
93
+ <field name="res_model">account.move.line</field>
94
+ <field name="res_field">credit</field>
95
+ <field name="column_field">column_embargoes</field>
96
+ <field name="account_field">embargoes_account_id</field>
97
+ </record>
98
+ <record
99
+ id="payroll_import_mapping_ss_bonus"
100
+ model="payroll.import.mapping"
101
+ >
102
+ <field name="res_model">account.move.line</field>
103
+ <field name="res_field">debit</field>
104
+ <field name="column_field">column_ss_bonus</field>
105
+ <field name="account_field">ss_bonus_account_id</field>
106
+ </record>
107
+ </data>
108
+ </odoo>