← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 705827] Re: Salary Head Condition Ignored

 

Hello,

Your formula is wrong.This formula will pass boolean answer which is not the result.
consider the following formula exist in the code :

amount = line.amount * eval(str(line.category_id.base), obj)
here it will evaluate the result as a field name in small character which are in following way:

1) static field : basic, gross and net
2) Dynamic field which are code of allowances or deduction.

Hope this is enough for you.

Thanks.

** Changed in: openobject-addons
       Status: New => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/705827

Title:
  Salary Head Condition Ignored

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  I have the following condition in the salary head
    (gross * 12) < 132001
  Then with a gross salary of 15000 that head is still applied

  V6.0.1 Ubuntu





References