Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

payslips calculation based on days of work

By
Iman Ahmad
on 8/4/15, 8:35 AM 347 views

I want to generate payslips which takes the total wage and divide it to 30 and then multiply it by the number of days the employee work (which are equal to 30- leaves )

how can i achieve this 

i will check if it is working 
thanks 

On Wed, Aug 5, 2015 at 12:59 PM, Ahmed M.Elmubarak <minmi9x-gmail.com@mail.odoo.com> wrote:

A new answer for payslips calculation based on days of work has been posted. Click here to access the post.

--
Ahmed M.Elmubarak
Sent by Odoo Inc. using Odoo about Forum Post payslips calculation based on days of work



--
Best Regards
Iman Ahmad
Minerva Data Pty .Ltd.
P.O.BOX 4356, Geelong, VIC 3220, Australia
Tel: +962 6 588 5786
Iman Ahmad
on 8/5/15, 6:10 AM
0

Drees Far

--Drees Far--
1130
| 5 2 6
Tunis, Tunisia
--Drees Far--
Drees Far
On 8/5/15, 6:36 AM

Here is a condition that you should add friend:

choose python code and put this condition:

result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False

and then working correctly

this link may help you in this problem

http://help.openerp.com/question/14645/unpaid-leaves-is-not-decrease-in-the-salary-computation/#14782

Regards.

0

Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
2988
| 5 3 5
Sudan
--Ahmed M.Elmubarak--


Ahmed M.Elmubarak
On 8/5/15, 5:59 AM

Hello,

Kindly check this question it may helps

Regards

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 8/4/15, 8:35 AM
Seen: 347 times
Last updated: 8/5/15, 6:36 AM