Created by loyalinfo and last modified
Get this branch:
bzr branch lp:~loyalinfo/openobject-server/trunk
Only loyalinfo can upload to this branch. If you are loyalinfo please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information


Recent revisions

4995. By Kevin Wang

remove other translates

4994. By Xavier (Open ERP)

[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

* 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

4993. By Xavier (Open ERP)

[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?

4992. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4991. By Antony Lesuisse (OpenERP)

[IMP] http move db dispatching to AbstractModel ir.http

Allow module to override the http dispatching process:
- The default implementation uses werkzeug.routing but any other method could
  be used, it'a also possible to pre/postprocess (i.e. url aliases)
- Authentication (auth param on route) is plugggable by defining now
- Error handler are overridable, any module can define a new exception and
  handle it by orverriding the _handle_<error_code> method.
- Add model converters for routes, to directly get the browse record example
  @route(['/job/detail/<model("hr.job"):job>'], type='http', auth="user")

This is done by splitting dispatching, when the db is unknown low level http.py
dispatching is used, it's only used by a few controller in base and web. When
the db is known, ir_http is used because it's a regular Model it is fully
overridable by openerp modules.

4990. By Stephane Wirtel (OpenERP)

[FIX] test_mail: Rewrite the XSS test

4989. By Quentin (OpenERP) <email address hidden>

[IMP] base, currency: second attempt to include this patch (previously added in revision 4982 then reverted in revision 4984 because of a bug in the server that was making an infinite loop -which has been fixed in previous revision-). Updated the type of name field of res.currency.rate in <datetime> instead of <date> for those who need to update the rate of currencies several times per day

4988. By Quentin (OpenERP) <email address hidden>

[FIX] expression.py: when searching on a datetime field with an argument formated as a date, conversion should happen _also_ for the '=' operator. This omission was causing an infinite loop beacuse we were pushing the exact same leaf on the stack without any modification

4987. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

4986. By Christophe Simonis (OpenERP)

[MERGE] forward port of branch saas-2 up to revid 4968 <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.