How to create a contract for 2 weeks in payroll

Asked by Bushair

Hi,
i want to create a contract for the employee functions Driver,
Under Contract tab , in Salary i have selected Monthly gross wage as wage type and wage value is 2000.

In the contract table i have given contract name as "temp contract"
and start date i have given as 12-20-2009 and endate as 12-30-2009

But when i tried to create a salary slip for this employee , using HumanResource ->payslip->Employee payslip ,

when i select the compute sheet button , it is displaying working days =23 , though i have mentioned the start date and
end date in the contract

why is it so?
thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello,

In the above condition you need to create contract for hole month bases only not as 2 week or day wise.This thing is taken as new feature.
for that you need to create blueprints.

Thanks.

Revision history for this message
Bushair (bushairka) said :
#2

Hi,
Can you please tell me when this feature will be implemented.?

Because there are many cases like in many comapnies they have contract employees for 2 or 3 weeks...

Right now when generating the payslips for these employees it is generating for the whole month.
which is not proper.

Also can you please tell me how to automatically generate payslip for a group of employees..

Say i have 100 employees in which i have configured the payroll data for these employees.

i want to generate the payslips for all these employees on last working day of every month..

it will be great if you can let me know the steps required to do this automatic payroll generation.

Thanks

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#3

Hello,

The Salary calculation is on the bases of monthly only, because you can define your contract for 15 days and in payslip object it will fetch those contract but ultimately salary is done on the bases of monthly bases.All accounting entry also maintain period bases so monthly bases salary is proper way in payroll.

Thanks.

Revision history for this message
Bushair (bushairka) said :
#4

Hi,
So you mean that if i create a contract for 15 days for an employee and
while generating the payslip for this employee the number of working days wil be = 15 ?

Say i have created an employee A, with contract of jan 1-jan 15.
At the end of Jan if i generate the payslip for this employee , what will be the number of worked days for this employee?

Say working_days per week for this employee = 6,
Contract from Jan1-Jan15
Holidays taken = 0

Thanks

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#5

Hello,

The working day will be for Jan1-Jan15 2010 :13 days i have less Sunday from total 15 days.
and if he/she did take zero holiday then the worked day will be 13 days.
so the salary is calculated at the month end and his/her salary is only 15 days salary.

Thanks.

Revision history for this message
Bushair (bushairka) said :
#6

Hi,
Have you modified the code recently for this change?
Because am not getting the expected result.,

let me try again?
Thanks

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#7

Hello,

In salary object it will calculate the days on the bases of total month days so you can not get 13 days as worked day and 15 days as working day.

Currently the days calculation on bases to static base. You need to modified it as your requirement purpose.
All changes related to hr_payroll module is done by mga not by me.

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Bushair for more information if necessary.

To post a message you must log in.