[trunk] can not open form for o2m

Bug #626693 reported by Ferdinand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Invalid
Low
Unassigned

Bug Description

Example
Sale / Customer - select OpenERP Corp
try to open contact (works in GTK)

base_contact installed

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Hello,

I cant find OpenERP Corp any where ?
I installed base contact also.

Can you describe more ?

Thanks.

Revision history for this message
Ferdinand (office-chricar) wrote :

loading demo data , one of the customer is "OpenERP Corp"
but you can take any other customer with a contact.

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Hello Ferdinand,

Can you describe in detail ?

Is there any error at your side ?
We dont have any error here.

Thanks.

Changed in openobject-client-web:
status: New → Incomplete
Revision history for this message
Ferdinand (office-chricar) wrote :

Click on a contact in tree view should open contact in form view - but nothing happens - no error no form

Revision history for this message
Navrang Oza (noz-tiny) wrote :

There is change in V6.
many2one fields dont have links now.

Thanks.

Revision history for this message
Navrang Oza (noz-tiny) wrote :

> Click on a contact in tree view should open contact in form view - but nothing happens - no error no form

You can only edit record from EDIT(pen) icon.
Click on record is removed.

Thanks.

Navrang Oza (noz-tiny)
Changed in openobject-client-web:
status: Incomplete → Invalid
milestone: none → 6.0
Revision history for this message
Ferdinand (office-chricar) wrote :

sorry , there is a misunderstanding

in GTK it is possible to switch contact from tree to form, enter data there and navigate to contact or create a new contact.

if this does not "work" it's IMHO a significant feature loss - making the browser not usable for partner maintenance.

Changed in openobject-client-web:
status: Invalid → New
Revision history for this message
Ferdinand (office-chricar) wrote :

btw there is a duplicate fields definition

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Hello,

In V6, switch view for one2many has been removed.
So its not a bug.

Thanks.

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Duplicate fields definition is not web client side.

Revision history for this message
Ferdinand (office-chricar) wrote :

Duplicate fields - sure - I'll file another bug

But how is it possible to open a sale order line which is a o2m
sale.py: 'order_line': fields.one2many('sale.order.line', 'order_id', 'Order Lines', readonly=True, states={'draft': [('readonly', False)]}),

and not a contact which is a o2m
base_contact.py: 'job_ids': fields.one2many('res.partner.job', 'contact_id', 'Functions and Addresses'),

Navrang Oza (noz-tiny)
Changed in openobject-client-web:
importance: Undecided → Low
Revision history for this message
Ferdinand (office-chricar) wrote :

BTW it is not possible to enter bank accounts..... in Partner / Accounting /Bank Details

click EDIT

the "New" button is dead

Revision history for this message
Navrang Oza (noz-tiny) wrote :

Please update,
Its working fine here.

Thanks.

Revision history for this message
Ferdinand (office-chricar) wrote :
Download full text (10.5 KiB)

r 3162
using newest firefox on OpenSuSE 11.3 on both computers

opening bank using http://localhost:8080... works

opening the same form from remote crashes (very long URL issue?)

While trying to process the request:

GET http://10.147.160.136:8080/openerp/openo2m/edit?_terp_view_params%2F_terp_model=res.partner&_terp_view_params%2F_terp_view_ids=%5B101%2C%20102%5D&_terp_view_params%2F_terp_view_mode=%5Bu%27tree%27%2C%20u%27form%27%5D&_terp_view_params%2F_terp_context=%7B%27lang%27%3A%20u%27en_US%27%2C%20%27active_ids%27%3A%20%5B83%5D%2C%20%27tz%27%3A%20False%2C%20%27search_view%27%3A%20103%2C%20%27active_model%27%3A%20%27ir.ui.menu%27%2C%20%27department_id%27%3A%20False%2C%20%27_terp_view_name%27%3A%20u%27Customers%27%2C%20%27section_id%27%3A%20False%2C%20%27client%27%3A%20%27web%27%2C%20%27project_id%27%3A%20False%2C%20%27search_default_customer%27%3A%201%2C%20%27active_id%27%3A%2083%7D&_terp_view_params%2F_terp_view_type=form&_terp_view_params%2Fbank_ids%2F_terp_model=res.partner.bank&_terp_view_params%2Fbank_ids%2F_terp_view_ids=%5BFalse%2C%20False%5D&_terp_view_params%2Fbank_ids%2F_terp_view_mode=%5B%27tree%27%2C%20%27form%27%5D&_terp_view_params%2Fbank_ids%2F_terp_context=%7B%27address%27%3A%20%5B(1%2C%201%2C%20%7B%27city%27%3A%20u%27Grand-Rosi%5Cxe8re%27%2C%20%27fax%27%3A%20u%27%2B32.81.73.35.01%27%2C%20%27zip%27%3A%20u%271367%27%2C%20%27street2%27%3A%20False%2C%20%27country_id%27%3A%20(20%2C%20u%27Belgium%27)%2C%20%27email%27%3A%20False%2C%20%27phone%27%3A%20u%27%2B32.81.81.37.00%27%2C%20%27street%27%3A%20u%27Chauss%5Cxe9e%20de%20Namur%2C%2040%27%2C%20%27id%27%3A%201%2C%20%27state_id%27%3A%20False%2C%20%27type%27%3A%20u%27default%27%2C%20%27job_ids%27%3A%20%5B22%2C%2013%2C%2014%2C%2015%2C%2016%2C%2017%2C%2018%2C%2019%2C%2020%2C%2021%2C%2012%2C%2023%5D%7D)%5D%7D&_terp_view_params%2Fbank_ids%2F_terp_view_type=form&_terp_parent_model=res.partner&_terp_parent_id=1&_terp_parent_view_id=102&_terp_o2m=bank_ids&_terp_o2m_model=res.partner.bank&_terp_o2m_id=16&_terp_editable=0&_terp_o2m_context=%7B%27lang%27%3A%20u%27en_US%27%2C%20%27active_ids%27%3A%20%5B3%2C%2043%2C%207%2C%2017%2C%209%2C%204%2C%2020%2C%2010%2C%2023%2C%2012%2C%2013%2C%2024%2C%2025%2C%2019%2C%2026%2C%2021%2C%2014%2C%2016%2C%2027%2C%2073%2C%2072%2C%201%2C%2069%2C%2071%2C%2070%2C%2015%2C%205%2C%2018%2C%2028%2C%206%2C%208%2C%2035%2C%2022%2C%2029%2C%2030%2C%2031%5D%2C%20%27tz%27%3A%20False%2C%20%27search_view%27%3A%20103%2C%20%27active_model%27%3A%20%27ir.ui.menu%27%2C%20%27section_id%27%3A%20False%2C%20%27active_id%27%3A%201%2C%20%27_terp_view_name%27%3A%20u%27Customers%27%2C%20%27client%27%3A%20%27web%27%2C%20%27address%27%3A%20%7B%27job_ids%27%3A%20%5B(1%2C%2022%2C%20%7B%27function%27%3A%20u%27CEO%27%2C%20%27sequence_partner%27%3A%20-1%2C%20%27address_id%27%3A%20(1%2C%20u%27Chauss%5Cxe9e%20de%20Namur%2C%2040%201367%20Grand-Rosi%5Cxe8re%27)%2C%20%27name%27%3A%20(1%2C%20u%27OpenERP%20Corp.%27)%2C%20%27extension%27%3A%20False%2C%20%27sequence_contact%27%3A%200%2C%20%27date_start%27%3A%20False%2C%20%27fax%27%3A%20False%2C%20%27contact_id%27%3A%20(12%2C%20u%27Sir%20Pinckaers%20Fabien%27)%2C%20%27email%27%3A%20u%27fp%40mycompany.com%27%2C%20%27phone%27%3A%20False%2C%20%27state%27%3A...

Revision history for this message
Ferdinand (office-chricar) wrote :

I still believe that something is wrong with the o2m contacts in partner

the columns can't be sorted (as usually) - ( even after removing the sequence_partner )

it just does not behave like all the other o2m widgets.

Revision history for this message
Ravindra Mekhiya(OpenERP) (rme-openerp) wrote :

Ferdinand,

I have checked this on latest revisions and I dont see any issue out of what have been specified earlier.
So, I am closing the bug.

You can bring any issue in notice if found.
Thanks.

Changed in openobject-client-web:
status: New → Invalid
milestone: 6.0 → none
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.