lp://qastaging/~zyphos/openobject-client/5.0

Created by Nicolas DS and last modified

Improved 5.0 Branch
Latest windows build available at:
http://zyphos.be/openobject/5.0/

Improvements:
Dynamic view
===========
Usage in your class my_model(osv.osv):
def fields_view_get(self, ...):
    result = super(my_model, self).fields_view_get(...)
    # context: {'lang': ..., 'ids':[4,5,6], 'parent_id': 1, 'parent_model': 'parent_model'}
    result['dynamic'] = True
    return result

Image widget:
===========
- Tree.image
- Form.many2one_image
- Tree.many2one_image
- It contains an image caching (set to 30 seconds) to avoid slowing client.
- Support more image type. (.ani, .ico, .jpe, .jpeg, .pcx, .pnm, .ras, .tga, .xbm)
Usage:
- Tree.image
 <field name='img_field_name' widget='image' img_width='100' img_height='33' \>
- Tree.many2one_image and Form.many2one
 <field name='img_field_id' widget='many2one_image' img_width='100' img_height='33' fieldname='the_img_field_of_the_m2o' \>
if "fieldname" is not provided it will take the first binary field of the many2one.

Other improvements:
=================
- Double click on Many2many widget open a popup with selected record within.
- Lazy Loading, only load Notebook page datas when showed in form View. (Very usefull, with slow connection or slow view)

Get this branch:
bzr branch lp://qastaging/~zyphos/openobject-client/5.0
Only Nicolas DS can upload to this branch. If you are Nicolas DS please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Nicolas DS
Project:
Odoo GTK Client (MOVED TO GITHUB)
Status:
Mature

Recent revisions

1115. By Nicolas DS

[MERGE] from official branch

1114. By Nicolas DS

[IMP] Optimization of M2M widget tree, show list of all M2M objects name

1113. By Nicolas DS

[FIX] Cleaning, removing debuging info

1112. By Nicolas DS

[IMP] Lazy load data of Notebook in form view

1111. By Nicolas DS

[FIX] models != mgroup, better code reading

1110. By Nicolas DS

[FIX] Allow using search widget char for integer field type (instead of the value range widget)

1109. By Nicolas DS

[FIX] Search view should prioritize Tree view XML instead of Form view XML

1108. By Nicolas DS

[IMP] M2M widget tree, show list of all M2M objects name

1107. By Nicolas DS

[IMP] Many2many widget clean up when read only

1106. By Nicolas DS

[IMP] Many2many widget double click action can be customized
Usage:
in xml:
<field name="attachment_ids" nolabel="1" activated="open:datas,datas_fname"/>
or
<field name="attachment_ids" nolabel="1" activated="save:datas,datas_fname"/>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://qastaging/openobject-client
This branch contains Public information 
Everyone can see this information.

Subscribers