Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Pencil icon on tree view to move to editable form view in OpenERP 7 & 8

By
Vivekrajan
on 10/13/14, 1:06 AM 1,369 views

Hi,

There was a pencil icon in all the tree views which enabled the user to move to a editable form view easily in 6.1 version. But it has been removed from 7 and the subsequent versions. Right now, the user has to click on the a particular record on the tree view. It redirects to a the non editable form view of the particular record. Then the user has to click on the edit button inorder to update the record. This is not user friendly.

How do I achieve in the newer versions the same functionality that was available in 6.1 ?

https://www.dropbox.com/s/mzg941wal3yvmv3/pencil.png?dl=0

 

0

Ludo - Neobis

--Ludo - Neobis--
2387
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 10/14/14, 5:28 AM

This behaviour is triggered because of the views that are called. Compare for example the editing of invoices or sale order lines as a basic user or as a manager. In the case of the manager a pop-up appears, whilst the basic user edits inline.

In order to achieve this on the desired object you could alter the view and make it inline. Note that it might be handled pretty deep inside the XML view and should be thoroughly tested.

Hi, I don't want any inline. Let me clarify this a bit. When I click a record, say Sale order, the form view is non editable now. You are forced to click the 'edit' button on top to edit the entire sale order details (dont worry about line item now). I want to reduce the steps in editing the sale order details. when I click the sale order record from the main tree view, it should be editable by default as it is in 6.1. It was possible in 6.1 since there was a pencil icon on the main tree view for every record. Its not available in 7 & 8. Do you realize that first? See the image that is in the link i provided

Vivekrajan
on 10/14/14, 6:27 AM

Ah, now I see what you mean. Basically you want to have some form of button that allows you to "start" in edit mode when opening a record from the tree view. I have not got any clue on how to do that, apart from mixing with the code in the background. I think this can be found/altered in the web module.

Ludo - Neobis
on 10/14/14, 10:06 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 10/13/14, 1:06 AM
Seen: 1369 times
Last updated: 3/16/15, 8:10 AM