[7.0] hidden & mandatory fields in analytic form view
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Undecided
|
OpenERP Publisher's Warranty Team | |||
OpenERP Community Backports (Addons) | Status tracked in 7.0 | |||||
7.0 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Test done on runbot 7-0-13627
When creating a analytic account called in my example 'holidays' in form view with a type 'analytic account' ; tick the checkbox 'timesheet' => if you timesheet on the account, the invoice rate will be empty (which is correct)
Now, on the same analytic account, change the type to 'contract or project', create a template (with a price list and 100% invoicing rate) and Save => if you timesheet on the account, the invoice rate will be 100%.
Finally, on the same analytic account, try to remove invoice rate to blank first, change back the type to 'analytic account' => you cannot save => the field should not be requiered since it is invisible
=> The problem is now, if I want to timesheet on this account the invoicing rate is not blank anymore => consequence : it will create analytic lines to be invoiced (=> I do not want to see this line as to be invoice since it is only holidays)
also see printscreen
Thanks
Frederic Clementi
Camptocamp
Related branches
- Dharti Ratani(OpenERP) (community): Needs Resubmitting
- Yannick Vaucher @ Camptocamp (community): Needs Fixing
- Naresh(OpenERP): Pending requested
-
Diff: 34 lines (+4/-4)2 files modifiedaccount_analytic_analysis/account_analytic_analysis_view.xml (+2/-2)
analytic_contract_hr_expense/analytic_contract_hr_expense_view.xml (+2/-2)
- Holger Brunn (Therp): Approve (code review)
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve (code review)
- Stefan Rijnhart (Opener): Needs Information
- Alexandre Fayolle - camptocamp: Approve (code review, no test)
-
Diff: 34 lines (+4/-4)2 files modifiedaccount_analytic_analysis/account_analytic_analysis_view.xml (+2/-2)
analytic_contract_hr_expense/analytic_contract_hr_expense_view.xml (+2/-2)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → Fix Committed |
Thank you Naresh
it works as expected
Frederic