Help

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Payroll: What is the purpose of the Analytic Account field on the Employee Contract?

Avatar
odoo
Avatar
Discard
1 Answer
0
Avatar
odoo
Best Answer

When a payslip is confirmed in Odoo (in the presence of the hr_payroll_account module), Odoo can generate analytic accounting entries corresponding to each salary line. These entries are used to allocate payroll costs to analytic accounts that typically represent departments, projects, or cost centers.

Analytic Accounts must be configured either:

  • On the Salary Rule (analytic_account_id or analytic_distribution), or
  • On the Employee’s Contract (analytic_account_id as fallback).

Odoo uses the following logic per salary line to determine the analytic allocation:

  1. If the Salary Rule has an analytic account (or distribution), it is used.
  2. Otherwise, if the Contract has an analytic account, that is used.
  3. If neither is set, no analytic entry is created for that salary line.

 

Avatar
Discard