Commit Graph

33472 Commits

Author SHA1 Message Date
Vo Minh Thu b8d25dc2b8 [FIX] openerp-server: forgot to remove the utf-8 quote as stated on the merge prop by xrg.
bzr revid: vmt@openerp.com-20110826134311-446b2gwkuyy5i1r1
2011-08-26 15:43:11 +02:00
Vo Minh Thu 4253a5f798 [MERGE] openerp-server is rewritten in a slightly better way.
Doing so, it is now not possible to both start the server and test a YAML file.
That is, testing a YAML file is similar in the translation import/export options
and does not start the server.

bzr revid: vmt@openerp.com-20110826134013-sfnlowg5xuhqxet2
2011-08-26 15:40:13 +02:00
Vo Minh Thu 2a3fe9819d [REF] openerp-server: separated the --test-file mechanism from the main code path.
bzr revid: vmt@openerp.com-20110826133301-8y7intt7vhsg5gm9
2011-08-26 15:33:01 +02:00
niv-openerp d692a02d5b [imp] fixed related behavior for calendar
bzr revid: nicolas.vanhoren@openerp.com-20110826133113-7glw38cszv5pwdqw
2011-08-26 15:31:13 +02:00
niv-openerp 7a9ff57a0e [imp] made related work with list view too
bzr revid: nicolas.vanhoren@openerp.com-20110826132835-ex26y5hyti3acgzk
2011-08-26 15:28:35 +02:00
niv-openerp a21f3c6686 [imp] make related work in form view and m2o
bzr revid: nicolas.vanhoren@openerp.com-20110826131319-qzyrv7ypmv313jgj
2011-08-26 15:13:19 +02:00
niv-openerp a703147436 [imp] made related work from form view
bzr revid: nicolas.vanhoren@openerp.com-20110826130335-fjt0c5f7s7ug2jdl
2011-08-26 15:03:35 +02:00
niv-openerp 393f146d77 [imp] make related in m2o work
bzr revid: nicolas.vanhoren@openerp.com-20110826124418-d2vw72ulgse75hgh
2011-08-26 14:44:18 +02:00
niv-openerp 8b7c33e964 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110826121825-izxe1qqtbv7exfvq
2011-08-26 14:18:25 +02:00
Xavier Morel 6bb5138f9f [FIX] bugs in shortcuts management: desync between backing collection and DOM, multiple click events on shortcut star
bzr revid: xmo@openerp.com-20110826084758-g08o83wi9eaj3vdl
2011-08-26 10:47:58 +02:00
niv-openerp 8cba17fcc6 [merge] many improvements for relateds
bzr revid: nicolas.vanhoren@openerp.com-20110825171642-lfmj3rrmfkt0lgex
2011-08-25 19:16:42 +02:00
niv-openerp de1fc9e3c5 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110825171612-ieb6ggnm5wugb50y
2011-08-25 19:16:12 +02:00
niv-openerp 27eff948b5 [imp] refactoring to put "req" instead or "request" everywhere in the server-side code
bzr revid: nicolas.vanhoren@openerp.com-20110825171451-9idtdh6dqcxrk873
2011-08-25 19:14:51 +02:00
niv-openerp fc766e16fe [imp] refactoring to allow correct context handling in clean_action
bzr revid: nicolas.vanhoren@openerp.com-20110825170410-omj3wrugqmslck8w
2011-08-25 19:04:10 +02:00
niv-openerp 9225fe4074 [imp] added display of relateds
bzr revid: nicolas.vanhoren@openerp.com-20110825151701-frwri4f5ge6rnsvf
2011-08-25 17:17:01 +02:00
Xavier Morel 238a0200a0 [FIX] when loading records in the listview, remember to set dataset index to 0 so switching to formview does not try to create a new record
lp bug: https://launchpad.net/bugs/816830 fixed

bzr revid: xmo@openerp.com-20110825145741-gduqtgrqw4bbuugl
2011-08-25 16:57:41 +02:00
Xavier Morel 3cfa390281 [IMP] attempt to fix height of widgets in home page
bzr revid: xmo@openerp.com-20110825144131-8xe3ukrdoph9p9v1
2011-08-25 16:41:31 +02:00
niv-openerp 2ca0749fd5 [imp] made m2o context menu even more lazy loading
bzr revid: nicolas.vanhoren@openerp.com-20110825143745-lqii7wov08s5ipbp
2011-08-25 16:37:45 +02:00
niv-openerp d8c48d874a [imp] made the context menu in m2o lazy loads
bzr revid: nicolas.vanhoren@openerp.com-20110825142126-ozmlaopwzhh5xlju
2011-08-25 16:21:26 +02:00
Xavier Morel bd8c79a4c4 [FIX] not modifying the dataset's state is good and so is not breaking datagroup dispatching, but it would still be a good idea to not forget the dataset's content en route, myself
bzr revid: xmo@openerp.com-20110825132456-0wmhnrhmjszn4ce2
2011-08-25 15:24:56 +02:00
Xavier Morel b8cd28fb35 [FIX] widgets client action handler: one action per widget
bzr revid: xmo@openerp.com-20110825123445-ayhaeipasl4imvqt
2011-08-25 14:34:45 +02:00
Xavier Morel b5a429d008 [FIX] fnct_inv in client actions params, fix docstring for fnct_inv (fnct_inv only takes a single record id, not a sequence of ids)
bzr revid: xmo@openerp.com-20110825123049-bmvebm86gqgr6w43
2011-08-25 14:30:49 +02:00
niv-openerp 93aa853ae6 [imp] changed format/parse functions for dates to use date.js format instead of the openerp one
bzr revid: nicolas.vanhoren@openerp.com-20110825121753-w3acs2fhbwm157a6
2011-08-25 14:17:53 +02:00
niv-openerp a5bb1a265b [fix] small bug with dates localization
bzr revid: nicolas.vanhoren@openerp.com-20110825121051-x86pjeyfnnb65ucr
2011-08-25 14:10:51 +02:00
Xavier Morel 259892f837 [FIX] selector for config overview widget: widget root has moved, .oe-dashboard-config-overview is now on this. so don't include it
bzr revid: xmo@openerp.com-20110825103336-nwyybou1hghaudud
2011-08-25 12:33:36 +02:00
Xavier Morel 5864a23352 [REM] leftover debugging code
bzr revid: xmo@openerp.com-20110825102756-b3d8jf7yud0m98ol
2011-08-25 12:27:56 +02:00
Xavier Morel 455928127f [FIX] safari/javascriptcore blows up on 'super' because it thinks it's a keyword
bzr revid: xmo@openerp.com-20110825100643-k7nbcla8h38siozr
2011-08-25 12:06:43 +02:00
Fabien Meghazi 3da1145220 [IMP] Improved form's datetime widget so the content is always visible even when view size is shrinked down
bzr revid: fme@openerp.com-20110825094806-hfiagqp54gf9rzha
2011-08-25 11:48:06 +02:00
Fabien Meghazi 6e7a9a1a3c [IMP] Form fields now uses niv's parse/format methods
bzr revid: fme@openerp.com-20110825094212-31l90vq66riiabl4
2011-08-25 11:42:12 +02:00
Xavier Morel d2da68ad8b [FIX] actually fix race condition on listview init: incorrect on_mode_switch override in xmo@openerp.com-20110816123510-gcx0dk8b2sgox5oi did not propagate primise from ViewManager's on_mode_switch
bzr revid: xmo@openerp.com-20110825082221-tasmo3je0wu4iw6h
2011-08-25 10:22:21 +02:00
Xavier Morel de955d0983 [REV] xmo@openerp.com-20110824131606-yokgoe3dz9ltaz2l, has nothing to do with the issue and does not actually fix it (just fudges some timing so it happens slightly less often)
bzr revid: xmo@openerp.com-20110825081833-a1vbcdm59mrzf2d0
2011-08-25 10:18:33 +02:00
Antony Lesuisse c8bb3c1ea5 [IMP] merge add company_registry, but use a button instead of onchange to generate the footer
bzr revid: al@openerp.com-20110824234829-10lvn7cs0uuxaty4
2011-08-25 01:48:29 +02:00
Vo Minh Thu 764de99262 [IMP] res_company/res_user: removed unused methods _get_child_ids/company_get.
bzr revid: vmt@openerp.com-20110824155723-6wk2v8rb1gekbavv
2011-08-24 17:57:23 +02:00
Fabien Meghazi ffeff63fb6 [ADD] Translate dialog (WIP)
bzr revid: fme@openerp.com-20110824151357-nln9mnkw13uyng32
2011-08-24 17:13:57 +02:00
Xavier Morel 88200c8bbf [IMP] add docstring to openerp.base.search.DateTimeField
bzr revid: xmo@openerp.com-20110824145647-h4mbaz4sjjjccacv
2011-08-24 16:56:47 +02:00
Xavier Morel 04cb566ad9 [IMP] datetime search field: use date widget, make field's default domain span the whole day (using range)
search API improvement: Field gains a make_domain method, called by get_domain to build the default domain for the field.

make_domain is called with the field's name, operator and current values (fully computed), the default implementation is to just shove them all into a domain.

This lets fields customize the default domain for the field without having to reimplement (or breaking) the filter_domain handling

bzr revid: xmo@openerp.com-20110824145205-2wnig9duebja9jrk
2011-08-24 16:52:05 +02:00
Xavier Morel 777857b269 [FIX] weird race condition on listview init: in some cases, would not wait for the initial view loading before letting the viewmanager launch a search, making initial load overwrite search ending with an empty list
bzr revid: xmo@openerp.com-20110824131606-yokgoe3dz9ltaz2l
2011-08-24 15:16:06 +02:00
Xavier Morel 6753f639d1 [ADD] on_write, dix some bugs with listview
bzr revid: xmo@openerp.com-20110824123029-7hyaf0eyxffxui7e
2011-08-24 14:30:29 +02:00
Xavier Morel a0486acd74 [FIX] some more usages of indexes in list and list edition (should now be 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 14:22:51 +02:00
Xavier Morel 2afcf2130b [ADD] pluck method to collection
bzr revid: xmo@openerp.com-20110824122124-xr4g92x6jlw85rbg
2011-08-24 14:21:24 +02:00
Xavier Morel ae4d1d5e3b [IMP] to maintain correct synchro, listview should avoid relying on indexes as much as possible. Get rid on indexes on rows, and of List.row_position
bzr revid: xmo@openerp.com-20110824085303-6h3wggzynpic0mcz
2011-08-24 10:53:03 +02:00
Xavier Morel 00a7458bc4 [IMP] remember to insert the relevant record ids into the dataset if they're not there
bzr revid: xmo@openerp.com-20110823144235-g09rkurd1ndrrkme
2011-08-23 16:42:35 +02:00
Xavier Morel 37643a0909 [ADD] basics of on_write, split ListView.reload_record(index) in 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-23 16:13:00 +02:00
Vo Minh Thu 180ffb18a1 [REF] openerp-server: streamlining startup script.
bzr revid: vmt@openerp.com-20110823103343-rvy2zkre8bo9cq6g
2011-08-23 12:33:43 +02:00
Xavier Morel ea55848932 [IMP] significant refactoring of listview internals, should lead to lower desyncs long run though it may still be a bit buggy
bzr revid: xmo@openerp.com-20110823091303-vzlaq9mppioswn74
2011-08-23 11:13:03 +02:00
Vidhin Mehta (OpenERP) 6815ad29a8 [merge]Merge trunk upto rev no 849.
bzr revid: vme@tinyerp.com-20110823091043-n044jstpagjbgyfm
2011-08-23 14:40:43 +05:30
Vidhin Mehta (OpenERP) a97bb0476c [fix]Optimize code in add event
bzr revid: vme@tinyerp.com-20110823090121-gk2iayz1eavjwdfg
2011-08-23 14:31:21 +05:30
Xavier Morel de888e623e [MERGE] trunk updates again, to get dates fixing
bzr revid: xmo@openerp.com-20110823075029-ahsdopldivaz0s60
2011-08-23 09:50:29 +02:00
Launchpad Translations on behalf of openerp eba378a4d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110823050426-2mnoc0yg5w6nzs0c
2011-08-23 05:04:26 +00:00
Fabien Pinckaers ae52f731bb merge
bzr revid: fp@tinyerp.com-20110822173128-52ax9zpq0rm83o9o
2011-08-22 19:31:28 +02:00