Commit Graph

45298 Commits

Author SHA1 Message Date
Xavier Morel e7e7548869 [MERGE] new searchview
fp orders

bzr revid: xmo@openerp.com-20120406120250-dlwt0kvt0y1e2snr
2012-04-06 14:02:50 +02:00
Xavier Morel 233a72f850 [IMP] rename 'q' category of advanced filters to 'Advanced'
bzr revid: xmo@openerp.com-20120406115141-6qwitdq993a5h4lw
2012-04-06 13:51:41 +02:00
Xavier Morel bbd702c9cf [IMP] rename q filter category to Filter (temp)
bzr revid: xmo@openerp.com-20120406115026-tb7vqvkbwmp9odqr
2012-04-06 13:50:26 +02:00
Xavier Morel dee501948e [IMP] quick change (to better fix when facets are re-done): make all facets read-only
rco review feedback for essential fixes

bzr revid: xmo@openerp.com-20120406114633-mp0ws7n3d2cokddd
2012-04-06 13:46:33 +02:00
niv-openerp 73e143bc5b [fix] problem in login screen
bzr revid: nicolas.vanhoren@openerp.com-20120406100809-qlkramehw3gfyriu
2012-04-06 12:08:09 +02:00
niv-openerp 236d1d2f30 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120405162718-rbdyzsh3ssawcoe3
2012-04-05 18:27:18 +02:00
niv-openerp ca05331377 [imp] modified gantt to be used in a o2m
bzr revid: nicolas.vanhoren@openerp.com-20120405162131-d611z2jvefpaabnd
2012-04-05 18:21:31 +02:00
niv-openerp 298ef40999 [imp] modified kanban to be used in a o2m
bzr revid: nicolas.vanhoren@openerp.com-20120405161404-0czrls5qe9bk0hhf
2012-04-05 18:14:04 +02:00
niv-openerp 9834565c65 [imp] refactoring to allow easy usage of embedded view in any view
bzr revid: nicolas.vanhoren@openerp.com-20120405160315-vn2gawdesxuy53b3
2012-04-05 18:03:15 +02:00
niv-openerp 468a209408 [fix] css problem
bzr revid: nicolas.vanhoren@openerp.com-20120405154008-eptkw2f6p3mhyxwn
2012-04-05 17:40:08 +02:00
niv-openerp 2c1089220f [fix] corrected al's mistakes about jquery ui and css
bzr revid: nicolas.vanhoren@openerp.com-20120405152620-7xfam0z2h8slmd5g
2012-04-05 17:26:20 +02:00
niv-openerp 23a0f20255 [fix] remove debugger
bzr revid: nicolas.vanhoren@openerp.com-20120405151133-pb704111yxrao4s3
2012-04-05 17:11:33 +02:00
niv-openerp a79b771fcc [fix] possible problem in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120405145322-drzvg42ycfnjxzp4
2012-04-05 16:53:22 +02:00
Raphael Collet 3d01d57c06 [MERGE] branch trunk-v62_config: support for new config wizards
bzr revid: rco@openerp.com-20120405144731-f0ckc6bgf8p0ufe0
2012-04-05 16:47:31 +02:00
Raphael Collet 809fce7745 [MERGE] branch trunk-v62_config: new config wizards for sale, crm, purchase, stock, account, mrp, project
bzr revid: rco@openerp.com-20120405144643-4f6g9b1vryz8yeez
2012-04-05 16:46:43 +02:00
Raphael Collet 5078ffaeb4 [MERGE] branch trunk-v62_config: new config wizards
bzr revid: rco@openerp.com-20120405144458-mykpm9zk870fe3ge
2012-04-05 16:44:58 +02:00
niv-openerp f0d4dcd0ca [imp] lot of improvements in the m2o
bzr revid: nicolas.vanhoren@openerp.com-20120405144118-ua4a40soce65yrf9
2012-04-05 16:41:18 +02:00
niv-openerp 2c61f2437c [fix] forgot a debugger
bzr revid: nicolas.vanhoren@openerp.com-20120405132847-xk2chbs77sn5nwfo
2012-04-05 15:28:47 +02:00
niv-openerp 1f3e0888e6 [fix] small problem with m2o
bzr revid: nicolas.vanhoren@openerp.com-20120405131218-q13phc665nw0q3bk
2012-04-05 15:12:18 +02:00
niv-openerp 81cd91f56f [imp] cleaned some useless code
bzr revid: nicolas.vanhoren@openerp.com-20120405130840-x0t3vnknltrdccrr
2012-04-05 15:08:40 +02:00
niv-openerp 52677ac2d1 [imp] added tip when leaving a m2o without putting any value in it
bzr revid: nicolas.vanhoren@openerp.com-20120405124433-6i1bfmrwdbdducww
2012-04-05 14:44:33 +02:00
niv-openerp 0550a35458 [imp] removed context menu in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120405120718-53ffxqhh7iuyoxex
2012-04-05 14:07:18 +02:00
Xavier Morel cbc38a346d [FIX] test local eval_domain_and_context evaluator
bzr revid: xmo@openerp.com-20120405111033-fywl1hn1kmrg6aos
2012-04-05 13:10:33 +02:00
Raphael Collet 42536dfc74 [IMP] config wizards: open views with target 'inline'
bzr revid: rco@openerp.com-20120405102235-mw57wjnamwoglp3z
2012-04-05 12:22:35 +02:00
Raphael Collet e472bc2755 [IMP] views: configure display elements when action target is 'inline'
bzr revid: rco@openerp.com-20120405101823-q5ql9oma6vuf35hl
2012-04-05 12:18:23 +02:00
Xavier Morel 2698ac1720 [IMP] fold contexts, because why not
bzr revid: xmo@openerp.com-20120405095411-gxyx7pm2iec4mye7
2012-04-05 11:54:11 +02:00
Xavier Morel a029cf244f [FIX] in a compound context, context n+1 has all of its preceding siblings in its evaluation context
bzr revid: xmo@openerp.com-20120405095009-v2i1xg8gf6lvigjv
2012-04-05 11:50:09 +02:00
niv-openerp 6b8e4e0832 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120405081401-pmd3e12tzar3yubg
2012-04-05 10:14:01 +02:00
Raphael Collet 0e19c4d7d1 [IMP] res.config.settings: reopen the wizard menu after applying changes
bzr revid: rco@openerp.com-20120405074102-6x3bp5moqr9pen20
2012-04-05 09:41:02 +02:00
Xavier Morel 9678b25a9b [FIX] encoding issues when concatenating CSS or paths which may contain non-ascii
The concatenator tries to only work with bytes without ever wondering
what is in the byte bucket: files are read to `str`, concatenated with
`str` (via join) and returned as `str`, usually considered to be utf-8
encoded. It's the author's job to correctly encode files to utf-8.

So far so good.

On runbot, there's apparently an issue in some CSS files in some cases
on the runbot: `web_dir` finds itself to be typed `unicode` (because
it contains non-ascii characters? Not sure at all), as a result
`re.sub` will decode the corresponding file data when trying to inject
the dir as replacement and the CSS reader will return a `unicode`
object.

Then, when concat_files try to compute the checksum it will need bytes
thus re-encode everything using the default codec (ascii) and the
non-ascii character(s) will blow up the encoding with a
UnicodeEncodeError.

Solution:

* Assume CSS files can contain non-ascii characters (they can, and
  do), decode them using `utf-8` to get `unicode` strings in the CSS
  reader
* Inject web_dir as usual via replacement, this still yields a
  `unicode` object (a `str` web_dir will simply be decoded using the
  ASCII codec, a non-ascii web_dir should have been decoded to
  `unicode` using sys.getfilesystemencoding)
* Cleanly re-encode evrything to utf-8, so that the code outside the
  reader only ever manipulates 8-bit "byte" strings

bzr revid: xmo@openerp.com-20120405070711-vjyw8g4mge2goyik
2012-04-05 09:07:11 +02:00
Launchpad Translations on behalf of openerp 0634b27f7c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120404044121-394vbp6i7nu4yf2g
bzr revid: launchpad_translations_on_behalf_of_openerp-20120405044345-1akl9s0cao4bjyeb
2012-04-05 04:43:45 +00:00
Launchpad Translations on behalf of openerp d0a268c2b0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120404044052-zbygof5rr3i2vmzx
bzr revid: launchpad_translations_on_behalf_of_openerp-20120405044328-izsq6wp1cjk46ijb
2012-04-05 04:43:28 +00:00
Raphael Collet c3743bbdb8 [IMP] project.config.settings: remove field scrum
bzr revid: rco@openerp.com-20120404140232-8dyv15c1hp42vm3h
2012-04-04 16:02:32 +02:00
Raphael Collet 416375ba2b [IMP] product,mrp: move group_mrp_properties into module product, to add use on sale order lines
bzr revid: rco@openerp.com-20120404134731-3syvingajqrxgysg
2012-04-04 15:47:31 +02:00
Raphael Collet 2ce6626d12 [IMP] config wizards: add buttons Cancel and Apply on forms
bzr revid: rco@openerp.com-20120404133514-o37mcojlvc2pklnk
2012-04-04 15:35:14 +02:00
Raphael Collet 9f0d92229c [IMP] res.config.settings: remove auto-execute upon save, and reopen the menu Settings to refresh the menu
bzr revid: rco@openerp.com-20120404133417-c03iwqfndfocb6y4
2012-04-04 15:34:17 +02:00
Xavier Morel 239a118913 [FIX] compound domain and context's eval_context can be a compound itself, evaluate those if needs be
also fix tests html file for renames and extracts, and add a test case for complex non-literal evaluation contexts

bzr revid: xmo@openerp.com-20120404114830-a6416m2v7h8cyf08
2012-04-04 13:48:30 +02:00
Xavier Morel 2a8d78c88c [UP] py.js for Object and Array converters to py types
bzr revid: xmo@openerp.com-20120404114647-t81pw90940canfwg
2012-04-04 13:46:47 +02:00
Raphael Collet ba9ae5c6e7 [FIX] mrp: menu Manufacturing > Master Data > Work Centers restricted to group 'Manage Routings and Work Orders'
bzr revid: rco@openerp.com-20120404100144-edi31w7s56rajhhj
2012-04-04 12:01:44 +02:00
Raphael Collet 779fcf3f03 [FIX] stock: menu Stock > Traceability > Packs is restricted to group 'Manage Packaging'
bzr revid: rco@openerp.com-20120404095506-82d8hiipe288la3z
2012-04-04 11:55:06 +02:00
Raphael Collet 14402f6496 [FIX] stock: add group_locations on menu items Warehouse > Config > Warehouses, Locations
bzr revid: rco@openerp.com-20120404093741-qkhrzjiez5im0fe7
2012-04-04 11:37:41 +02:00
Raphael Collet ba1454149c [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups
bzr revid: rco@openerp.com-20120404090830-nteimn2kvz8nkk7h
2012-04-04 11:08:30 +02:00
Raphael Collet b36d9a0cfe [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups
bzr revid: rco@openerp.com-20120404090818-xqyfm5175eqj6i62
2012-04-04 11:08:18 +02:00
Raphael Collet c643a705a9 [FIX] purchase: fix test to use 'purchase.config.settings' instead of the defunct 'purchase.config.wizard'
bzr revid: rco@openerp.com-20120404084258-kdnfri1jn2ba9edn
2012-04-04 10:42:58 +02:00
Xavier Morel d70220631a [FIX] custom contexts and domains in search view fields
* Remove own_value hack, use compounds instead
* Correctly handle compounds evaluation contexts in test eval_domain_and_context js evaluator

bzr revid: xmo@openerp.com-20120404062727-r5eoaw73pjw1izk0
2012-04-04 08:27:27 +02:00
Thibault Delavallée f46845be7b [MERGE] Merged server branch holding the need action mechanism. eed action feature can be used by objects willing to be able to signal that an action is required on a particular record. If in the business logic an action must be performed by somebody, for instance validation by a manager, this mechanism allows to set a list of users asked to perform an action. Please refer to the documentation attached to this merge to find more details.
bzr revid: tde@openerp.com-20120403170630-nq0dc9zhjkyxxgrq
2012-04-03 19:06:30 +02:00
Thibault Delavallée cffec49785 [FIX] Propagated class name change
bzr revid: tde@openerp.com-20120403164127-5dy7ors0vm5u7zzi
2012-04-03 18:41:27 +02:00
Thibault Delavallée 1ba19a0f50 [FIX] Wrong class name
bzr revid: tde@openerp.com-20120403162916-lm58en1xu9zyv0co
2012-04-03 18:29:16 +02:00
Thibault Delavallée 90e1433157 [IMP] Removed unused import; added forgottent context to search.
bzr revid: tde@openerp.com-20120403160725-lprixelmtx5cq87l
2012-04-03 18:07:25 +02:00
Thibault Delavallée a7c8c8d6ae [DOC] Updated doc and comments
bzr revid: tde@openerp.com-20120403154941-0h83ws1av3clhxg4
2012-04-03 17:49:41 +02:00