| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/account-financial-tools |
| GIT | |
| GIT | https://github.com/OCA/account-financial-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/account-financial-tools/tree/17.0/account_payroll_sheet_import |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Accounting |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), APSL-Nagarro |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), APSL-Nagarro |
| COMMITTERS | |
| COMMITTERS | Weblate, OCA-git-bot, oca-ci, bobrador |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/account-financial-tools |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 19:20:01 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - account - base_setup - base - web - onboarding - product - bus - web_tour - uom - analytic - portal - web_editor - http_routing - auth_signup - digest - resource - hr - phone_validation |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES |
openpyxl pandas |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | This module allows importing payroll data from Excel (.xlsx) files into accounting journal entries in Odoo. It streamlines integration between external HR/payroll systems and Odoo’s accounting module. ### Main Features: - Map Excel columns to specific accounting accounts. - Detect and report missing employees based on VAT/ID/Passport numbers. - Associate imported data with a specific accounting journal. - Support for multiple mapping configurations per company. This module is ideal for companies that receive externally processed payroll in Excel format and need a semi-automated way to post it into Odoo's accounting system. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_missing_partner_wizard |
missing.partner.wizard.form | missing.partner.wizard | form | New |
view_payroll_import_form |
payroll.import.wizard.form | payroll.import.wizard | form | New |
view_payroll_mapping_form |
payroll.import.mapping.form | payroll.import.mapping | form | New |
view_payroll_mapping_line_tree |
payroll.import.mapping.line.tree | payroll.import.mapping.line | tree | New |
view_payroll_mapping_tree |
payroll.import.mapping.tree | payroll.import.mapping | tree | New |
missing_ids
Text
No public methods.
company_id
Many2one → res.company
default=<expr>
required=True
string='Company'
args: 'res.company'
id_column
Char
help='Name of the column in the Excel file that contains\n VAT/ID/Pasport numbers to map with the contact.\n It uses the identification_id or passport_id field of the employee.'
required=True
args: 'ID Column'
journal_id
Many2one → account.journal
required=True
string='Journal'
args: 'account.journal'
mapping_line_ids
Many2many → payroll.import.mapping.line
string='Column Mappings'
args: 'payroll.import.mapping.line'
name
Char
required=True
args: 'Mapping Name'
No public methods.
account_id
Many2one → account.account
required=True
string='Account'
args: 'account.account'
column_name
Char
required=True
args: 'Excel Column Name'
company_id
Many2one → res.company
default=<expr>
required=True
string='Company'
args: 'res.company'
move_type
Selection
required=True
args: [('debit', _('Debit')), ('credit', _('Credit'))]
No public methods.
file
Binary
required=True
args: 'Excel File'
filename
Char
mapping_id
Many2one → payroll.import.mapping
required=True
string='Column Mapping'
args: 'payroll.import.mapping'
action_import_payroll(self)
build_move_lines(self, df, account_map)
check_columns(self, df, account_map)
get_account_map(self)
get_partner(self, vat)
show_mismatch_error(self, move_lines, partner, vat, total_debit, total_credit)