Skip to content
Health
73/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.12 MB
Module directory on disk
Code analysis 0 migration notes 4 models 5 views 0 HTTP endpoints

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.

Dependencies

Odoo dependencies
Python dependencies
openpyxl>=3.1.0, pandas
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 5

XML IDNameModelTypeStatus
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 list New
view_payroll_mapping_tree payroll.import.mapping.tree payroll.import.mapping list New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • missing_ids Text
    args: 'Missing IDs'
Public methods (0)

No public methods.

New fields (5)
  • company_id Many2one → res.company
    default=<expr> required=True 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 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'
Public methods (0)

No public methods.

New fields (6)
  • account_id Many2one → account.account
    required=True args: 'account.account'
  • column_name Char
    required=True args: 'Excel Column Name'
  • company_id Many2one → res.company
    default=<expr> required=True args: 'res.company'
  • move_type Selection
    required=True args: [('debit', 'Debit'), ('credit', 'Credit')]
  • other_partner_id Many2one → res.partner
    comodel_name='res.partner' help='If set, will use this partner for the\n accounting entry instead of the employee.'
  • sequence Integer
    default=10
Public methods (0)

No public methods.

New fields (3)
  • file Binary
    required=True args: 'Excel File'
  • filename Char
  • mapping_id Many2one → payroll.import.mapping
    required=True string='Column Mapping' args: 'payroll.import.mapping'
Public methods (6)
  • action_import_payroll(self)
  • build_move_lines(self, df, account_map)
  • check_columns(self, df, account_map)
  • get_account_map(self)
    Builds account mapping filtered by company
  • get_partner(self, vat)
    Searches for employee by VAT and return the asociated partner.
  • show_mismatch_error(self, move_lines, partner, vat, total_debit, total_credit)

Loading…

Loading…

Loading…