← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 809517] Re: items disappear when tree view has editable attribute

 

Hi Vishal,

Attribute of tree must be editable="top" (or bottom). In case of
editable = False, this issue does not occur.

Thanks,

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/809517

Title:
  items disappear when tree view has editable attribute

Status in OpenERP Web Client:
  Incomplete

Bug description:
  Hi,

  Take form view, hr.job.form in hr_view file, we define view as below.

  - When we add employees to hr.job, such as Administrator, Fabien. It will add these 2 employees to the form.
  - Now, we click on edit button in the line to modify something, such as name for Administrator. 
  - After modifying the name, we click on Save button in the line to save the record. At this time, all these 2 employees disappear, the list becomes empty.

  ===
  <field name="employee_ids" colspan='4' nolabel="1" widget="many2many" mode="tree,form">
     <tree editable="bottom">
         <field name="name"/>
     </tree>
  </field>
  ===

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-client-web/+bug/809517/+subscriptions


References