Commit Graph

75102 Commits

Author SHA1 Message Date
Fabien Pinckaers 3e26abe6ee [FIX] fix to support groups on tempaltes
bzr revid: fp@tinyerp.com-20131202085952-htkxqv3l3zdtecnu
2013-12-02 09:59:52 +01:00
Xavier Morel b67b3da6bf [FIX] may work better with the actual documentation added
bzr revid: xmo@openerp.com-20131202085158-k3xhbhrn9y1hwk8y
2013-12-02 09:51:58 +01:00
Xavier Morel a86a8e8431 [ADD] some doc for custom qweb converters
bzr revid: xmo@openerp.com-20131202084439-tytk83gjjutf3e52
2013-12-02 09:44:39 +01:00
Xavier Morel 228938ccba [ADD] formats support to date and datetime converters
bzr revid: xmo@openerp.com-20131202073313-tu79esduu5bvyaai
2013-12-02 08:33:13 +01:00
Xavier Morel c457c2197a [REF] inline server formats in date & datetime converter methods
bzr revid: xmo@openerp.com-20131129103943-1ba1jbm3xxk1p42t
2013-11-29 11:39:43 +01:00
Fabien Pinckaers e477c1f617 [FIX] temporary fix, should be cleaned by removing editable context
bzr revid: fp@tinyerp.com-20131201115142-mok8vlkua5f4tb5l
2013-12-01 12:51:42 +01:00
Fabien Pinckaers 0c1edb8024 [FIX] reverted an introduced bug
bzr revid: fp@tinyerp.com-20131130205030-1ycdkt3nc5owj66o
2013-11-30 21:50:30 +01:00
Fabien Pinckaers ed5ea188f6 [IMP] Speed improvement: 27 SQL queries -> 13 SQL queries per static pages on CMS
bzr revid: fp@tinyerp.com-20131130172319-gq9udvjhv9m83d7n
2013-11-30 18:23:19 +01:00
Fabien Pinckaers 51a32f45a0 [IMP] Speed improvement
bzr revid: fp@tinyerp.com-20131130171849-i1cao342bik6wd89
2013-11-30 18:18:49 +01:00
Fabien Pinckaers 4a3529afdf [IMP] Performance improvement: improved cache with context, better get_object
bzr revid: fp@tinyerp.com-20131130154723-05r90b2yhwwovpx4
2013-11-30 16:47:23 +01:00
Xavier Morel 71b25c5add [ADD] relative datetime qweb widget
bzr revid: xmo@openerp.com-20131129085256-dwpcy0rd5v6bls9d
2013-11-29 09:52:56 +01:00
Fabien Meghazi 5b6512bb65 [REM] httprequests exception serialization moved to web client
bzr revid: fme@openerp.com-20131128180816-s8e2xpcdk0j403s5
2013-11-28 19:08:16 +01:00
Christophe Matthieu e49908b879 [MERGE] trunk-website-demo-partner-bth
bzr revid: chm@openerp.com-20131128172226-mx0e6dt1iv3nrgwg
2013-11-28 18:22:26 +01:00
Xavier Morel ea56dece85 [ADD] duration widget
bzr revid: xmo@openerp.com-20131128153630-pouwmygw6vgyuj1l
2013-11-28 16:36:30 +01:00
Fabien Meghazi 071ef9702b [REV] Previous commit loses the inherit_branding context's key
bzr revid: fme@openerp.com-20131128094809-l77nyyqglzha3tuh
2013-11-28 10:48:09 +01:00
Fabien Pinckaers 2fef12e984 [IMP] cache on read_template, divide by 2 number of SQL queries on page loading
bzr revid: fp@tinyerp.com-20131127230024-cqhvjy9yg57cxunv
2013-11-28 00:00:24 +01:00
Fabien Pinckaers 0dbc41aca0 [IMP] access right when accessing object, not second checks in view rendering
bzr revid: fp@tinyerp.com-20131127223831-7r06xxuimrx21fzw
2013-11-27 23:38:31 +01:00
Xavier Morel 765429cfb0 [FIX] missing import lost during merge
bzr revid: xmo@openerp.com-20131127112908-ldwf1r1ypwx9pepx
2013-11-27 12:29:08 +01:00
Fabien Meghazi f15b0120e8 [IMP] better api for ir.http#_authenticate
bzr revid: fme@openerp.com-20131126121024-v5f9i7ssgaqm7dmk
2013-11-26 13:10:24 +01:00
Xavier Morel 1235955197 [IMP] exception handling in _dispatch
* ensure users correctly get a 403 forbidden from a failed
  _authenticate

* as far as we can tell, NotFound is one of the few things
  _authenticate does *not* throw. Catch all exceptions anyway.

* replace default _handle_500, _handle_403 and _handle_404 by single
  generic handler since all they did was re-raise the exception anyway

bzr revid: xmo@openerp.com-20131126110519-0yjh01ubrulpzlmn
2013-11-26 12:05:19 +01:00
Fabien Meghazi 0a3371c3b2 [FIX] dispatch AccessErrors
bzr revid: fme@openerp.com-20131125155629-nmf0uk2agamzrhma
2013-11-25 16:56:29 +01:00
Fabien Meghazi 5f197f25c5 [IMP] raise AccessError for acl errors
bzr revid: fme@openerp.com-20131125154504-v3tfppa7mkjm5ksr
2013-11-25 16:45:04 +01:00
Fabien Meghazi 14d552cd48 [FIX] qweb#render() should honor browse record calling
bzr revid: fme@openerp.com-20131125131811-3blovguwiearewqb
2013-11-25 14:18:11 +01:00
Fabien Meghazi 54b15928cf [FIX] ahem, fix previous commit
bzr revid: fme@openerp.com-20131121205959-jvlmcofp5yq5s7ht
2013-11-21 21:59:59 +01:00
Fabien Meghazi 9f43e80662 [IMP] rendering context not mandatory for ir.ui.view#render()
bzr revid: fme@openerp.com-20131121203230-uo485jls4uk15n7x
2013-11-21 21:32:30 +01:00
Fabien Meghazi 8091466de3 [IMP] route lazy request exceptions to ir_http exception handler
bzr revid: fme@openerp.com-20131121192841-r1c05wj9302l2axj
2013-11-21 20:28:41 +01:00
Fabien Meghazi 80ebc1225a [ADD] LazyRequest
bzr revid: fme@openerp.com-20131120194618-qzw4icf41ep3kbj3
2013-11-20 20:46:18 +01:00
Fabien Meghazi 4346aa99a4 [IMP] Two men's patch (al & chs) Clean up http.py, keep cursor open until dispatch is done.
bzr revid: fme@openerp.com-20131120192550-i9xzyqkufe3stnb3
2013-11-20 20:25:50 +01:00
Fabien Meghazi 9b9b5d09ca [ADD] methods attribute to @http.route decorator
bzr revid: fme@openerp.com-20131119135200-jesz3kijqa0ape40
2013-11-19 14:52:00 +01:00
Fabien Pinckaers 0eb2bed2ca [FIX] priority of templates are now working
bzr revid: fp@openerp.com-20131117072335-chwjkpcj8hv431z3
2013-11-17 08:23:35 +01:00
Xavier Morel 8e78b40e6a [MERGE] from trunk
bzr revid: xmo@openerp.com-20131115132553-9eqxggih8be63i36
2013-11-15 14:25:53 +01:00
Xavier Morel 0ece469392 [FIX] bunch of broken stuff over http requests in new routing thing
* make ModelConverter use its regex for data extraction so
  replacements can just fixup the request and don't have to mess with
  _uid

* replace routing_map property by method, for unknown reasons the
  property does not work at least overridden (it's not found) and I
  don't care enough to wonder why

* arguments result from MapAdapter.match() is a mapping, not a
  sequence. Iterate through values()/itervalues() otherwise we'll
  never get a browse_record to do the uid substitution on, only
  strings (params names)

* inject arguments from URL map/match into the function before
  executing it, this was apparently lost during the transition

* reintroduce get_db_router for third-party code needing to generate
  URLs

bzr revid: xmo@openerp.com-20131115124819-bp4gjpfdlda2qyf5
2013-11-15 13:48:19 +01:00
Xavier Morel 321d4681e1 [IMP] new routing thing
* fix nameerror on SessionExpired exception not being imported
* remove pointless RequestUID instantiation by single placeholder object
  - may be replaceable with a LocalProxy or something along those lines?
* rename default/nodb routing map
* make better use of werkzeug API
* move lazy routing_map instantiation to property in ir_http.find_handler
  - do we have some sort of lazy_property?

bzr revid: xmo@openerp.com-20131115100901-s3skmwv9d1jgk9y0
2013-11-15 11:09:01 +01:00
Xavier Morel 34c3beda2b [REM] undead web_shortcuts
bzr revid: xmo@openerp.com-20131115095255-25583k4pie9avplf
2013-11-15 10:52:55 +01:00
Olivier Dony 7935caad7d [REM] base_crypt translation deactivated - module renamed to auth_crypt
bzr revid: odo@openerp.com-20131115094146-56bv3ewes59jnf7e
2013-11-15 10:41:46 +01:00
Launchpad Translations on behalf of openerp 3aeed93fc1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131115054705-wvkm0ko44q3r6g4f
2013-11-15 05:47:05 +00:00
bth-openerp 041ecef093 [IMP]Removed country.
bzr revid: bth@tinyerp.com-20131114105701-9e62eg9sj7yde1c1
2013-11-14 16:27:01 +05:30
bth-openerp bcdbe01a29 [IMP]Improved country.
bzr revid: bth@tinyerp.com-20131114093817-ex49h1qevzut1cm5
2013-11-14 15:08:17 +05:30
bth-openerp fe28545989 [MERGE]Merge trunk-website-al.
bzr revid: bth@tinyerp.com-20131114091032-7y1pgw2vptqdjkj0
2013-11-14 14:40:32 +05:30
bth-openerp 37c37fd99d [IMP]Added address.
bzr revid: bth@tinyerp.com-20131113130135-do6n7v84c9kouma8
2013-11-13 18:31:35 +05:30
Quentin (OpenERP) 700d456cbb [FIX] account_payment: amount_residual doesn't have a fct_search so it should be replaced by something else
bzr revid: qdp-launchpad@openerp.com-20131113100713-tvl30z5oqym22jqj
2013-11-13 11:07:13 +01:00
Launchpad Translations on behalf of openerp 2a6e668f74 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131113052604-53vea9wu1njlqbsg
bzr revid: launchpad_translations_on_behalf_of_openerp-20131114052303-klxv7xa52p3ejjud
2013-11-14 05:23:03 +00:00
niv-openerp c281862604 [FIX] Attempt to resolve the bug that makes the runbot crash
bzr revid: nicolas.vanhoren@openerp.com-20131113155340-srjkfv372jsyg5vl
2013-11-13 16:53:40 +01:00
niv-openerp 4476cd6701 [FIX] problem when clicking too fast on pagers in the form view
lp bug: https://launchpad.net/bugs/1238569 fixed

bzr revid: nicolas.vanhoren@openerp.com-20131113152107-5zwsbntil4wihoh4
2013-11-13 16:21:07 +01:00
Frédéric van der Essen f550707bb9 [IMP] point_of_sale: fixes and performances optimisations
bzr revid: fva@openerp.com-20131112161433-8qxgklhrp6o2pmfj
2013-11-12 17:14:33 +01:00
Frédéric van der Essen ddf6ec224f [IMP] point_of_sale: improve the reactivity of the searchbox by timeouting on the search instead on searching after each character change
bzr revid: fva@openerp.com-20131112160534-004d8df6ede1b4yt
2013-11-12 17:05:34 +01:00
Frédéric van der Essen 2c5632271f [IMP] point_of_sale: only open cashbox when paying with cash + add manual override
bzr revid: fva@openerp.com-20131112151041-3betwjahh9ph9vx5
2013-11-12 16:10:41 +01:00
Fabien Meghazi bbac9f0f23 [ADD] Add hook for qweb preprocessing
bzr revid: fme@openerp.com-20131112140822-7p37hu8gd82ta5aj
2013-11-12 15:08:22 +01:00
Frédéric van der Essen 7c6292f91e [FIX] point_of_sale: make the web printed receipt fit on 80mm paper
bzr revid: fva@openerp.com-20131112140457-sfmbu0ujz8lwfiil
2013-11-12 15:04:57 +01:00
Launchpad Translations on behalf of openerp 268f87ceb3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112055514-qlvj7e5jbjk6hfpf
2013-11-12 05:55:14 +00:00