Re: [Openerp-community] Payroll - Personal Deductions

2012-10-02 Thread Daniel Reis
In my experience, typical payroll sw has a Fixed Values table and Variable Values table (weekly, monthly, etc) associated with employees. To add a fixed allowance to an employee you just add a row woth the code, value and date period. If anyone is willing to add such a feature to OpenERP I'm

[Openerp-community] How works inputs in payroll system

2012-10-02 Thread Ovnicraft
Hello we are working in payroll system in 6.1 so is working ok for us, but i want to know how use inputs and how is computed the values. I configured and input in a rule but is loaded with 0 amount. Waiting for your feedback. Regards, -- Cristian Salamea @ovnicraft

Re: [Openerp-community] How works inputs in payroll system

2012-10-02 Thread Daniel Reis
I haven't tested it, but the demo data provides an example: check the Get 1% of sales salary rule. From: ovnicr...@gmail.com Date: Tue, 2 Oct 2012 08:58:17 -0500 To: openerp-community@lists.launchpad.net Subject: [Openerp-community] How works inputs in payroll system Hello we are working in

Re: [Openerp-community] Payroll - Personal Deductions

2012-10-02 Thread John Boyle
Ah... gotcha. I was sort of thinking the same thing for an option b), although more along the lines of a hybrid of the existing and your approach: - Salary structure that could be associated with the contract - Additional salary rules associated with the contract or employee directly -

Re: [Openerp-community] How works inputs in payroll system

2012-10-02 Thread Ovnicraft
Yes but the base amount for inputs where comes from ? o needs to be entered manually ? OpenERP must consider payroll is not for 5 employees. Regards, Regards, On Tue, Oct 2, 2012 at 9:17 AM, Daniel Reis dreis...@hotmail.com wrote: I haven't tested it, but the demo data provides an example:

Re: [Openerp-community] Payroll - Personal Deductions

2012-10-02 Thread John Boyle
Daniel and list, to clarify further and incorporate your suggestions could add the following: Add class hr_payroll_employee_deductions with the columns: 'name': fields.char 'code': fields.char 'employee_id': fields.many2one

Re: [Openerp-community] Payroll - Personal Deductions

2012-10-02 Thread Daniel Reis
I have the following suggestions: - name the class as class hr_payroll_employee_rules, so it encompasses both deductions and allowances. - you'll need also 'value': fields.float ... Note that this usually will hold a currency amount, but is same cases you might need it to represent a

Re: [Openerp-community] Payroll - Personal Deductions

2012-10-02 Thread John Boyle
Both suggestions make sense. I'll need the ytd* fields since some of the Canadian deductions are based on YTD calculations. Agree that it should be part of the base engine, but I'll upload a separate module. Inheritance with hr_payroll seems to be a bit of a nightmare though - a lot of other

Re: [Openerp-community] Payroll - Personal Deductions

2012-10-02 Thread Fabien Pinckaers
Hello, The payslip handles specific variables like this with the Other Inputs section which is filled automatically according to the variables used in the salary rules. We use this for rules like: - payment commissions on salesman - special allowances/deductions... I would just put the

Re: [Openerp-community] Payroll - Personal Deductions

2012-10-02 Thread John Boyle
Hi Fabien, I'm not clear on how that would be used in this case. If I have a specific deduction/allowance shared by most/all employees with different conditions (e.g. amount, or based on date between or YTD amounts), wouldn't adding an input item just force me to enter the amount manually each

Re: [Openerp-community] Payroll - Personal Deductions

2012-10-02 Thread Ovnicraft
On Tue, Oct 2, 2012 at 1:40 PM, Fabien Pinckaers f...@openerp.com wrote: Hello, The payslip handles specific variables like this with the Other Inputs section which is filled automatically according to the variables used in the salary rules. We use this for rules like: - payment