Odoo Help

1

1
26 Answers
3
Avatar

Hilar AK สวิตเซอร์แลนด์

--Hilar AK--
15752
| 7 6 11
สวิตเซอร์แลนด์
--Hilar AK--
Experienced Odoo / Python Developer with a demonstrated history of working in the information technology and services industry with 3.5+years of experience. Skilled in Python, PostgreSQL, SQL, HTML, JavaScript. Strong engineering professional with a Bachelor of Technology (BTech) focused on Computer Science from the College of Engineering Munnar.

 Blogs:-

https://medium.com/@hilarak
        https://hilarlive.wordpress.com/
 StackOverflow:
       https://stackoverflow.com/users/7561347/burmese-pythis-hilar-ak

Quora:
    

            https://www.quora.com/profile/Hilar-Ak-1

Github:


https://github.com/hilarak



Hilar AK สวิตเซอร์แลนด์
29/6/17 04:41

Hi, You can check this blog by Cybrosys  about Unpaid leaves and its payslip calculations here

2
Maath อิรัก
11/5/13 05:56

In additional to '@Mustufa Rangwala' solution you need to add condition to avoid error when employee do not have any unpaid leave I was explain that at this link:

https://accounts.openerp.com/forum/Help-1/question/16131?answer=16132#post-id-16132

1 ความคิดเห็น
Atul Kumar jain อินเดีย
26/11/14 02:04

How can we calculate Overtime in openerp

1
sridhar อินเดีย
26/3/13 06:15

I Got a Answer for this problem but not updating in the gross amount. "result=-(contract.wage/31)*worked_days.Unpaid.number_of_days"

Sridharan Chennai

1 ความคิดเห็น
Atul Kumar jain อินเดีย
26/11/14 02:06

How can we calculate Overtime in openerp

0
sengottuvel อินเดีย
13/11/13 03:25

Hi...My requirement is result = total wage will be divided into total working days of month * total present days of employee of this month..I have a own modules and it contains total working day and total present of month for each employee..Kindly tell me the solution to achieve my result

0
Avatar

Mustufa Rangwala (mra) อินเดีย

--Mustufa Rangwala (mra)--
873
| 2 1 4
Ahmedabad, อินเดีย
--Mustufa Rangwala (mra)--

- Around 7+ years of strong experience in Odoo (Formerly OpenERP) which is world's largest Open Source Business Applications driven by CEO Fabien Pinckaers. - Played key role in developing and maintaining various Odoo Product modules and integrating them on Open Source ERP Environment. - Experience on Scrum methodology for project management - Experience in Team Building - Quick Start Implementations. - Worked on almost all versions (4.0, 5.0, 6.0, 6.1, 7.0, SAAS, Trunk(8.0)...) of Odoo (Formerly OpenERP) . Specialities: Odoo Business Process And OpenERP Implementation. Odoo Application Support and Maintenance. Odoo Technical & Functional Training. Business Process Mapping & Gap Analysis (Functional and Technical Analysis)

Mustufa Rangwala (mra) อินเดีย
26/3/13 03:48

First of all you have to create Leave type called "Unpaid" and then create Leave request for employee and approve it.

After creating leave type and leave request you have to create salary rule and add that rule on employee salary structure..

Now create Payslip it will come overthere.

Regards, Mustufa Rangwala

17 ความคิดเห็น
sridhar อินเดีย
26/3/13 03:58

Thanks For Reply Same procedure i already i followed but yet i didn't get result "result=(contract.wage/31)*worked_days.Unpaid.number_of_days" this code is correct or not i'm using OpenERP 7 , help me. Thanks & Regards Sridharan G Chennai

Maath อิรัก
6/5/13 05:52

@Mustufa Rangwala the code result=(contract.wage/31)*worked_days.Unpaid.number_of_days calculate the total of Unpaid leaves but we need total at that month and there is error when employee do not have an Unpaid leave , how to solve this problems , Or if we can build new module to calculate that , Please help ....

Ajmal ซาอุดิอาระเบีย
6/5/13 09:22

@Maath I am also having the same issue.. i think we can have a python condition check because it will be always "TRUE" so it wont allow if they doesnt have unpaid leaves.. i tried that condition also but it failed because of having "Unpaid" object

Maath อิรัก
6/5/13 10:20

@Ajmal , Oky , and what about the total leaves for each month I try with payslip Bach and every thing is Oky and there is no error

sridhar อินเดีย
6/5/13 10:28

@Maath Unpaid rules added in Salary Structure for an employee means, it didn't accept batch concept same error Python code Error Plese check it my DB

Raminder Pal Singh อินเดีย
9/5/13 07:27

@all : How to deduct the salary of the employee if he is absent without taking any leaves.?? Plz Help

Raminder Pal Singh อินเดีย
9/5/13 09:00

@all: Error when using this python code if employee dont have any leave. Is there a method to solve this.??

Maath อิรัก
9/5/13 09:27

@Raminder Pal Singh I think there is may be error in the system , But when I create a Bach for salary then there is no error , I am also need for deduct the salary of the employee if he is absent without taking any leaves , I think we should create new module .. if you want to share our work and contact on skype I think there is other developer want to do the same .

Raminder Pal Singh อินเดีย
9/5/13 10:25

@maath the error remains when we creates salary batch.

Maath อิรัก
9/5/13 19:04

@Raminder Pal Singh I think there is may be error in the system , I think we should create new module .. if you want to share the work then will contact on skype

Raminder Pal Singh อินเดีย
10/5/13 02:41

@maath I am not a python programmer. but we can contact to discuss this issue. You can mail me ur skype id on rps023@gmail.com

Maath อิรัก
11/5/13 05:52

@Raminder Pal Singh Finally her the solution if help you then vote Up OK? http://help.openerp.com/question/16131/unpaid-leaves-deduction-not-working/?answer=16132#post-id-16132

Maath อิรัก
11/5/13 07:51

@Ajmal the problem finally solved I am adding new answer for this question .. vote up if helped you

Raminder Pal Singh อินเดีย
11/5/13 16:54

@maath thanks a lot. this works FINALLY

Ajmal ซาอุดิอาระเบีย
13/5/13 05:46

@maath Thank you .. It Works !!

Maath อิรัก
13/5/13 06:06

@Ajmal Can U Vote up may question and answer too , it is take more time to solve and if you search in all sites will not founded ! I found it in French Site

BBindaslife, Debashis Das อินเดีย
20/7/13 14:42

for Basic LWP I have set condition "result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False" and computation "result = -(contract.wage *.4)/((worked_days.Unpaid.number_of_days+worked_days.WORK100.number_of_days) * worked_days.Unpaid.number_of_days)"...its works fine in Payslip...but through Batch its reflect nothing...any suggestion ?

0
Debashis Das อินเดีย
21/7/13 04:03

for Basic LWP I have set condition "result=worked_days.Unpaid and worked_days.Unpaid.number_of_days or False" and computation "result = -(contract.wage *.4)/((worked_days.Unpaid.number_of_days+worked_days.WORK100.number_of_days) * worked_days.Unpaid.number_of_days)"...its works fine in Payslip...but through Batch its reflect nothing...any suggestion ?

1 ความคิดเห็น
sengottuvel อินเดีย
13/11/13 03:23

Hi...My requirement is result = total wage will be divided into total working days of month * total present days of employee of this month..I have a own modules and it contains total working day and total present of month for each employee..Kindly tell me the solution to achieve my result

Ask a Question
Writer
ป้ายกำกับ
Keep Informed
3 ผู้ติดตาม
About This Community

This platform 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.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now