Commit Graph
946 Commits
Author SHA1 Message Date
Antony Lesuisse 03a2c05f8f [FIX] menu disapear
bzr revid: al@openerp.com-20111209095309-krhje63k6cwvxdjq
2011-12-09 10:53:09 +01:00
Xavier Morel e0982275e8 [IMP] use <button> instead of <input type='submit|reset'> so translation tools can find labels
bzr revid: xmo@openerp.com-20111209093302-2gevn2g2po39jamp
2011-12-09 10:33:02 +01:00
Antony Lesuisse a2498b9510 [MERGE] customer flow, ApplicationInstaller and ApplicationTiles
bzr revid: al@openerp.com-20111208222736-c28z57qacdzzow5y
2011-12-08 23:27:36 +01:00
Fabien Meghazi cefbb9b89c [FIX] Stupid fme
bzr revid: fme@openerp.com-20111208154038-ni77gbg8x2aabdui
2011-12-08 16:40:38 +01:00
Fabien Meghazi fad90d4050 [REV] We always want the debug View button, even if display_title == false
bzr revid: fme@openerp.com-20111208152700-rfj522vcvyhpwnst
2011-12-08 16:27:00 +01:00
Xavier Morel b27ea250df [IMP] restrict drag&drop of list elements to the list itself
bzr revid: xmo@openerp.com-20111208150950-b1eip9apksztlrda
2011-12-08 16:09:50 +01:00
Fabien Meghazi 24148e721c [IMP] Add action buttons to debug view editing popup
Note: it causes an error because it wants to switch to page view but saves anyway.

bzr revid: fme@openerp.com-20111208150332-hf6kndst4wo0f3mt
2011-12-08 16:03:32 +01:00
Xavier Morel 9268a1c680 [ADD] editable list navigation via KEY_UP and KEY_DOWN
Both start by saving the row being edited, then (if the save is successful) going to the record above or below them

bzr revid: xmo@openerp.com-20111208141923-1p1rm4mu0hikls6m
2011-12-08 15:19:23 +01:00
Vaibhav (OpenERP) 15e9b073c6 [FIX] ListView drag&drop within parent bound.
bzr revid: vda@tinyerp.com-20111208131633-b7c3bd5hs3deuobd
2011-12-08 18:46:33 +05:30
Xavier Morel 54f3f38957 [IMP] ListView#save_row internals by taking advantage of Deferred#pipe
and FormView#do_save returning a deferred of course.

bzr revid: xmo@openerp.com-20111208123846-dp3cgbsljl41q82k
2011-12-08 13:38:46 +01:00
Xavier Morel 37dee90724 [IMP] API for ListView#save_row (better use returned deferred)
* Deferred now provides creation flag and which record was edited on resolution
* Moved logic for editing next record (or creating a new one) to keyboard event handler
* Extracted keyboard even handler to prepare for new edition keys

bzr revid: xmo@openerp.com-20111208122946-221yve4amubqo1be
2011-12-08 13:29:46 +01:00
Fabien Meghazi 0ce87ab853 [FIX] Fix problem with reference field. Field is not reset when set_value(false)
bzr revid: fme@openerp.com-20111208122851-gd2v732m4105x3bh
2011-12-08 13:28:51 +01:00
Antony Lesuisse a5b31d465e [MERGE] tiles style
bzr revid: al@openerp.com-20111208114722-1tko0x521cf3r2qk
2011-12-08 12:47:22 +01:00
Xavier Morel eacd5ff1f2 [FIX] have readonly m2m fields open their form popup in readonly mode
bzr revid: xmo@openerp.com-20111208104742-k8rapp1l49wyayst
2011-12-08 11:47:42 +01:00
Xavier Morel 8683629a75 [IMP] move page widgets to an openerp.web.page namespace, from openerp.web.form
bzr revid: xmo@openerp.com-20111208103732-grfv19fhu0dxtk3m
2011-12-08 11:37:32 +01:00
Xavier Morel fef31e0d71 [ADD] page view reference field
behaves much like the corresponding m2o field: simply links to the referenced object

bzr revid: xmo@openerp.com-20111208102809-ljc9sm84pc9snda0
2011-12-08 11:28:09 +01:00
Xavier Morel f3d4219164 [IMP] editable list UI
* removed cancel edition button
* used an icon for save edition button

bzr revid: xmo@openerp.com-20111208091055-j80gi36s0j5c3mpi
2011-12-08 10:10:55 +01:00
Xavier Morel 22fb18bcbf [ADD] special case: creating a record from list goes back to page view, not list view
bzr revid: xmo@openerp.com-20111207153101-kzpolvmvmxnjl20m
2011-12-07 16:31:01 +01:00
Fabien Meghazi 573bae6729 [FIX] Shortcut icon + Process view button shall honor flags.display_title
Fixed dashboard buttons styling

bzr revid: fme@openerp.com-20111207163131-mi5cmtgficytw5c6
2011-12-07 17:31:31 +01:00
Fabien Meghazi e9a54a5c11 [IMP] Raise console.error when no action.type defined
I see this error from times to times but never had a chance to reproduce it.
console.error will give a traceback + action object in order to fix the issue

bzr revid: fme@openerp.com-20111207161353-vnp6dm21xyedxgeg
2011-12-07 17:13:53 +01:00
Fabien Meghazi c635bebcfc [IMP] Update special case for dashboard
bzr revid: fme@openerp.com-20111207155913-o5e9rpthflfw2z10
2011-12-07 16:59:13 +01:00
Fabien Meghazi 2c0a365da8 [IMP] Debug "Edit Model" --> Sidebar "Customize Object"
bzr revid: fme@openerp.com-20111207151757-ww6kva60tudecf3l
2011-12-07 16:17:57 +01:00
Fabien Meghazi a464639221 [IMP] Improved debugging infos in sidebar and for debug View#xxx button
bzr revid: fme@openerp.com-20111207145514-s0yisb191841utp6
2011-12-07 15:55:14 +01:00
Fabien Meghazi 43373001a6 [FIX] Removed unused code
bzr revid: fme@openerp.com-20111207143518-mq3dma93nu8khpqx
2011-12-07 15:35:18 +01:00
Xavier Morel bbf46ca288 [FIX] creation button in list view
bzr revid: xmo@openerp.com-20111207133229-m47jhi2kr01247k4
2011-12-07 14:32:29 +01:00
Fabien Meghazi 74bd504779 [FIX] Translate icon is wrapped down
lp bug: https://launchpad.net/bugs/898675 fixed

bzr revid: fme@openerp.com-20111207132447-dr9jbz25gqyhcar2
2011-12-07 14:24:47 +01:00
niv-openerp 21c1918717 [imp] improved menu disapearance
bzr revid: nicolas.vanhoren@openerp.com-20111207112214-hvff0rtfl12jk355
2011-12-07 12:22:14 +01:00
Fabien Meghazi ec123c78db [FIX] Disable tooltip when clicking on action buttons
bzr revid: fme@openerp.com-20111207113559-128r2hkg4x62in2i
2011-12-07 12:35:59 +01:00
Xavier Morel aa93c2ca39 [IMP] hide res.log messages when doing view switches (e.g. edit/save/cancel/whatever)
bzr revid: xmo@openerp.com-20111207110408-qa2lv1mw4oxa3qpa
2011-12-07 12:04:08 +01:00
niv-openerp d30c1d8c4f [imp] changed behavior when clicking on a root menu item wihout dashboard to be more consistent
bzr revid: nicolas.vanhoren@openerp.com-20111207105008-bt3m5vytpb2r06lh
2011-12-07 11:50:08 +01:00
Xavier Morel faa8627737 [FIX] have readonly m2o links open forms in readonly as well
bzr revid: xmo@openerp.com-20111207104942-w3x6trs3utk6fwpw
2011-12-07 11:49:42 +01:00
Xavier Morel f3c671cbd8 [ADD] push/pop API for views
lp bug: https://launchpad.net/bugs/900225 fixed

bzr revid: xmo@openerp.com-20111207104503-gcy0gbin36s4uudh
2011-12-07 11:45:03 +01:00
Xavier Morel f16cb14ba1 [ADD] page view
bzr revid: xmo@openerp.com-20111207095005-kycj19uv5gpka6xx
2011-12-07 10:50:05 +01:00
Xavier Morel d313f16078 [FIX] use page view in readonly o2ms, readonly form popups
bzr revid: xmo@openerp.com-20111207094242-0m1hdadhy4xaqkm0
2011-12-07 10:42:42 +01:00
Xavier Morel edcbc3830e [MERGE] trunk
bzr revid: xmo@openerp.com-20111207091404-1zdmhmsnvhveq7c4
2011-12-07 10:14:04 +01:00
Fabien Meghazi a4f6a4d725 [FIX] ViewManager should trigger SearchView#do_search only when it is ready
lp bug: https://launchpad.net/bugs/901070 fixed

bzr revid: fme@openerp.com-20111207090354-y4gr795g6pqx8iv6
2011-12-07 10:03:54 +01:00
Fabien Meghazi 6e33fed3b5 [ADD] Add support for custom arguments in View#do_execute_action
bzr revid: fme@openerp.com-20111206173142-4z2ysaqf456zbcig
2011-12-06 18:31:42 +01:00
Fabien Meghazi 9796aadeb4 [FIX] Dataset#callbutton: assume the last argument is the context
bzr revid: fme@openerp.com-20111206172515-dz4rduhcbd26b1e8
2011-12-06 18:25:15 +01:00
Fabien Meghazi b12525e31a [ADD] Added deferred for view manager controllers
bzr revid: fme@openerp.com-20111206140452-m17hb2xb6ef3j4bg
2011-12-06 15:04:52 +01:00
Xavier Morel c58ebcfaed [FIX] records disappearing from sequenceable list views when dropped onto their original position
In the listview's backing Records, a noop set (setting a property to
the value it already has) has no visible effect (no even is triggered,
it is simply ignored).

The listview relies on setting the sequence number to refresh records
and re-display them correctly in their table rows, but dropping an
already sequenced row onto itself would set its sequence to its
current value (barring record removals), yielding to no refresh and
the row simply poofing out of view as it gets removed from the
collection (and the table), then added back to the collection in its
new (and old) position and displayed in a bare-bones empty states
waiting for a render_record call.

Added a check to sorting management to bail out immediately if a sort
is a noop (the row is dropped at the same position it was taken from)

lp bug: https://launchpad.net/bugs/900207 fixed

bzr revid: xmo@openerp.com-20111206123735-4bfnqh1zl7u4ozm9
2011-12-06 13:37:35 +01:00
Fabien Meghazi e719ba764a [FIX] Fixed view_manager double do_search triggering
[REM] Removed autosearch
[REM] Removed last search caching

bzr revid: fme@openerp.com-20111206113658-ntnl14ezdnqqhe3m
2011-12-06 12:36:58 +01:00
Xavier Morel 41e8b3f92c [FIX] correctly send context during graph's fields_get
lp bug: https://launchpad.net/bugs/898636 fixed

bzr revid: xmo@openerp.com-20111206113141-nbfxp0jx4lrgo95g
2011-12-06 12:31:41 +01:00
Xavier Morel 0fbdaab88f [FIX] defer actually writing the resequencing of a list view to the backing dataset ~/projects/tiny/web/current
There seems to be an issue with synchronous o2m writes doing weird
things (records disappear after being drag & dropped)

lp bug: https://launchpad.net/bugs/900207 fixed

bzr revid: xmo@openerp.com-20111206082713-efq1w88sv0htl39c
2011-12-06 09:27:13 +01:00
Minh Tran 4ca43cd31e [IMP] Changed the default home page
bzr revid: mit@openerp.com-20111205154425-fw94io3x1dagpc5h
2011-12-05 16:44:25 +01:00
Xavier Morel b7aa4e4712 [FIX] ensure o2m widget has saved its sub-views before it returns its value to its parent form view
This is currently highly faillible as saving a form or a list view can
be an async operation, yet the FormView's `Widget#get_value` call can
only be synchronous. As a result, there are cases where saving a form
view can fail to get the correct value for its o2m fields.

Ideally, `Widget#get_value` should be an async API (or a sync/async API)

bzr revid: xmo@openerp.com-20111205153813-nvgy5413oyf5zsla
2011-12-05 16:38:13 +01:00
Fabien Meghazi 986ff55624 [FIX] Fix form and page buttons
bzr revid: fme@openerp.com-20111205135037-g9y8obto3y8rsuki
2011-12-05 14:50:37 +01:00
Xavier Morel 53603c3365 [FIX] prevent rpc defaults from unblocking db-creation UI in case e.g. db.create() takes more than 3s
bzr revid: xmo@openerp.com-20111205132425-6jr9lv8i4zviwrso
2011-12-05 14:24:25 +01:00
Fabien Meghazi aa0a6afcb5 [IMP] Do not display title on dashboards
Process view should be fixed in order to honor flags.display_title

bzr revid: fme@openerp.com-20111205115746-mnqteouxby3ig827
2011-12-05 12:57:46 +01:00
Christophe Simonis 199e42c673 [FIX] by popular demand, warnings are not sticky anymore
bzr revid: chs@openerp.com-20111205112003-3j6fbtvgcuhhf7jg
2011-12-05 12:20:03 +01:00
Xavier Morel 34b8c8f4a6 [FIX] right-align number columns in group headers
lp bug: https://launchpad.net/bugs/900204 fixed

bzr revid: xmo@openerp.com-20111205110647-jnzk2hppavgbhpa0
2011-12-05 12:06:47 +01:00