← Back to team overview

openerp-community team mailing list archive

Re: How works inputs in payroll system

 

Yes while creating Salary rule for inputs you need to enter code and desc. of your input on the input tab but same time you need to write python code on same salary rules where you can write like for eg. (inputs.CODE_INPUT.amount * 0.01) or (contract.wage * 0.01) + (inputs.CODE_INPUT.amount * 0.01).

And inputs amount you have to give at time of creating payslips..

On 10/03/2012 05:21 PM, John Boyle wrote:
Hi Mustufa,

Is there an example somewhere? I'm not clear on how the inputs can be used to dynamically calculate an amount based on contract/employee - it seems all you can enter is a code and a description.


On 2012-10-03, at 1:18 AM, Mustufa Rangwala <mra@xxxxxxxxxxx <mailto:mra@xxxxxxxxxxx>> wrote:

Yes you have to give that amount for each employee as inputs are salary rules where amount can be different for each employee so we can not put static amount for every employee. You can customise that things on payroll module.

Regards,

On 10/03/2012 10:29 AM, Ovnicraft wrote:


On Tue, Oct 2, 2012 at 11:46 PM, Mustufa Rangwala <mra@xxxxxxxxxxx <mailto:mra@xxxxxxxxxxx>> wrote:

    Hello,

    Yes once we create Salary rules with inputs,  we dont need to
    put amount on the inputs but we just need to write python code
    using code of the inputs on the salary rule so when we compute
    the payslips we need to enter that amount for inputs code
    manually on payslips. And then base on the python code you have
    written on salary rule using code of inputs it will calculate
    the amount dynamically.


Thanks Mustafa, so there is any method to update amount for inputs, if you works with +100 employees payslips manually is worst.

Regards,

    for e.g: Sales Commission, Arrears, etc ..

    Regards,
    Mustufa Rangwala


    On 10/02/2012 08:09 PM, John Boyle wrote:
    Yes, inputs need to be entered manually - they are best for
    infrequent items or things that need to be calc'd offline. If
    you are looking to do a calculation for a large number of
    employees use a rule. If the data isn't accessible via one of
    the variables (employee, contract, payslip, etc) you may need
    to add a field to either calculate the variable or enter in a
    fixed value.

    On 2012-10-02, at 10:27 AM, Ovnicraft <ovnicraft@xxxxxxxxx
    <mailto:ovnicraft@xxxxxxxxx>> wrote:

    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.pt@xxxxxxxxxxx <mailto:dreis.pt@xxxxxxxxxxx>> wrote:

        I haven't tested it, but the demo data provides an
        example: check the "Get 1% of sales" salary rule.

        ------------------------------------------------------------------------
        From: ovnicraft@xxxxxxxxx <mailto:ovnicraft@xxxxxxxxx>
        Date: Tue, 2 Oct 2012 08:58:17 -0500
        To: openerp-community@xxxxxxxxxxxxxxxxxxx
        <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx>
        Subject: [Openerp-community] How works inputs in payroll
        system


        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

        _______________________________________________ Mailing
        list: https://launchpad.net/~openerp-community
        <https://launchpad.net/%7Eopenerp-community> Post to :
        openerp-community@xxxxxxxxxxxxxxxxxxx
        <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx> Unsubscribe
        : https://launchpad.net/~openerp-community
        <https://launchpad.net/%7Eopenerp-community> More help :
        https://help.launchpad.net/ListHelp

        _______________________________________________
        Mailing list: https://launchpad.net/~openerp-community
        <https://launchpad.net/%7Eopenerp-community>
        Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
        <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx>
        Unsubscribe : https://launchpad.net/~openerp-community
        <https://launchpad.net/%7Eopenerp-community>
        More help   : https://help.launchpad.net/ListHelp




-- Cristian Salamea
    @ovnicraft
    _______________________________________________
    Mailing list: https://launchpad.net/~openerp-community
    <https://launchpad.net/%7Eopenerp-community>
    Post to     : openerp-community@xxxxxxxxxxxxxxxxxxx
    <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~openerp-community
    <https://launchpad.net/%7Eopenerp-community>
    More help   : https://help.launchpad.net/ListHelp



    _______________________________________________
    Mailing list:https://launchpad.net/~openerp-community  <https://launchpad.net/%7Eopenerp-community>
    Post to     :openerp-community@xxxxxxxxxxxxxxxxxxx  <mailto:openerp-community@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe :https://launchpad.net/~openerp-community  <https://launchpad.net/%7Eopenerp-community>
    More help   :https://help.launchpad.net/ListHelp


    ---------------------




--
Cristian Salamea
@ovnicraft


--
Thanks,
Mustufa Rangwala
OpenERP Consultant cum Team Leader
TinyERP Pvt. Ltd.
303 - Tower 2 3rd Floor,
Infocity Gate - 1,
Gandhinagar - 382007,
Gujarat, India
Ph:- +91 (79) 65720041
Mailto:mra@xxxxxxxxxxx
Website:http://www.openerp.com

---------------------
Think Big Use OpenERP
---------------------

---------------------

Follow ups

References