cybroodoo / openhrmsenterprise Goto Github PK
View Code? Open in Web Editor NEWOpen HRMS Enterprsie Modules
Open HRMS Enterprsie Modules
Issues when generating payroll batch:
Used module: ent_ohrms_overtime
When approving a hr.overtime request, one gets the following error: Incorrect state for new allocation
The error is caused by the creation of a new hr.leave.allocation on approving the hr.overtime. The hr.leave.allocation states that a new allocation should be in state draft of confirm.
if 'state' in values and values['state'] not in ('draft', 'confirm'): raise UserError(_('Incorrect state for new allocation'))
https://github.com/odoo/odoo/blob/d2db535ec10e24713fcc2329927ce080534346ce/addons/hr_holidays/models/hr_leave_allocation.py#L643
Proposed fix:
Change the state of the new allocation to 'draft' or 'confirm'.
And this on 2 lines:
In loan payroll calculation, the definition of rule LO works fine on a single salary structure, if defined on a second (i.e. Saudi and Expat), it works on the first one defined and the second fails on calculation with error:
Validation Error
The operation cannot be completed:
Model: Payslip Input (hr.payslip.input)
Field: Type (input_type_id)
Hi,
I installed the 16.0 version, and I get several WARNING, due to incomplete migration to 16.0
Field hr.lawsuit.court_name: unknown
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.