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

Product - Kanban Item Edit

By
triloki
on 11/15/13, 2:39 AM 3,644 views

Hello Support,

I am playing with version 7.0 and want to see how to customize the Kanban under Product list.

But I don't see links to add or remove fields from the kanban view, like the one release notes show.

Am I missing any setup parameter?

Thanks in advance.

anyone? i was hoping it was an easy answer...

triloki
on 11/16/13, 4:00 AM

Can you clarify what links you are talking about and what part of the release note you refer to. (provide screenshot or link)

Fabrice Henrion (fhe)
on 11/24/13, 7:08 PM

Thanks for responding.

The release notes are published at:

http://v6.openerp.com/node/1269#h.32t9h1inz7pg (link text) and it is point 2.3

on my end i dont have create new column or edit button.

I want to edit products kanban view.

thanks.

triloki
on 11/25/13, 6:37 AM
0
roman onosovski
On 6/24/14, 11:48 AM

Hey man! I ran into the same issue.. there seem to be a couple of things at play here. 

If you look at how Notes and the CRM lead is designed youw ill notice 2 ways of grouping the "Columns"

one is by overriding the read_group method as seen in Notes and the other by using

_group_by_full = {

'grouping name': _read_group_stage_ids

}

Now, OpenERP magically relies on the definition of these two separate ways of gathering the needed data for kanban views.

Explicitly what you need to have is the field you want to group by exactly match the model field in the xml view def:

<record model="ir.ui.view" id="view_sodancasync_files_kanban">
      <field name="name">sodancasync.files.kanban</field>
      <field name="model">sodancasync.files</field>
      <field name="arch" type="xml">
        <kanban default_group_by="folder" >*******this is where you specify what to group by******* this relies on the mentioned above.. if there are discrepancies the "Add new column" will not show up nor will the header names.

         
          <field name="name"/>
          <field name="folder"/>
          <templates>
            <t t-name="kanban-box">

              
            </t>
          </templates>
        </kanban>
      </field>
    </record>

Furthermore the data returned by read_group or _read_group_stage_ids is very specific. I cant say there were any direct instructions nor charts to follow, but i was able to accomplish what you seek by reverse engineering Notes and CRM Opportunities aka crm_lead. Good luck!

0

Fabrice Henrion (fhe)

--Fabrice Henrion (fhe)--
5823
| 7 7 8
San Francisco, United States
--Fabrice Henrion (fhe)--

Director Odoo USA

Fabrice Henrion (fhe)
On 11/25/13, 2:31 PM

If you don't have access to the buttons "Add a new column" and "Edit" (in the drop-down list, it can only be explained by access rights. You should retry when logged as an administrator to troubleshoot if the problem is an access right configuration. You can also test this functionality on http://runbot.openerp.com because it works there.

Thanks for feedback, I am logged in as Admin, please can you guide me to "Access Rights" section.

triloki
on 11/26/13, 11:39 AM

Settings > Users > Users > Access Rights tab ; as well as Settings > Technical > Security

Fabrice Henrion (fhe)
on 11/27/13, 9:14 PM

both check => result no good.

triloki
on 11/28/13, 1:40 PM

did not see any option to enable the feature; most of the options are checked. Still no luck.

triloki
on 11/28/13, 1:46 PM

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: 11/15/13, 2:39 AM
Seen: 3644 times
Last updated: 3/16/15, 8:10 AM