openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14796
[Bug 1039496] Re: Unable to enter worked_days on payslip unless in extended interface - Contract field missing
Hello Robajz,
I have checked your issue. It should be able to enter worked_days lines
on a payslip in simplified view. it's effecting only stable_6_1 and also
,extended view is remove from trunk.So I'm assigning it to OPW team.
Thanks for report..!!!
** Summary changed:
- Unable to enter worked_days on payslip unless in extended interface - Contract field missing
+ [6.1]Unable to enter worked_days on payslip unless in extended interface - Contract field missing
** Changed in: openobject-addons
Importance: Undecided => Medium
** Changed in: openobject-addons
Status: New => Confirmed
** Changed in: openobject-addons
Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1039496
Title:
[6.1]Unable to enter worked_days on payslip unless in extended
interface - Contract field missing
Status in OpenERP Addons (modules):
Confirmed
Bug description:
In OpenERP 6.1, when I install the hr_payroll module, I'm not able to
enter worked_days lines on a payslip. I discovered that the Contract
field is required, but not visible in the "Simplified" interface. This
must be a usability bug as this works fine once you switch to
"Extended" interface in the settings. Then the Contract field appears
and you can choose a contract for the Worked days line and save it.
While this is easily worked around, it is highly confusing and unclear
to regular users.
Related lines in hr_payroll.py:
class hr_payslip_worked_days(osv.osv):
...
'contract_id': fields.many2one('hr.contract', 'Contract', required=True, help="The contract for which applied this input"),
The payslip form view lines:
<field name="worked_days_line_ids" colspan="4" nolabel="1">
<tree string="Worked Days" editable="bottom">
<field name="name"/>
<field name="code"/>
<field name="number_of_days" sum="Total Working Days"/>
<field name="number_of_hours"/>
<field name="contract_id" groups="base.group_extended"/>
<field name="sequence" invisible="True"/>
</tree>
<form string="Worked Day">
<group>
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="payslip_id"/>
<field name="sequence" groups="base.group_extended"/>
<field name="number_of_days"/>
<field name="number_of_hours"/>
<field name="contract_id" groups="base.group_extended"/>
</group>
</form>
</field>
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1039496/+subscriptions
References