Commit Graph
4811 Commits
Author SHA1 Message Date
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
Vidhin Mehta (OpenERP) 9ee2c1d66c [fix]disable create button.
lp bug: https://launchpad.net/bugs/900805 fixed

bzr revid: vme@tinyerp.com-20111207073045-67n2zaizvyulu1lp
2011-12-07 13:00:45 +05:30
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 7712b81bf1 [FIX] py.js tokenizer: numbers can have a dot in them
lp bug: https://launchpad.net/bugs/900699 fixed

bzr revid: xmo@openerp.com-20111206135045-df4e3pzzubpwr6l9
2011-12-06 14:50:45 +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
vishmita 12296a03e4 [FIX]Readonly char fields should be grey.
lp bug: https://launchpad.net/bugs/899076 fixed

bzr revid: vja@vja-desktop-20111206104128-1xrurdtr6qyoybq4
2011-12-06 16:11:28 +05:30
vishmita edce20b032 [FIX]Readonly char fields should be grey.
lp bug: https://launchpad.net/bugs/899076 fixed

bzr revid: vja@vja-desktop-20111206104128-pepiy3f7wy2xipmp
2011-12-06 16:11:28 +05:30
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
Fabien Meghazi 8aadbe5288 [IMP] Disable dirty form check until page view and buttons refactoring is done
bzr revid: fme@openerp.com-20111205094838-lddbf0tv64e8rxn1
2011-12-05 10:48:38 +01:00
Fabien Meghazi 06e9cc9fb5 [FIX] On new record, FormView shall apply on_changes to fields using same order as defined in view
bzr revid: fme@openerp.com-20111201155029-bi4zjgvwkt7gjapy
2011-12-01 16:50:29 +01:00
Fabien Meghazi 5ddb1549d5 [IMP] Dataset#get_id_index returns null instead of -1 when no record found
In order to pair with convention on Dataset#index === null for creation mode

bzr revid: fme@openerp.com-20111201142049-xqndd22l7pncfz0j
2011-12-01 15:20:49 +01:00
Fabien Meghazi b29b6f31a5 [IMP] Use type coercion in Dataset#select_id
bzr revid: fme@openerp.com-20111201140831-dth7rx1yny23427c
2011-12-01 15:08:31 +01:00
Roberto López López (OpenERP) 04ce8687aa [ADD] cleanup JS calls/functions for the new page view
bzr revid: rlo@openerp.com-20111201122233-6bh2zilnixvz7m2r
2011-12-01 13:22:33 +01:00
Xavier Morel 00ee3a8ba0 [IMP] move sections of import_result around to make flow clearer
bzr revid: xmo@openerp.com-20111201110140-ozkrhoxt0ug5qcnj
2011-12-01 12:01:40 +01:00
Xavier Morel a724dbfd1f [REM] misleading (and incorrect) validation message after import failure due to server error
lp bug: https://launchpad.net/bugs/898547 fixed

bzr revid: xmo@openerp.com-20111201110007-sy3fj347ga7pj7d8
2011-12-01 12:00:07 +01:00
Xavier Morel 19d9cc0481 [FIX] list should go back to first page on new search
lp bug: https://launchpad.net/bugs/898546 fixed

bzr revid: xmo@openerp.com-20111201104233-kpkywab12mqbkzmu
2011-12-01 11:42:33 +01:00
Xavier Morel 0ba393d309 [FIX] prevent line-wrapping of labels in search view when browser window too small
lp bug: https://launchpad.net/bugs/898539 fixed

bzr revid: xmo@openerp.com-20111201094611-dmzfrn95o5qv0bk5
2011-12-01 10:46:11 +01:00
Fabien Meghazi 33914ef1ca [IMP] Fix m2o widget icon margin
bzr revid: fme@openerp.com-20111201090035-xgttjcn403eb1ghk
2011-12-01 10:00:35 +01:00
Xavier Morel e1350e9847 [IMP] client looks
bzr revid: xmo@openerp.com-20111201085457-pqejp3mgopwf7yxy
2011-12-01 09:54:57 +01:00
Xavier Morel 9a373a8c8a [IMP] use optgroups in searchview commands dropdown: cleaner look
bzr revid: xmo@openerp.com-20111130164555-ks7qfvfhv7rca4rg
2011-11-30 17:45:55 +01:00
Xavier Morel 70b2384215 [FIX] default alignment of paragraphs
lp bug: https://launchpad.net/bugs/898193 fixed

bzr revid: xmo@openerp.com-20111130155534-xzgq8tkg0zhyjceg
2011-11-30 16:55:34 +01:00
Antoine Huvelle 908c25f87a [IMP] changes in checkbox padding
bzr revid: ahu@openerp.com-20111130143749-apkoxrneci57mnnj
2011-11-30 15:37:49 +01:00
Antoine Huvelle 1525379a63 [IMP] minimizing menu font size
bzr revid: ahu@openerp.com-20111130141327-533b1tay8b0493h8
2011-11-30 15:13:27 +01:00
Antoine Huvelle a103f44748 [IMP] css on list view header, changes in process.css for the small icon
bzr revid: ahu@openerp.com-20111130135448-yuszw4ejewvd0ai8
2011-11-30 14:54:48 +01:00
Fabien Meghazi 9e965230f6 [IMP] Include star shortcut in the view title h2 element
bzr revid: fme@openerp.com-20111130132543-fcl4avnrmpryaryt
2011-11-30 14:25:43 +01:00
Fabien Meghazi b552ff1991 [IMP] Seperate menu tips from action view manager's content
bzr revid: fme@openerp.com-20111130131154-cu9hrcxyjvw15wnc
2011-11-30 14:11:54 +01:00
Xavier Morel 31880bd354 [REM] buggy webneko
bzr revid: xmo@openerp.com-20111130125602-yyiymjkyg062fus7
2011-11-30 13:56:02 +01:00
Antoine Huvelle 4ceed8ea6b ci before merge
bzr revid: ahu@openerp.com-20111130102811-87venjx5ez3d46hp
2011-11-30 11:28:11 +01:00
Antoine Huvelle 502ce13561 resolving kanban.css
bzr revid: ahu@openerp.com-20111130102450-j82xrxm70j8x3msf
2011-11-30 11:24:50 +01:00
Xavier Morel 5f9c91621b [IMP] add some tests to format's intersperse (from corresponding server tests)
bzr revid: xmo@openerp.com-20111130100347-8jd8nugnjgtj12oj
2011-11-30 11:03:47 +01:00
Fabien Meghazi a6a069a5db [FIX] QWeb inheritance broken in MSIE (8, 9, 10), client does not work at all
Could not test on IE 7 neither IE 10
IE 8 still crashes but for another error

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

bzr revid: fme@openerp.com-20111129232025-b49gr4k2ngnqahbt
2011-11-30 00:20:25 +01:00
Roberto López López (OpenERP) a9a4f65dd3 [ADD] page view template split out from form template
bzr revid: rlo@openerp.com-20111129145810-5l47j142zrn1ki50
2011-11-29 15:58:10 +01:00
Antoine Huvelle da84ac388d ci before merge
bzr revid: ahu@openerp.com-20111129144305-98tbd9ur7ksk37n9
2011-11-29 15:43:05 +01:00
Roberto López López (OpenERP) 5b0783dd7a [ADD] page view split out from form view
bzr revid: rlo@openerp.com-20111129143911-ac4ptj0nh2nsbdqo
2011-11-29 15:39:11 +01:00