Commit Graph

74775 Commits

Author SHA1 Message Date
Martin Trigaux d2b6174268 [FIX] project_issue: remove test checking the convert_issue_task feature
bzr revid: mat@openerp.com-20131121155324-yg25mzo2css17f13
2013-11-21 16:53:24 +01:00
Martin Trigaux 00f7b3b1f1 [REF] procurement: remove legacy code in scheduler from 6.1
bzr revid: mat@openerp.com-20131121153048-n1hxpuu8jg3ayyhw
2013-11-21 16:30:48 +01:00
Martin Trigaux 8b35f23701 [ADD] procurement: add skip_exception parameter on scheduler allowing to have more frequent scheduler only testing confirmed picking
bzr revid: mat@openerp.com-20131121152823-vphwy0jv9b02ajk2
2013-11-21 16:28:23 +01:00
Martin Trigaux 57ea381cac [REF] project_issue: remove unused method convert issue to task (button was removed from view at rev 6898)
bzr revid: mat@openerp.com-20131121152502-kpsax7jze1cc7lbl
2013-11-21 16:25:02 +01:00
Launchpad Translations on behalf of openerp bdc5ae3291 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131121052817-v5bocf8e1j6pbuby
2013-11-21 05:28:17 +00:00
Launchpad Translations on behalf of openerp 17fe569269 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131119052725-2fcjekn5ouumctna
bzr revid: launchpad_translations_on_behalf_of_openerp-20131120052525-2pwf2q3wdcrbqics
2013-11-20 05:25:25 +00:00
Martin Trigaux e5ece85866 [FIX] company: add missing on_change for font selection
bzr revid: mat@openerp.com-20131119091524-serz74unvekz9j32
2013-11-19 10:15:24 +01:00
Martin Trigaux 89850477a2 [FIX] fonts: add missing onchange on company form
bzr revid: mat@openerp.com-20131119085343-930hs460m5uzz5xj
2013-11-19 09:53:43 +01:00
Martin Trigaux 8546a0d2c6 [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131119084834-hl9hv380nhlfs7it
2013-11-19 09:48:34 +01:00
Frédéric van der Essen 1fba5804fc [IMP] point_of_sale: allow up to 8 simultaneous payment methods to be displayed at once
bzr revid: fva@openerp.com-20131118172301-c71ic2xazlkjhr4d
2013-11-18 18:23:01 +01:00
Fabien Meghazi 5f40fc7c08 [ADD] return_label & return_url in action_manager#load_state for breadcrumbs
bzr revid: fme@openerp.com-20131118123808-85i8csvgodgjei18
2013-11-18 13:38:08 +01:00
Fabien Meghazi 9ded116baf [ADD] return_label & return_url in action_manager#load_state for breadcrumb
bzr revid: fme@openerp.com-20131118112211-q15p0d7cc8wpku5n
2013-11-18 12:22:11 +01:00
Fabien Meghazi bb9c83714a [FIX] Avoid rpc errors on actions.act.url@target='self'
bzr revid: fme@openerp.com-20131118102112-znm2mza36md6896n
2013-11-18 11:21:12 +01:00
Launchpad Translations on behalf of openerp 6f10f3ae24 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131116054548-3p5ym1d6w40ctn2i
bzr revid: launchpad_translations_on_behalf_of_openerp-20131117052157-8zpcgl9vc9s80s5c
bzr revid: launchpad_translations_on_behalf_of_openerp-20131118052246-2yk6opkjie1zcpw1
2013-11-18 05:22:46 +00: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
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
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
Launchpad Translations on behalf of openerp 08abc4345a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112054140-gta82n1b3iww6qy5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131031051733-nnutbi7hidixsxsb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102055746-d0emb2aocq3sq1d1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131103052149-y4usleohxatdgczx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131105052928-1izkptj5zusflrvb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108054204-hrtuxxze2u1ivvez
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110055420-zl5ang9w8lbcvt9d
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111051738-smtttsszytn06ld4
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112054158-7ewd3oxiyxg8s4zw
2013-11-12 05:41:58 +00:00
Antony Lesuisse ee4c1f702e [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
  _auth_method_<methodname>
- 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.

bzr revid: al@openerp.com-20131110142731-qi9910fkty25cdtd
2013-11-10 15:27:31 +01:00
Antony Lesuisse 5f9ef80d70 [FIX] make routing converters modular
bzr revid: al@openerp.com-20131110141250-myreqy8ofvpj2r0u
2013-11-10 15:12:50 +01:00
Antony Lesuisse 575376ef29 [FIX] http.py use checked_call for concurrency retry and exception handling
bzr revid: al@openerp.com-20131110140757-tbe8yondadokd4ke
2013-11-10 15:07:57 +01:00
Antony Lesuisse 7f3133e423 [IMP] ir_http better exception handling for http errors
bzr revid: al@openerp.com-20131110135739-2tmr6iynil16ooi1
2013-11-10 14:57:39 +01:00
Antony Lesuisse c396149f4f [FIX] use AbstractModel, use session.db to ir_http dispatch for none controllers
bzr revid: al@openerp.com-20131110135406-r0cyxhnve3jl8r2i
2013-11-10 14:54:06 +01:00
Antony Lesuisse afbec17f77 [IMP] model converters for routes, to directly get the browse record
example @route(['/job/detail/<model("hr.job"):job>'], type='http', auth="user")

bzr revid: al@openerp.com-20131110123707-yb3hbdqlo063dj64
2013-11-10 13:37:07 +01:00
Antony Lesuisse d50577b69d [IMP] http move db dispatching on the orm level
Split low level dispatching and high level dispatching.
Low level dispatching is used when the db is unknown it's only used by a few
controller in base and web.
High level dispatching is used when the db is known, it is used by most
controllers and it handles authentication and errors. Because it's a regular
osv object all it is fully overridable by openerp modules.

bzr revid: al@openerp.com-20131110014609-io03vspj2q1wtqa0
2013-11-10 02:46:09 +01:00
Antony Lesuisse 14245e24fc [FIX] /web always save the provided db in session
guessed_db is only computed by the /web controller, so even if the provided db
match the guessed_db we should save it in the http session. Because all rpc
call made before the authentication wont compute the guessed_db, so the
request.db will be wrong for those calls.

bzr revid: al@openerp.com-20131110010411-s7ermjwmfbile1ix
2013-11-10 02:04:11 +01:00
Stephane Wirtel c9a7e69a75 [FIX] test_mail: Rewrite the XSS test
bzr revid: stw@openerp.com-20131107141019-jjhvism55j8x207g
2013-11-07 15:10:19 +01:00
Xavier Morel 32b20f5ed6 [IMP] add separators between all completion sections
Depending on the way the search view is setup, a single item
(e.g. "Search foo for bar") can follow a list of a bunch of
completions. In that case, it is hard to notice that it's not just one
more item of said list.

Add a marker on the first of every completion list in order to catch
1-item lists (or lists without titles/categories) and prepend a small
border every time, so that single-element completions following
lists-with-titles can be noticed.

bzr revid: xmo@openerp.com-20131107112858-1xyvcesize0doblz
2013-11-07 12:28:58 +01:00
Xavier Morel fb911b1d43 [FIX] don't provide autocompletion to m2o fields when a custom operator or filter_domain is provided
bzr revid: xmo@openerp.com-20131107111231-nkrllqv0afqdmix6
2013-11-07 12:12:31 +01:00
niv-openerp d0079fbada [FIX] Changed the url of the openerp logo to tarket /web instead of /.
bzr revid: nicolas.vanhoren@openerp.com-20131107104443-qx6is5y8yovyiz6c
2013-11-07 11:44:43 +01:00
niv-openerp 1feb385700 [FIX] Changed the url redirect from / to /web in the db selector. It was not working correctly if the / url redirects on something else than the web admin.
bzr revid: nicolas.vanhoren@openerp.com-20131106143602-gwyn4jjvn5zwztif
2013-11-06 15:36:02 +01:00
niv-openerp 419c5e0c67 [FIX] Incorrect reference to / in /web/session/logout controller
bzr revid: nicolas.vanhoren@openerp.com-20131105152138-2628ehdke7rdc1ov
2013-11-05 16:21:38 +01:00
Fabien Meghazi 684c629556 [FIX] session destroy
Sorry all

bzr revid: fme@openerp.com-20131105102036-34g9mk2u694eqvhn
2013-11-05 11:20:36 +01:00
niv-openerp fd863b8501 [FIX] potential bug with the /login url, it could not possibly work due to its authorization level.
Also modified a function that is supposed to redirect to the backend and was still using '/'.

bzr revid: nicolas.vanhoren@openerp.com-20131105101548-jdsnyh2j4ak0kdbk
2013-11-05 11:15:48 +01:00
Fabien Meghazi 9a281f829b [ADD] redirect on login and logout controller
bzr revid: fme@openerp.com-20131104171530-96irkaom2vjsj9s5
2013-11-04 18:15:30 +01:00
Quentin (OpenERP) 8a52fe77f8 [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
bzr revid: qdp-launchpad@openerp.com-20131104134618-oujlfwmnpc1xbvml
2013-11-04 14:46:18 +01:00
Quentin (OpenERP) bdda7b70d3 [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
bzr revid: qdp-launchpad@openerp.com-20131104134314-2mv5wkt13ih9c1yg
2013-11-04 14:43:14 +01:00
Launchpad Translations on behalf of openerp f270975d98 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102055722-60w8wrpax87wkxhx
bzr revid: launchpad_translations_on_behalf_of_openerp-20131102060651-bdts7qkh2850je5u
2013-11-02 06:06:51 +00:00
Christophe Simonis 88292396c7 [MERGE] forward port of branch saas-2 up to revid 3865 chs@openerp.com-20131031111945-u3wi11e4rykpslme
bzr revid: chs@openerp.com-20131030183314-d75tbpxjjk3u79er
bzr revid: chs@openerp.com-20131031144026-09f3eqfwfj2bcefs
2013-10-31 15:40:26 +01:00