← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 761456] Re: Domain mismatch between Employee Account in the employee record and payable account in partner record

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-payroll-
account-mtr

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/761456

Title:
  Domain mismatch between Employee Account in the employee record and
  payable account in partner record

Status in OpenERP Modules (addons):
  In Progress

Bug description:
  When recording the transactions for an employee pay slip there are two important fields: 
      1. Employee Account in the employee record
      2. Payable Account in the partner record for the employee
  In most cases these two fields should point to the same account.  Currently, in the partner record the Account Payable field expects a 'payable' account and will not let you choose a different type of account; whereas, the field in the employee record expects a 'regular' account type and will not let you choose any other type of account.

  This is a bug. The two fields should expect the same type of account.

  I propose that the domain of the Employee Account field in
  hr_payroll_account be changed from 'regular' to a 'payable' type.
  Especially since it says right there in the help string:  "Employee
  Payable Account".


References