[6.1] Form view blank on model with no one2many fields which would show as a form

Bug #1025246 reported by Craig Gowing (credativ)
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Status tracked in Trunk
6.1
Fix Committed
Low
OpenERP Publisher's Warranty Team
Trunk
Invalid
Low
OpenERP Publisher's Warranty Team

Bug Description

Certain models will have one2many fields which will be displayed as an embedded form instead of the default tree. If this record has no one2many relations it will not be able to render any of the view at all, not just the form view for this embedded form.

Steps to replicate the problem using res.partner and res.partner.address

1. Create a new Customer
2. From the Customer form view, switch the embedded address form view to the tree view, delete all lines and save
3. Navigate away from the customer form view and back again to the same record

The expected result would be that only the res.partner.address form would be blank or greyed out.
The actual result is that the entire res.partner view is not rendered at all.

Craig

Tags: maintenance
Revision history for this message
Amit Bhavsar (Open ERP) (amb-openerp) wrote :

Hello Craig,

I have checked your Issue, But In trunk whole functionality are changed. So This is affected only 6.1 and It's not a blocking Issue. That's why we can not consider this Issue.

If you have a support and maintenance contract with us then you can contact with our OPW team at <email address hidden>,they will definitely help you.

Thank you!

Changed in openerp-web:
status: New → Invalid
Revision history for this message
Craig Gowing (credativ) (craiggowing) wrote :

I still think this is a bug and does affect 6.1. ~credativ/openerp-web/6.1-fixes revision 2411 fixes this problem.

Craig

Revision history for this message
Serpent Consulting Services (serpent-consulting-services) wrote :

Craig,

This is really a very good find, appreciated!

I would like to add one more bug : When you create a new partner, you see either 1 or 2 blank addresses created by default!(sometimes its 1, sometimes its 2).

Thanks,
Serpent Consulting Services,
http://www.serpentcs.com

Changed in openerp-web:
status: Invalid → Confirmed
importance: Undecided → Low
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
summary: - Form view blank on model with no one2many fields which would show as a
- form
+ [6.1] Form view blank on model with no one2many fields which would show
+ as a form
tags: added: maintenance
Revision history for this message
Mohammed Shekha(Open ERP) (msh-openerp) wrote :

Hello,

I have tried to reproduce at my end but unfortunately I am not able to reproduce it, I have created a customer and removed the address lines which are unnecessarily created saved the record and page view is rendered without one2many, the record for res.partner is properly rendered.

Yes I agree with comment three it makes unnecessary record in one2many if there is default form view mode but it goes true only in one condition when there is no required field in form view which is true for res.partner.address, this issue has already been fixed in lp:~openerp-dev/openerp-web/6.1-opw-572829-msh.

Thanks.

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

Other bug subscribers

Remote bug watches

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