summaryrefslogtreecommitdiff
path: root/addons/base/static/src/js/list-editable.js
AgeCommit message (Collapse)Author
2011-09-05rename base into web part1Antony Lesuisse
bzr revid: al@openerp.com-20110905110309-egx167t1ni1fzho1
2011-08-24[FIX] some more usages of indexes in list and list edition (should now be ↵Xavier Morel
index-free except as transient values), and implement on_write support remove ListView.List#reload_record_at_index as everything is now id-based to avoid desync issues bzr revid: xmo@openerp.com-20110824122251-9vw96qbn7snnkq3j
2011-08-24[IMP] to maintain correct synchro, listview should avoid relying on indexes ↵Xavier Morel
as much as possible. Get rid on indexes on rows, and of List.row_position bzr revid: xmo@openerp.com-20110824085303-6h3wggzynpic0mcz
2011-08-23[IMP] remember to insert the relevant record ids into the dataset if they're ↵Xavier Morel
not there bzr revid: xmo@openerp.com-20110823144235-g09rkurd1ndrrkme
2011-08-23[ADD] basics of on_write, split ListView.reload_record(index) in ↵Xavier Morel
ListView.reload_record(record) and ListView.reload_record_at_index(index) migrate most calls to reload_record(record) bzr revid: xmo@openerp.com-20110823141300-zujxs2oaunqwhprt
2011-08-22[MERGE] from trunkXavier Morel
bzr revid: xmo@openerp.com-20110822123258-thxewwdvbysap4jt
2011-08-22[FIX] row editionXavier Morel
bzr revid: xmo@openerp.com-20110822111001-mnyyvfund3b3j9bm
2011-08-22[ADD] handling of adding new records to an existing collection, silent ↵Xavier Morel
option on a bunch of record events bzr revid: xmo@openerp.com-20110822090458-3wdroe4cxyh30k91
2011-08-19[IMP] bind row and aggregate display refreshes on changes in the underlying ↵Xavier Morel
model(s) bzr revid: xmo@openerp.com-20110819103955-gx0j7t3kxl8pjy56
2011-08-18[IMP] more production mode move Session above session aware, jquery ui css ↵Antony Lesuisse
is not absolute bzr revid: al@openerp.com-20110818195349-zebyew12sefo93ml
2011-08-18[FIX] edit event in editable list: use records collectionXavier Morel
bzr revid: xmo@openerp.com-20110818101936-4jbnt8rhlsjkxxyt
2011-08-08[IMP] use Class.include() in editable listview, also in WebClient static ↵Xavier Morel
home extension but not as good: this._super references break when used in async contexts as the this._super reference has already been broken by the time the callback executes bzr revid: xmo@openerp.com-20110808103424-043a0ro0o7r390s7
2011-08-04[FIX] broken saving of new row in editable listXavier Morel
bzr revid: xmo@openerp.com-20110804153016-24mslsbbxpn07f3t
2011-08-03[FIX] Fixed more cssFabien Meghazi
bzr revid: fme@openerp.com-20110803124702-w6ja309afcp818qk
2011-08-03[FIX] handling of tree_invisible in form widgets of editable list: if ↵Xavier Morel
invisible and tree_invisible, tree_invisible should take priority and apply first bzr revid: xmo@openerp.com-20110803121810-xrw944u8o8afyms9
2011-08-03[FIX] stuff al broke: removed parameters from FormView constructor, did not ↵Xavier Morel
fix all callsites bzr revid: xmo@openerp.com-20110803120607-arw69hc83rp0kq03
2011-07-15[FIX] reload records on listview edition cancel (in case some action changed ↵Xavier Morel
a value while in form mode) also improve sequencing of operation in case of edition cancelling in order to lower the risks of race condition lp bug: https://launchpad.net/bugs/806951 fixed bzr revid: xmo@openerp.com-20110715071853-i9yrepxeh8b70me8
2011-07-12[FIX] group titles should display 'Undefined' for false values, rather than ↵Xavier Morel
'false' bzr revid: xmo@openerp.com-20110712141934-qk3zfckzh32b8xu1
2011-07-07[REM] Removed use of attrs and replaced it with modifiersFabien Meghazi
Warning ! You need server Revision: 3497 revid:vmt@openerp.com-20110705122222-bhim9uft3l3sqee8 bzr revid: fme@openerp.com-20110707103740-4m6vrj18wfi2hacy
2011-06-23[IMP] move and rename ListView.List.get_fields_view: its actual role is to ↵Xavier Morel
transmogrify the listview's view descriptor so that we can use it in a form view, so it's only for editable lists, and it should reflect its actual task in its name. Also add some doc. bzr revid: xmo@openerp.com-20110623105002-vnznqit790p5gv48
2011-06-21[FIX] When using return on an action button, triggers both click and keyup, ↵Xavier Morel
so we have to disable keyup as well on buttons in editable list, or it gets forwarded to the list itself (and executes action + double saves) bzr revid: xmo@openerp.com-20110621155705-d4dqdaxy2slpdvh9
2011-06-08[FIX] property name for click even in jQuery is 'click', not 'onclick' and ↵Xavier Morel
Firefox does *not* like the wrong one bzr revid: xmo@openerp.com-20110608145850-9fvq4celpj1v4ept
2011-06-08[IMP] don't wait for the bloody record to be fully loaded to fixup cell ↵Xavier Morel
styles and add groupby columns (in case of grouping), it makes the list titles jittery which looks terrible. Instead, can fixup the row right after rendering, which makes the whole thing much stabler bzr revid: xmo@openerp.com-20110608135141-g6rz1g77ykyg2cja
2011-06-08[FIX] recompute aggregates after saving a recordXavier Morel
bzr revid: xmo@openerp.com-20110608133301-l3cdm9r2254zs20u
2011-06-07[IMP] switching to form view selecting the correct record while in edition ↵Xavier Morel
mode with a record being edited bzr revid: xmo@openerp.com-20110607105557-izu1cm5udiqkktsg
2011-06-06[IMP] add empty padding columns to editable rows when group_by activeXavier Morel
bzr revid: xmo@openerp.com-20110606140154-39f2ivk5csfkc5x9
2011-06-06[FIX] ensure only one row at a time is edited, integrate dataset index in ↵Xavier Morel
row markup to create a more solid mapping between records and table rows in ListView.List (than checking the number of ancestors, which — it turns out — is a bit brittle when adding new rows at the front of the table bzr revid: xmo@openerp.com-20110606134336-mmk00344x7gicd0z
2011-06-06[FIX] saving of newly created recordsXavier Morel
* Refresh correct record in @editable=top * Follow up with new record after creation (instead of editing semi-random one) bzr revid: xmo@openerp.com-20110606131630-vq2bwtrozm8jybpo
2011-06-06[FIX] editable is an attribute on tree viewXavier Morel
bzr revid: xmo@openerp.com-20110606123229-2agzw9djd99ojczi
2011-06-06[IMP] make edition indexing work based on the current datasetXavier Morel
bzr revid: xmo@openerp.com-20110606114204-sjnil5xuhef0l2la
2011-06-06[FIX] handling of editable list views via @editable, add basis for adding ↵Xavier Morel
records in editable list mode bzr revid: xmo@openerp.com-20110606095918-9kcm3x1m8bncl092
2011-06-03[IMP] reload of rows after action: only reload the row, not the whole treeXavier Morel
Also improve DataSet slightly: have read_index and read_ids return their RPC promises bzr revid: xmo@openerp.com-20110603143723-go25vripams72bqb
2011-06-03[ADD] edition cancellingXavier Morel
bzr revid: xmo@openerp.com-20110603141638-giwlzwrp795bq78h
2011-06-03[IMP] re-render record to readonly after saving itXavier Morel
bzr revid: xmo@openerp.com-20110603132438-uhkzql3lsy6h9ptn
2011-06-03[ADD] basic (and crummy) saving of editable rowsXavier Morel
TODO: * Switch back to read row after saving * Edit next row if [return] * How do things interact with onchanges? * Handle validation errors bzr revid: xmo@openerp.com-20110603122443-fvmfouuybh69b48g
2011-06-03[IMP] awful hack to hide the value but not the cell itself in editable row ↵Xavier Morel
cells when it is invisible from an attrs evaluation rather than from @invisible bzr revid: xmo@openerp.com-20110603115757-4z67r08g1sfogfgw
2011-06-03[IMP] move addition of oe-field-cell on cells of editable rows to ↵Xavier Morel
post-processing rather than template alteration bzr revid: xmo@openerp.com-20110603111044-hcrqubshpnc6mzux
2011-06-03[ADD] basic overriding of WidgetFrame template: remove <table> and <tr> ↵Xavier Morel
display levels bzr revid: xmo@openerp.com-20110603103100-c0di95c1z5rd1ogh
2011-06-03[MOVE] editability code for listviews in a separate files: customizations of ↵Xavier Morel
Form View require load-time dependencies on form.js, but form.js already depends on ListView (in order to create m2m widgets and sub-widgets), so we need to execute that part after both openep.base.list and openerp.base.form have loaded bzr revid: xmo@openerp.com-20110603093606-gw00iidxfakjmvt3