** Project changed: openobject-addons => openobject-client
--
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/781559
Title:
timesheet must be saved before adding lines
Status in OpenERP GTK Client:
New
Bug description:
Steps to reproduce:
- openerp 6 with demo data, hr_timesheet module
- create a new time sheet (do not click Save yet)
- add a timesheet line, select an analytic account, description and enter a
quantity
- click save
Result:
- Invalid form, correct red fields
- this is due to the fact that the mandatory fields "General account" and
"user" are not populated on the timesheet line
Expected result:
- the general account and user fields should be populated automatically
Alternatively, one can add attrs="{'invisible':[('state','=','new')]}"
on hr_timesheet_sheet_view.xml//field[@name='timesheet_ids'] to ensure
that the timesheet lines cannot be added until the timesheet has been
saved and is in draft state.
Best regards,
-sbi
_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help : https://help.launchpad.net/ListHelp