Commit Graph
29965 Commits
Author SHA1 Message Date
Xavier Morel fcc0a982f5 [FIX] form attachments: don't call dataset/search_read directly
bzr revid: xmo@openerp.com-20110624133459-3kiiik9ffbtcibew
2011-06-24 15:34:59 +02:00
Xavier Morel 38d14bf4e9 [FIX] gantt: don't use dataset/search_read directly
bzr revid: xmo@openerp.com-20110624133432-rkcn76k9qvp9w0rm
2011-06-24 15:34:32 +02:00
Xavier Morel 8da98ef597 [FIX] mobile client: don't use dataset/search_read directly
bzr revid: xmo@openerp.com-20110624133305-jvl60ple1cqghn0d
2011-06-24 15:33:05 +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
Xavier Morel 1e0fc68cad [IMP] rpc search_read and internal managment of DataSetSearch.read_slice to better handle pagination
* /base/dataset/search_read now returns a dict of {ids, records} where ids are *not* paginated and is an ordered sequence of all the ids matching the unpaginated search criteria (domain, context, sort)
    records is the old toplevel result: an ordered, paginated sequence of the records read (with fields correctly selected and everything)
* Removed context param to search_read since context comes from request object

bzr revid: xmo@openerp.com-20110622145559-3r2jszyddvbsz3hq
2011-06-22 16:55:59 +02:00
Fabien Meghazi 6e40e0aaa1 [FIX] Form view does not send back untouched fields with default value when saving record
bzr revid: fme@openerp.com-20110622155943-ex7p9a97fkhdaxio
2011-06-22 17:59:43 +02:00
Fabien Meghazi cbf9300f23 [IMP] Improved CrashManager
bzr revid: fme@openerp.com-20110622145757-52ffxs6cj8m0jpnb
2011-06-22 16:57:57 +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 2cbb2fe36c [IMP] QWeb2 t-js now handles more than one child
bzr revid: fme@openerp.com-20110622143805-qryluomj7w4l3s5m
2011-06-22 16:38:05 +02:00
Vo Minh Thu 0e6668a391 [MERGE] ir_model_data unlinking does not use _unlink anymore, clears caches.
bzr revid: vmt@openerp.com-20110622135344-i4u23z22binbq8h1
2011-06-22 15:53:44 +02:00
Fabien Meghazi 19aa4e05c2 [IMP] In ViewManager, do not instanciate search view when action.search_view == false
bzr revid: fme@openerp.com-20110622134320-ejkh13tbyhsd7wce
2011-06-22 15:43:20 +02:00
Fabien Meghazi 94761577b4 [IMP] Improved fields focus
bzr revid: fme@openerp.com-20110622122542-ji3zt1fy9hc3qwgk
2011-06-22 14:25:42 +02:00
Fabien Meghazi f1eb252cf3 [ADD] Added openerp.base.json_node_to_xml for debugging purpose (might be usefull for xml view editor)
bzr revid: fme@openerp.com-20110622111129-qn5r1v7da6exfkfd
2011-06-22 13:11:29 +02:00
Xavier Morel d2e6fed86e [FIX] When using return on an action button, triggers both click and keyup, 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-20110622110946-zcofe237nkglu8w1
2011-06-22 13:09:46 +02:00
Xavier Morel c0e985352c [FIX] form's attachments loading so it goes through DataSetSearch instead of calling search_read directly
bzr revid: xmo@openerp.com-20110622110026-s7t7kf7mhaamhc77
2011-06-22 13:00:26 +02:00
Xavier Morel ec24a587a7 [FIX] gantt so it goes through DataSetSearch instead of calling search_read directly
bzr revid: xmo@openerp.com-20110622105920-gl0dyx8tkaau0qxq
2011-06-22 12:59:20 +02:00
Xavier Morel 121f55facf [FIX] mobile so it goes through DataSetSearch instead of calling search_read directly
bzr revid: xmo@openerp.com-20110622105739-5cpe77ptruvkthkq
2011-06-22 12:57:39 +02:00
Fabien Meghazi 40e22911a5 [FIX] QWeb2 did not escaped quotes in attributes
bzr revid: fme@openerp.com-20110622100615-v93dcg2hshtvdc98
2011-06-22 12:06:15 +02:00
Xavier Morel a8355d54d7 [FIX] When using return on an action button, triggers both click and keyup, 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-21 17:57:05 +02:00
Luc De Meyer 6dd5f3bc5e [FIX] account: residual amount need to be recomputed on change of move_id
bzr revid: qdp-launchpad@openerp.com-20110621143909-na6ouvjvey3nacir
2011-06-21 16:39:09 +02:00
Fabien Meghazi c57a3e0d98 [FIX] Fixed active_is in context for dialog actions
bzr revid: fme@openerp.com-20110621143804-b51tp8n0a393oixi
2011-06-21 16:38:04 +02:00
niv-openerp 74e3e05763 [imp] small css improvement
bzr revid: nicolas.vanhoren@openerp.com-20110621141419-8hdegu5ob3uh1w3y
2011-06-21 16:14:19 +02:00
niv-openerp ee1970c2da [imp] small improvement to advanced filters
bzr revid: nicolas.vanhoren@openerp.com-20110621141107-m7xcywalskoujsq0
2011-06-21 16:11:07 +02:00
niv-openerp 04121f8b03 [imp] small improvement to advanced filters
bzr revid: nicolas.vanhoren@openerp.com-20110621140423-efbxmrjuwlu8piy1
2011-06-21 16:04:23 +02:00
niv-openerp 3cb34f3f85 [imp] small improvements to advanced filters
bzr revid: nicolas.vanhoren@openerp.com-20110621130501-0f1rkr25vv86v8gq
2011-06-21 15:05:01 +02:00
niv-openerp 4e9834f4e3 [imp] small improvements to advanced filters
bzr revid: nicolas.vanhoren@openerp.com-20110621125317-0s7cfk7q8jkflmne
2011-06-21 14:53:17 +02:00
Quentin (OpenERP) 016eff262b [FIX] account: opening entries didn't bring forward the amount in currency when closing a fiscalyear. The centralisation had to take care on that too.
lp bug: https://launchpad.net/bugs/736890 fixed

bzr revid: qdp-launchpad@openerp.com-20110621125248-xec0ogl2v1hwxsmo
2011-06-21 14:52:48 +02:00
Fabien Meghazi 884aaa8607 [FIX] Fixed selection widget. Wrongly select first option when value is false
bzr revid: fme@openerp.com-20110621124116-rh6pv2a1v2de186q
2011-06-21 14:41:16 +02:00
Fabien Meghazi f90c073f23 [IMP] Use CompondContext for button actions
bzr revid: fme@openerp.com-20110621123120-y2kucare2kes52ac
2011-06-21 14:31:20 +02:00
noz (OpenERP) 76db3f3870 [FIX] Just corrected spelling.
bzr revid: noz@tinyerp.com-20110621121926-4b6fhety4r2p1u2l
2011-06-21 17:49:26 +05:30
Fabien Meghazi a47c69c873 [IMP] Set flags for dialog actions
bzr revid: fme@openerp.com-20110621121116-uvaasm0c01devhrg
2011-06-21 14:11:16 +02:00
Fabien Meghazi 8e20af0331 [IMP] Improved CrashManager
bzr revid: fme@openerp.com-20110621121002-bqcsuzdfncyb1v24
2011-06-21 14:10:02 +02:00
Fabien Meghazi 41716a1516 [IMP] Improved Dialog controller
bzr revid: fme@openerp.com-20110621120750-2fo680iuqrzvjcpk
2011-06-21 14:07:50 +02:00
Fabien Meghazi aac4205519 [ADD] Added warning image
bzr revid: fme@openerp.com-20110621120351-o4kfgaozg4qrmzck
2011-06-21 14:03:51 +02:00
Fabien Meghazi 1399d19e3e [FIX] Reload record in form view on_created and on_saved
bzr revid: fme@openerp.com-20110621102246-91w528ppy8jf4bmi
2011-06-21 12:22:46 +02:00
Xavier Morel 7d9263a85c [IMP] converting values to strings with (new String) is 10~20% slower than using just String(). Switch Qweb.html_escape to String()
bzr revid: xmo@openerp.com-20110621091836-5cnjwac3m3n12380
2011-06-21 11:18:36 +02:00
Xavier Morel 6371d8f840 [IMP] remove explicit jquery conversion/parsing during list rendering, wastes time for nothing as .append() can handle taking strings as input directly
bzr revid: xmo@openerp.com-20110621091529-rx1pah6y5j3gibdt
2011-06-21 11:15:29 +02:00
Xavier Morel 65828ae0a1 [IMP] slightly improve handling of nonliterals
TODO: Should non_literal_decoder really call itself recursively like that?
TODO: tests for compound stuff

bzr revid: xmo@openerp.com-20110621084504-6cbkt6zd0rexfng8
2011-06-21 10:45:04 +02:00
Fabien Meghazi 099c8f4442 [IMP] Improved listview button's styling
bzr revid: fme@openerp.com-20110621081846-inwoqep0ltubixt8
2011-06-21 10:18:46 +02:00
Quentin (OpenERP) 9be905bbb8 [FIX] account: treasury analysis compliancy for multi company environments
bzr revid: qdp-launchpad@openerp.com-20110618011547-bcxm1m1gu56xyok7
2011-06-18 03:15:47 +02:00
Launchpad Translations on behalf of openerp 154ee1ca4d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110621043725-4i5mlfx0gnvi6ih8
2011-06-21 04:37:25 +00:00
Fabien Meghazi d01e7d033c [FIX] Create new record in form view when dataset index is 0 and has empty ids list.
This fixes problems for wizards and when switching to form view when dataset is empty

bzr revid: fme@openerp.com-20110620182641-u5vmyb5za7wvpefq
2011-06-20 20:26:41 +02:00
Fabien Meghazi f4c96f1594 [ADD] Added default_focus support for fields
bzr revid: fme@openerp.com-20110620182549-avpdb4ohdlhauwvm
2011-06-20 20:25:49 +02:00