Fabien Meghazi
d1a5c72972
[FIX] Fixed remaining references to session.action_manager
...
bzr revid: fme@openerp.com-20110810103836-li6e7kx8tdk52iil
2011-08-10 12:38:36 +02:00
Xavier Morel
13710dfca9
[IMP] rename 'dates.js' to 'formats.js', move data-formatting for cells from list to formats so treeview can rely on them
...
bzr revid: xmo@openerp.com-20110809153021-k1wop0j8qjp6rp49
2011-08-09 17:30:21 +02:00
Fabien Meghazi
e0fdc7078b
[FIX] Fixed views options
...
bzr revid: fme@openerp.com-20110808173230-fdzbdeaegxpnszd1
2011-08-08 19:32:30 +02:00
Fabien Meghazi
1a9e157eb5
[FIX] Avoid creating sidebar each time the list view reloads itself
...
bzr revid: fme@openerp.com-20110808163900-qxowalfph0xeypmg
2011-08-08 18:39:00 +02:00
Fabien Meghazi
6322a565f5
[IMP] Added View#do_switch_view
...
[REM] Removed references to view_manager out of list view
bzr revid: fme@openerp.com-20110808144120-xlut0922rd61moxc
2011-08-08 16:41:20 +02:00
Xavier Morel
5e4ae7b2d8
[FIX] stuff al broke: removed parameters from FormView constructor, did not fix all callsites
...
bzr revid: xmo@openerp.com-20110803120607-arw69hc83rp0kq03
2011-08-03 14:06:07 +02:00
Xavier Morel
643f3116c9
[FIX] resequencing of rows during drag & drop
...
I don't even understand how it worked before as the terminal condition would really just blow up.
Also, redisplay resequenced rows
bzr revid: xmo@openerp.com-20110803113137-46ddhdail0d4m3ie
2011-08-03 13:31:37 +02:00
Fabien Meghazi
64922add3a
[IMP] Improve sidebar
...
bzr revid: fme@openerp.com-20110728151545-2fsy941wjznod4q8
2011-07-28 17:15:45 +02:00
Fabien Meghazi
30bca60907
[REM] Removed reference to view_manager.flags from views. The action flags are merged in View's options constructor argument so we shall not fetch them from view_manager anymore.
...
bzr revid: fme@openerp.com-20110727080319-nztgq4txu2tt6odq
2011-07-27 10:03:19 +02:00
Fabien Meghazi
d0234fa5dd
[IMP] new Sidebar controller
...
Now, the views are responsible of the management of their own sidebar.
There is one sidebar per view.
The viewmanager creates the divs for each sidebar (as it does for each view).
The new Sidebar controller allows custom section with their own controller.
bzr revid: fme@openerp.com-20110726210005-xyalvw764y2xhvte
2011-07-26 23:00:05 +02:00
Xavier Morel
9c8a2c33ab
[FIX] check that a value is a number before checking for isNaN: strings are NaN and so are objects
...
also alias 'record.value', so we don't have to go through the indirection 11 times
bzr revid: xmo@openerp.com-20110725141103-2ix5mhec6lk47en6
2011-07-25 16:11:03 +02:00
Xavier Morel
e29a5204f7
[FIX] NaN values being displayed in list footers (aggregated values)
...
bzr revid: xmo@openerp.com-20110725133553-bs4x2f747vdj1a02
2011-07-25 15:35:53 +02:00
Xavier Morel
4110cb0828
[IMP] re-enable min and max aggregation functions because why not
...
bzr revid: xmo@openerp.com-20110725104630-vs4wi5740340dtyj
2011-07-25 12:46:30 +02:00
Xavier Morel
05b9d6217f
[FIX] formatting of aggregated fields, formatting of floats in list view (use digits if available, otherwise default to 2)
...
bzr revid: xmo@openerp.com-20110725102949-z7nkuwyybuczazxy
2011-07-25 12:29:49 +02:00
Xavier Morel
6b9ba5d46e
[IMP] update list aggregates after button action called, in case action updated value in row
...
bzr revid: xmo@openerp.com-20110725091907-j0sucdkv0dq83nsf
2011-07-25 11:19:07 +02:00
Xavier Morel
2e9f2f138b
[IMP] update aggregates when deleting a record
...
bzr revid: xmo@openerp.com-20110725091506-h4u4kp3ut8h0a6vc
2011-07-25 11:15:06 +02:00
Xavier Morel
e92ea8a7ac
[ADD] resequencing of list rows
...
bzr revid: xmo@openerp.com-20110722150114-paufrw3vjt9n3uec
2011-07-22 17:01:14 +02:00
Antony Lesuisse
3a6863298b
[FIX] list test for sidebar
...
bzr revid: al@openerp.com-20110720092557-uz4n4ayl33q8eptc
2011-07-20 11:25:57 +02:00
Antony Lesuisse
77cfc62c8a
[FIX] controllers is family more fixes 7
...
bzr revid: al@openerp.com-20110718201211-r15tgbq0si49dlq9
2011-07-18 22:12:11 +02:00
Antony Lesuisse
077264c58f
controllers is family form fixes 3
...
bzr revid: al@openerp.com-20110718142610-5zoa1k4fzyprag9m
2011-07-18 16:26:10 +02:00
Antony Lesuisse
8f9bea5393
controllers is family form fixes 2
...
bzr revid: al@openerp.com-20110718135930-a23vdzjy4ch8ozeh
2011-07-18 15:59:30 +02:00
Antony Lesuisse
31a725f75c
Controller is now a family
...
bzr revid: al@openerp.com-20110718125422-x20k89dogbklgr4c
2011-07-18 14:54:22 +02:00
Antony Lesuisse
2decff7b21
controller move Class from base to controller
...
bzr revid: al@openerp.com-20110715141600-4tr536v7vfrv9tkk
2011-07-15 16:16:00 +02:00
Xavier Morel
b0e6f97abd
[FIX] table paginator and buttons look and layout in case of constrained horizontal space
...
bzr revid: xmo@openerp.com-20110715125044-kcrwluqrq952pqry
2011-07-15 14:50:44 +02:00
Xavier Morel
3496acfab4
[FIX] reintroduce little arrows indicating the current sorting orientation in list views
...
bzr revid: xmo@openerp.com-20110713111815-v0rhnt31vykx2xcu
2011-07-13 13:18:15 +02:00
Xavier Morel
d1209c847b
[FIX] sorting list views
...
lp bug: https://launchpad.net/bugs/809309 fixed
bzr revid: xmo@openerp.com-20110713103725-y9fnpp36z78bjbhn
2011-07-13 12:37:25 +02:00
Xavier Morel
9e0738b97d
[FIX] column visibility, due to removal of attribute computation and replacement with modifiers mapping
...
bzr revid: xmo@openerp.com-20110712143408-tv1wlyfolfj0qish
2011-07-12 16:34:08 +02:00
Xavier Morel
17d87a9599
[FIX] group titles should display 'Undefined' for false values, rather than 'false'
...
bzr revid: xmo@openerp.com-20110712141934-qk3zfckzh32b8xu1
2011-07-12 16:19:34 +02:00
Fabien Meghazi
595496206c
[IMP] Improved action buttons for wizards
...
bzr revid: fme@openerp.com-20110713142502-r9xzs6crfusu5ccl
2011-07-13 16:25:02 +02:00
Xavier Morel
9d2e29795e
[IMP] only compute invisible attrs/modifier in list view, as for non-editable lists we may be missing fields required to compute required and readonly
...
and it's not like the list view needs those anyway: the handling of required and readonly in editable lists is performed solely by the form view embedded in each row, the list itself does not care at all
bzr revid: xmo@openerp.com-20110712095459-l8hkm6d0vg1ynb07
2011-07-12 11:54:59 +02:00
Xavier Morel
8ac948f360
[FIX] explicitly pass a list of fields to read_group instead of False
...
read_group does not take inherited fields in its default list-of-fields-to-read, so if grouping on an inherited field it will blow up
conversely, read_group can not aggregate on inherited numerical fields, so if it reads *all* the columns (including inherited) it will try to aggregate on fields it's not reading and that's also going to blow up.
bzr revid: xmo@openerp.com-20110711113228-18mbcft9y2lf7ptm
2011-07-11 13:32:28 +02:00
Xavier Morel
5d2dc020ac
[IMP] add basic display for float_time and progress widget types
...
bzr revid: xmo@openerp.com-20110708143728-9mp6zh3a9rpvra17
2011-07-08 16:37:28 +02:00
Xavier Morel
f5b72b6bcb
[FIX] rendering of m2o selections after edition in editable lists
...
moved rendering of cell contents into JS to have more control (and simpler tests/dispatching. May also help the method getting JITed, with a bit o' luck)
bzr revid: xmo@openerp.com-20110708140655-lpbtriqto8tz2uxx
2011-07-08 16:06:55 +02:00
Fabien Meghazi
8c08d3841b
[REM] Removed use of attrs and replaced it with modifiers
...
bzr revid: fme@openerp.com-20110707142948-8fs7g42488usa3pd
2011-07-07 16:29:48 +02:00
Xavier Morel
f8c1e9819c
[IMP] row(s) removal in list views: don't reload the whole list, just drop the relevant (or not relevant anymore) rows
...
lp bug: https://launchpad.net/bugs/805550 fixed
bzr revid: xmo@openerp.com-20110707134843-vj1yrmcffsuuc0aa
2011-07-07 15:48:43 +02:00
Fabien Meghazi
f0f386e748
[REM] Removed use of attrs and replaced it with modifiers
...
Warning ! You need server Revision: 3497 revid:vmt@openerp.com-20110705122222-bhim9uft3l3sqee8
bzr revid: fme@openerp.com-20110707103740-4m6vrj18wfi2hacy
2011-07-07 12:37:40 +02:00
Xavier Morel
1847dbc017
[MERGE] list pagination branch
...
bzr revid: xmo@openerp.com-20110706083214-1thifexcz5pk0jih
2011-07-06 10:32:14 +02:00
niv-openerp
a8e6836f3c
[imp] refactoring related to the usage of dataset.context
...
bzr revid: nicolas.vanhoren@openerp.com-20110701115912-40hkax6c4s28quop
2011-07-01 13:59:12 +02:00
Xavier Morel
b309810e14
[IMP] make paginator work correctly on groups
...
bzr revid: xmo@openerp.com-20110624130713-65wt8r7cmzo4wdor
2011-06-24 15:07:13 +02:00
Xavier Morel
d567ba23ad
[ADD] display inactive pager on group title rows in grouped lists
...
bzr revid: xmo@openerp.com-20110624111339-2jh8gm8r2l33iifb
2011-06-24 13:13:39 +02:00
Xavier Morel
3b6d9c7886
[FIX] don't enable pagination on the main list in the case of grouped lists
...
bzr revid: xmo@openerp.com-20110623144306-mq31g5jbdqn2txcp
2011-06-23 16:43:06 +02:00
Xavier Morel
5f339ee830
[IMP] page size switcher for list views, fix handling and display of pagination in case of unlimited page size (limit = (0 | undefined | null))
...
bzr revid: xmo@openerp.com-20110623134920-i8rfy4ggcb7kt7h4
2011-06-23 15:49:20 +02:00
Xavier Morel
52a6119cb4
[ADD] list-level pagination on list views
...
bzr revid: xmo@openerp.com-20110623124641-kzvkmx7fxe0xwn6w
2011-06-23 14:46:41 +02:00
Xavier Morel
d530b966c9
[FIX] convert fixed ids in list view to classes (ids should either be generated or not used since each view can be instantiated several times in the same page)
...
bzr revid: xmo@openerp.com-20110623105404-baomtfarfflb5kd7
2011-06-23 12:54:04 +02:00
Xavier Morel
3099c30221
[IMP] move and rename ListView.List.get_fields_view: its actual role is to 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-23 12:50:02 +02:00
Xavier Morel
e8526ae9f1
[ADD] load lists paginated
...
bzr revid: xmo@openerp.com-20110622153626-zscyr6natsmvb726
2011-06-22 17:36:26 +02:00
niv-openerp
58291d4ab6
[imp] added unlink to dataset and list_view (currently just reloads the whole list)
...
bzr revid: nicolas.vanhoren@openerp.com-20110622144916-cst2ad1s0gtchlxi
2011-06-22 16:49:16 +02:00
Fabien Meghazi
6102406eea
[REM] Removed debug remains, sorry everyone
...
bzr revid: fme@openerp.com-20110630140817-65xvlcqia2b6m9xw
2011-06-30 16:08:17 +02:00
Fabien Meghazi
987b8f1e9f
[FIX] Need time & datetime modules for evaluation
...
bzr revid: fme@openerp.com-20110630095931-nysrcqz8666gafgb
2011-06-30 11:59:31 +02:00
Xavier Morel
fe062e1c6f
[IMP] use type void instead of null for jsdoc annotations
...
Void is not a real type, but neither is null (it's Null) and intellij whines that it does not understand null
bzr revid: xmo@openerp.com-20110629135849-9p1qyn9s6n32dnzv
2011-06-29 15:58:49 +02:00