Commit Graph

38636 Commits

Author SHA1 Message Date
Vo Minh Thu 330316672f [IMP] Clearer use of update_module arg.
- update_module was defined as config[init] or config[update]
- this means it is a mutable dictionary
- the code testing update_module is actually mutating
config[init] and config[update]...
- now update_module is really a True or False value.

bzr revid: vmt@openerp.com-20111117100608-0n8o99slgk42kiiv
2011-11-17 11:06:08 +01:00
Vo Minh Thu 9e225c7c1e [IMP] check the -d option is also provided when using --run-tests.
bzr revid: vmt@openerp.com-20111116121142-bxahffcr7diseoiy
2011-11-16 13:11:42 +01:00
Vo Minh Thu 6acc5a157d [IMP] Moved the tests directory inside the openerp module, added --run-tests command-line argument.
bzr revid: vmt@openerp.com-20111115163843-djq6hybp24lk9f5e
2011-11-15 17:38:43 +01:00
Xavier Morel 2b7a072a3e [IMP] orm: make creation of dict from key names (with constant value) clearer
also only generate False values for float and integer fields, since they're the only aggregated values in the first place

bzr revid: xmo@openerp.com-20111115114527-t92a37kdw4yqqs4p
2011-11-15 12:45:27 +01:00
Xavier Morel e536b4ace8 [FIX] handling of groups with length 0 in ContainerDataGroup's group descriptor munger
For a group with a ${field}_count of 0, code would fallback on __count
which does not exist -> would try to set group.length to `undefined`
which leads to the property being removed from the result, blowing up
the call to `$('<td>').text(group.length)` in the listview (jQuery's
.text() apparently does not like getting `undefined` as its
parameter... who knew?)

Also make `openable` clearer, and improve style of listview in case of
an empty group (openable but length 0): remove the arrow on the left
(but leave the indent, otherwise it's ugly).

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

bzr revid: xmo@openerp.com-20111115112906-e87sf40tgr8goqps
2011-11-15 12:29:06 +01:00
Xavier Morel f6b0482130 [FIX] add active_id, active_ids and active_model to context send when fetching m2o widget values in forms
lp bug: https://launchpad.net/bugs/878189 fixed

bzr revid: xmo@openerp.com-20111115105809-phttoirkmq4rzd1w
2011-11-15 11:58:09 +01:00
Xavier Morel 1e38e13907 [FIX] missing task_id field in project.issue tree views, results in domain evaluation errors when trying to hide progressbar field
lp bug: https://launchpad.net/bugs/890204 fixed

bzr revid: xmo@openerp.com-20111115103927-rq7o7vmdgzdpigol
2011-11-15 11:39:27 +01:00
Quentin (OpenERP) 9133dee256 [MERGE] merged the branch of tpa with usability improvements in warehouse and purchase
bzr revid: qdp-launchpad@openerp.com-20111115095027-qtkca801aic2e4bf
2011-11-15 10:50:27 +01:00
Xavier Morel df134ee96c [FIX] inability to open database screen after going back to login
as well as synchronization of db list between database management and login screen (mostly on dropdb)

bzr revid: xmo@openerp.com-20111115094507-n0hs6ehjc1exua0u
2011-11-15 10:45:07 +01:00
Xavier Morel 92ba7b7fc3 [IMP] correctly synchronize dblist between db pane and login
bzr revid: xmo@openerp.com-20111115094250-8c2rq2le39oc3z7b
2011-11-15 10:42:50 +01:00
Xavier Morel 6810fd765c [FIX] only hide the database when going back to login, don't stop it entirely
the database widget seems to not restart correctly anymore, after being stopped

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

bzr revid: xmo@openerp.com-20111115093448-opym0msx0szvaeyt
2011-11-15 10:34:48 +01:00
Fabien Meghazi 90a73bb63c [FIX] Prevent jquery.tipTip to activate when source node is not attached to DOM anymore
bzr revid: fme@openerp.com-20111115091347-0wh7yf8df2y653d8
2011-11-15 10:13:47 +01:00
niv-openerp 210bbdb149 [imp] label correction in mobile web
bzr revid: nicolas.vanhoren@openerp.com-20111115071356-jj2p47qrn4scz5ef
2011-11-15 12:43:56 +05:30
Launchpad Translations on behalf of openerp 9f1a608819 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111115050635-o3qdhd1tvfpym3b6
2011-11-15 05:06:35 +00:00
Fabien Pinckaers 0b84257015 [IMP] remove print statement
bzr revid: fp@tinyerp.com-20111115002847-vz2y1q2d852mz6a6
2011-11-15 01:28:47 +01:00
Fabien Pinckaers aabd982834 fix
bzr revid: fp@tinyerp.com-20111115002424-wk9xvzde9580p0gt
2011-11-15 01:24:24 +01:00
Fabien Pinckaers b5ca9ed355 [IMP] remove print statement
bzr revid: fp@tinyerp.com-20111115002234-hw9cjahxh3zw8gk5
2011-11-15 01:22:34 +01:00
Fabien Pinckaers 45580c3f53 fix
bzr revid: fp@tinyerp.com-20111115001912-2uor8v5t33wuh1n8
2011-11-15 01:19:12 +01:00
Fabien Pinckaers b859fbd8c6 [IMP] removed print statement
bzr revid: fp@tinyerp.com-20111115001426-bpct1qa3xysjv3cq
2011-11-15 01:14:26 +01:00
Fabien Pinckaers df8756111e [FIX] automated tests
bzr revid: fp@tinyerp.com-20111115000156-0ihc6sfmt96hmw5s
2011-11-15 01:01:56 +01:00
Fabien Pinckaers a40c6ac9a8 [FIX] onchange
bzr revid: fp@tinyerp.com-20111114232422-4rgrmipbr7b4x7j0
2011-11-15 00:24:22 +01:00
Fabien Pinckaers 8f9e8ae433 [IMP] removing unused code
bzr revid: fp@tinyerp.com-20111114232311-l0e3donbreduqly5
2011-11-15 00:23:11 +01:00
Fabien Pinckaers 2235425822 [FIX] onchange yaml
bzr revid: fp@tinyerp.com-20111114224224-5kvzufap638l7nx1
2011-11-14 23:42:24 +01:00
Fabien Pinckaers db8da808ff fix
bzr revid: fp@tinyerp.com-20111114224213-asq9x16vsnhv33ap
2011-11-14 23:42:13 +01:00
Fabien Pinckaers a60ca41282 [FIX] misc onchange YAML bugs
bzr revid: fp@tinyerp.com-20111114223119-iy5u2hlkpvo4qknp
2011-11-14 23:31:19 +01:00
Fabien Pinckaers 99c26a209f [FIX] onchange computation on YAML
bzr revid: fp@tinyerp.com-20111114221954-urk25d05y65by96n
2011-11-14 23:19:54 +01:00
Fabien Pinckaers e155ff6d07 [IMP] yaml tests
bzr revid: fp@tinyerp.com-20111114221924-btl3n72he07nysvd
2011-11-14 23:19:24 +01:00
Fabien Pinckaers dd35a53e5b [FIX] some bad on_changes
bzr revid: fp@tinyerp.com-20111114220836-nlk4dly81ga0w0hd
2011-11-14 23:08:36 +01:00
Fabien Pinckaers 7d74398c57 [FIX] used field not in the object
bzr revid: fp@tinyerp.com-20111114213941-k8glvw58fzymx2er
2011-11-14 22:39:41 +01:00
Fabien Pinckaers 4d5fb290d7 [IMP] misc fixes related to on_changes and fields_view_get
bzr revid: fp@tinyerp.com-20111114213319-9sgjo9sy4sx1phd7
2011-11-14 22:33:19 +01:00
Fabien Pinckaers 8d7176a11e [IMP] Yaml scripts calls on_changes and fields_view_get by defaults
Very big change, this may emphasize some of the troubles, runbot can become red
  until we fix them all.

bzr revid: fp@tinyerp.com-20111114212627-5kdjxkws1lqm0c38
2011-11-14 22:26:27 +01:00
Fabien Meghazi 95c31ad01c [ADD] FormView: Added debug information as tooltips
bzr revid: fme@openerp.com-20111114205916-549at8roai7yrpjm
2011-11-14 21:59:16 +01:00
Fabien Meghazi 2bd2ef2cf3 [IMP] Keep domain and context source string in fields view get
bzr revid: fme@openerp.com-20111114205012-toweif7lkr54cv4e
2011-11-14 21:50:12 +01:00
Fabien Meghazi a9777f9598 [ADD] Added jQuery tipTip
bzr revid: fme@openerp.com-20111114204925-nsrkn93c3tizqzm8
2011-11-14 21:49:25 +01:00
Xavier Morel 76a02ead76 [FIX] support 'thousands' separator for floats
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114155332-3on98ot7o808z0gi
2011-11-14 16:53:32 +01:00
Xavier Morel 42c7cb86d9 [FIX] support 'thousands' separator for integers
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114154510-r6bdi22cyygh72ak
2011-11-14 16:45:10 +01:00
Xavier Morel 4aafc01a3c [ADD] function to insert 'thousands' separators
bzr revid: xmo@openerp.com-20111114153436-pj6vq6lamfrjpg7f
2011-11-14 16:34:36 +01:00
Vo Minh Thu 005d761e25 [MERGE] base_action_rule: make the pre_action be really a post_action, in both create and write cases.
bzr revid: vmt@openerp.com-20111114144142-vv7j8mkp8mltg31r
2011-11-14 15:41:42 +01:00
Xavier Morel 7094859be3 [REM] can't be arsed to fix the broken date and time parsing tests
bzr revid: xmo@openerp.com-20111114144120-2rctezb1x63fytnr
2011-11-14 15:41:20 +01:00
Quentin (OpenERP) 05d2862e94 [MERGE] lp: 876260
bzr revid: qdp-launchpad@openerp.com-20111114141447-82buq5hzgt17wqz2
2011-11-14 15:14:47 +01:00
Xavier Morel 550436f084 [FIX] correctly apply user's date and time formatting settings
lp bug: https://launchpad.net/bugs/886471 fixed

bzr revid: xmo@openerp.com-20111114140007-7nz0pz9zkhqkt3ga
2011-11-14 15:00:07 +01:00
Quentin (OpenERP) 16006b42e3 [MERGE] lp: 876260
bzr revid: qdp-launchpad@openerp.com-20111114134811-j3cnvn6mcle869or
2011-11-14 14:48:11 +01:00
Vo Minh Thu 6351290567 [MERGE] mail_message: add Sent button, use Received as default value (instead of Outgoing).
bzr revid: vmt@openerp.com-20111114134525-1u257ki64acuro44
2011-11-14 14:45:25 +01:00
Olivier Dony 899efda08d [FIX] project: demo data - date format in XML records must be ISO to make it locale-agnostic
bzr revid: odo@openerp.com-20111114134348-a0jiyhxbiu2sb30k
2011-11-14 14:43:48 +01:00
Vo Minh Thu ac062b01ce [FIX] Correctly named filter.
bzr revid: vmt@openerp.com-20111114131355-gb5espcup5yrigqx
2011-11-14 14:13:55 +01:00
Xavier Morel 266cbd3f88 [FIX] database restoration
Leftover CherryPy code (cherrypy's file wrapper —
cherrypy._cpreqbody.Part — gives access to the underlying data stream
via the `file` attribute, Werkzeug uses the `stream` attributes and
proxies all file methods through the FileStorage, just remove the
indirection)

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

bzr revid: xmo@openerp.com-20111114125106-zymon3zb4umlwhr2
2011-11-14 13:51:06 +01:00
MVA 6edf84e7bd [MERGE] lp: 869991
bzr revid: mva@openerp.com-20111114125033-uny1c5xbh4osid2w
2011-11-14 13:50:33 +01:00
Xavier Morel fc2050fef1 [IMP] search view: assert the view received from the fields_view_get is a search view
bzr revid: xmo@openerp.com-20111114123948-inqtk10u1xgk2gmg
2011-11-14 13:39:48 +01:00
Vo Minh Thu 894bf3422b [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20111114122727-x1j6drzejwh5hcj4
2011-11-14 13:27:27 +01:00
Fabien Pinckaers ba414a3349 miniimp
bzr revid: fp@tinyerp.com-20111114122410-38hg8x0tsmx3pnri
2011-11-14 13:24:10 +01:00