[7.0] hidden & mandatory fields in analytic form view

Bug #1191036 reported by Frederic Clementi - Camptocamp
16
This bug affects 3 people
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

Tags: maintenance

Related branches

Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: New → Fix Committed
Revision history for this message
Frederic Clementi - Camptocamp (frederic-clementi) wrote :

Thank you Naresh
it works as expected

Frederic

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.