Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Unpaid Leaves is not decrease in the salary computation

Subscriure's

Get notified when there's activity on this post

This question has been flagged
hr_payroll
1 Respondre
14709 Vistes
Avatar
sridhar

I am new for OpenERP 7 Please help me... my doubt is i creating salary rule for unpaid leave for the following code "result=-(contract.wage/31)*worked_days.Unpaid.number_of_days"is working but it is not calculating in the net salary amount.. how to calculate it. my entry is correct or not experts use my openerp demo db username sridhartestopenerp@gmail.com password openerpmass please check it and tell the answer soon...

Regards Sridharan G Chennai

1
Avatar
Descartar
Maath

@sridhar finally solved Vote me Up if helped you ... http://help.openerp.com/question/16131/unpaid-leaves-deduction-not-working/

Avatar
Maath
Best Answer

all you need is to change sequence of salary rule (Loss .. ) to be less than Net salary rule sequence and Gross see the not on

http: //doc.openerp.com/v7.0/book/4/4_11_HR/4_11_HR_payroll.html#salary-rule-categories

I can not post right like please modify it and see ,

Note: Sequence

Sequence plays a major role in the calculation and appearance of payslip lines. For example, a sequence defined on a rule calculating the Gross should always be greater than the sequence’s given on Allowance’s rules, else it won’t be considered in the calculation of Gross value.

0
Avatar
Descartar
sridhar
Autor

Thank you Maath, now it is working correctly. sequence number is a problem. now solved.

Maath

@sridhar My pleasure that my effort helped you , can you select my answer as the solution

sridhar
Autor

Very thankful for your help...

Maath

@sridhar Thanks , But why do not tic my answer as the solution and vote up my answer ?

sridhar
Autor

Mr. Maath one more problem is there, if that employee didn't put any leave for a particular month this Loss of pay concept didn't work. i need if employee get leave means Lop calculation otherwise it is not needed. I think i need to change in Condition is changed to Python Expression its correct.

Maath

@sridhar you need to post new question about the condition when to apply this rule , of course you need to put python code to check total leave for employee . Please send me the link of your question after post it.

sridhar
Autor

Error! Wrong python condition defined for salary rule this link, i cant post a link this a title of the error solve it please.

Maath

@sridhar , I am too now have the same error ! even when calculate for new month (Next month) there is wrong result (Sum (all of leave )) we need to Sum of leave for that month only

Maath

@sridhar , But when I create Payslips Batch the operation completed without any error! can you try that and then writ new question here so we will find some one solve this problem .

sridhar
Autor

i can't do further process please do my demo database sridhartestopenerp@gmail.com password openerpmass db kgsridhar put one entry i will understand please do.

Maath

@sridhar I will do Are you ready ?

sridhar
Autor

u put entry i will see now...

sridhar
Autor

create one new employee or existing employee...

Maath

@sridhar No, You can do it just create new Payslips Batch

sridhar
Autor

ok i put entry...

sridhar
Autor

Error only comming...

Maath

Finally I solved the problem Vote me up if helped http://help.openerp.com/question/16131/unpaid-leaves-deduction-not-working/

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
problem with work entries in hr.payroll
hr_payroll
Avatar
0
de maig 22
3599
Is it possible to add a custom button to payslips tree view Solved
hr_payroll
Avatar
Avatar
1
de maig 22
2915
Intégration secrétaria social
hr_payroll
Avatar
1
de gen. 22
2604
How to set input in salary rule Solved
hr_payroll
Avatar
Avatar
1
d’oct. 21
15292
How to add total number of days of current month in Salary Rule Python code ? Solved
hr_payroll
Avatar
Avatar
Avatar
2
de gen. 24
15381
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now