Makes sense, I really like your approach if if the data is offline. But we'll 
need to create a table anyhow - we need to apply specific values to each 
employee such as rule valid between dates, maximum per year, etc and store 
values based on YTD amounts. So for us, I think the best approach is make the 
additional table accessible to the rule.

We've got rules like they only pay into a specific fund for the first three 
months or up to a value of X (where X is different for each employee), 
whichever comes first. And other rules that are based on a maximum of the YTD 
total. I think theres a lot of cases like this so I'd like to add something 
fairly flexible.

On 2012-10-03, at 10:12 AM, Mario Arias <the.clone.mas...@gmail.com> wrote:

> Hi,
> 
> For one client that gets time and attendance and extras for several INPUTS 
> from another source, we created an action that loads a csv file    (THANKS 
> ENNAPS !!)   and populates the payslips.
> 
> The same can be applied to values we have inside the system...  Just create 
> an action that gets/computes the values and populates payslips.  No need to 
> create intermediate tables or fill values manually for every employee...
> 
> Then you just use what is already available in OpenERP...
> 
> Regards,
> -Mario
> 
> 
> On Wed, Oct 3, 2012 at 7:09 AM, Mustufa Rangwala <m...@tinyerp.com> wrote:
> 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 <m...@tinyerp.com> 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 <m...@tinyerp.com> 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 <ovnicr...@gmail.com> 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...@hotmail.com> wrote:
>>>>>> 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 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 Post to : 
>>>>>> openerp-community@lists.launchpad.net Unsubscribe : 
>>>>>> https://launchpad.net/~openerp-community More help : 
>>>>>> https://help.launchpad.net/ListHelp
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~openerp-community
>>>>>> Post to     : openerp-community@lists.launchpad.net
>>>>>> Unsubscribe : https://launchpad.net/~openerp-community
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> Cristian Salamea
>>>>>> @ovnicraft
>>>>>> _______________________________________________
>>>>>> Mailing list: https://launchpad.net/~openerp-community
>>>>>> Post to     : openerp-community@lists.launchpad.net
>>>>>> Unsubscribe : https://launchpad.net/~openerp-community
>>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~openerp-community
>>>>> Post to     : openerp-community@lists.launchpad.net
>>>>> Unsubscribe : https://launchpad.net/~openerp-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: m...@tinyerp.com
>>> Website: http://www.openerp.com
>>> 
>>> ---------------------
>>> Think Big Use OpenERP
>>> ---------------------
>> 
> ---------------------
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openerp-community
> Post to     : openerp-community@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openerp-community
> More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to     : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help   : https://help.launchpad.net/ListHelp

Reply via email to