Commit Graph
75490 Commits
Author SHA1 Message Date
Denis Ledoux ce4396a04c [FIX]base, ir_actions: ir_values with client_multi_actions and a server action with code were executing the actions on active_ids one by one, instead of all together (the action was called for each active_ids instead of one time for all active_ids)
bzr revid: dle@openerp.com-20131112162726-24z38xvzq5o1spoe
2013-11-12 17:27:26 +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
Gery Debongnie 8eeaca216d [REF] refactoring of addon web_graph. goal is to handle properly the switch of chart view to table view
bzr revid: ged@openerp.com-20131112161034-yy80ypm39j32sazv
2013-11-12 17:10:34 +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
Olivier Dony 520cc1306f [REVERT] stock: commit 9557/OPW 600078 assumes that production lot are guaranteed to be set on each relevant move
This assumption is incorrect in OpenERP v7. The WMS
design in OpenERP 7 and previous versions only permits
tracking production lots (aka serial numbers) on
incoming moves, outgoing moves and production moves.
You can specify production lots on internal moves too,
but the system will also generate internal moves for
many reasons, and nothing guarantees that they will
have the right lots assigned.
This is a design decision, and this means that we
must never enforce the availability of specific
production lots.

This features will be available in OpenERP 8 through
the use of an extra concept called "Quants", that
will make this kind of tracking possible.

bzr revid: odo@openerp.com-20131112153925-1s2b8f2eo568wpxh
2013-11-12 16:39:25 +01:00
Olivier Dony a382e0cc2e [FIX] procurement: magic bypass transition was incomplete and preventing pulled flows from working
The procurement workflow has a magic `bypass` transition
that acts as a fallback for MTO procurements in case the
necessary modules are not (yet) installed. For example
it will consider a MTO+Buy procurement directly satisfied
if the Purchase module is not yet installed.
However this bypass transition did not properly take
"internal pulled flows" into account, which are added
by the `stock_location` module as a third kind of procurement
type. In this case the bypass would match and never
give stock_location the chance to run.
In order to be consistent with the other procurement
methods, the bypass transition needs to be adapted.

Also updated the check_move() method to make it more
explicit rather than a side-effect.

bzr revid: odo@openerp.com-20131112151747-da67h4yavhz3k29c
2013-11-12 16:17:47 +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
Christophe Simonis 6cfb4a0370 [FIX] web: do not enforce width of dropdown links
bzr revid: chs@openerp.com-20131112143746-svdfuqvzvvis6vpy
2013-11-12 15:37:46 +01:00
Christophe Simonis 61a8a22f60 [FIX] web: match base.sass against changes made in base.css in revid 4014 mat@openerp.com-20130821080933-fiq3zvccgzop02on
bzr revid: chs@openerp.com-20131112143635-ek6yhfifb6ycynku
2013-11-12 15:36:35 +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
Gery Debongnie 298a7012bf [IMP] add rendering of basic table in pivottable widget (addon web_graph)
bzr revid: ged@openerp.com-20131112135344-fi7mwyd49bqnbg69
2013-11-12 14:53:44 +01:00
Cecile Tonglet 83f6778446 [FIX] Import on model ir.translation was broken because of a missing context
bzr revid: cto@openerp.com-20131112132747-bajrgbwlp0m3z92s
2013-11-12 14:27:47 +01:00
Olivier Dony fe2fd41d7d [FIX] procurement: order points must procure goods in the specifiedt warehouse
The default warehouse picked by procurements only works
for companies that only have on warehouse

bzr revid: odo@openerp.com-20131112130612-brmazfdghrh1ck7x
2013-11-12 14:06:12 +01:00
Denis Ledoux 6792d85b44 [FIX]report: rml2pdf raise exception if cell is too long to be printed (instead of infinite loop). Workaround for reportlab issue #15: https://bitbucket.org/rptlab/reportlab/issue/15/infinite-pages-produced-when-splitting
bzr revid: dle@openerp.com-20131112130412-mbdonb9g7n63w84r
2013-11-12 14:04:12 +01:00
JoshuaJan 0954d2806e [fix]purchase module typo corrected
lp bug: https://launchpad.net/bugs/1250305 fixed

bzr revid: popkar77@gmail.com-20131112130406-dfzg5gf2nxmebsnz
2013-11-12 21:04:06 +08:00
Christophe Simonis 6b9822626b [FIX] sale_stock: procuremenr.order object does not have a property_ids field. This field is added by mrp module, which we do not depend of.
bzr revid: chs@openerp.com-20131112115635-tgbdeocn9awtbxkq
2013-11-12 12:56:35 +01:00
Gery Debongnie 4d7150fc58 [REF] large refactoring of addon web_graph (mainly add widget BasicDataView and many cleanups)
bzr revid: ged@openerp.com-20131112113134-w2298fsh1va4jpm7
2013-11-12 12:31:34 +01:00
Gery Debongnie d947299a74 [FIX] fix pivottable and chartview widget to use their template instead of hardcoded divs (addon web_graph)
bzr revid: ged@openerp.com-20131112084955-2x8o57ndln0xx0nx
2013-11-12 09:49:55 +01:00
Gery Debongnie 6ecbf2ef80 [IMP] add access to model fields description in addon web_graph
bzr revid: ged@openerp.com-20131112083827-fy9i054l9mq3vynz
2013-11-12 09:38:27 +01:00
Launchpad Translations on behalf of openerp a283d59024 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131106055031-tut0ikyn2ukgc3yw
bzr revid: launchpad_translations_on_behalf_of_openerp-20131107055025-9oq3zxk6003gvt9g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062531-oo7o57h2u1gxr3q5
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064337-vgxh4bfudb3xik01
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053813-4tykju0tdgvvgk8m
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062220-8edq183y73j5cxns
2013-11-12 06:22:20 +00: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
ajay javiya (OpenERP) 4b29ff64df [MERGE]: with trunk
bzr revid: aja@tinyerp.com-20131111053926-a7rrnmoy95j07dd6
2013-11-11 11:09:26 +05:30
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
Christophe Simonis 824eddeb85 [FIX] l10n_mx: account.chart.template does not have any property_stock_account_{in,out}put_categ fields
bzr revid: chs@openerp.com-20131108231130-k7s49xfac9h67kbe
2013-11-09 00:11:30 +01:00
Christophe Simonis 9a1c54d242 [FIX] stock: mute orm logger before checking access rules
bzr revid: chs@openerp.com-20131108230224-tqj0tg5xgz8ramwd
2013-11-09 00:02:24 +01:00
Christophe Simonis 1df6461c4a [FIX] base: test_translation: load an existing translation
bzr revid: chs@openerp.com-20131108225820-i2pea15b7lymyw6t
2013-11-08 23:58:20 +01:00
Christophe Simonis 4166baa1ba [FIX] stock: mute orm logger before checking access rules
bzr revid: chs@openerp.com-20131108224724-3u72ec3molct34he
2013-11-08 23:47:24 +01:00
Christophe Simonis d623c091f3 [IMP] stock: do not use assert in (python) tests
bzr revid: chs@openerp.com-20131108221535-c0lowzwd15d7asd3
2013-11-08 23:15:35 +01:00
Christophe Simonis 636ac0f61e merge upstream
bzr revid: chs@openerp.com-20131108215612-e5f01a1kvyevlry9
2013-11-08 22:56:12 +01:00
Christophe Simonis 871e2db195 [FIX] base_action_rule: even test models need access rules (avoid warning)
bzr revid: chs@openerp.com-20131108215451-mq18m32ajuuydzjq
2013-11-08 22:54:51 +01:00
Christophe Simonis 46d7eb79e9 [FIX] document: even deprecated models need access rules (avoid warning)
bzr revid: chs@openerp.com-20131108215408-xodw6lmvvxvw4te7
2013-11-08 22:54:08 +01:00
Christophe Simonis f42ac76068 [FIX] web_test_demo: make test model a TransientModel. This avoid a warning about the lack of access rules
bzr revid: chs@openerp.com-20131108214255-cgx1r7x8sx1ak4ea
2013-11-08 22:42:55 +01:00
Launchpad Translations on behalf of openerp 3f73f59b15 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131108062624-4ihw3f2dghkrup1n
bzr revid: launchpad_translations_on_behalf_of_openerp-20131110064532-3pcx6sl2w1ioizv9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131111053914-v4h4lfsutiem8fos
bzr revid: launchpad_translations_on_behalf_of_openerp-20131112062321-q35iebzktzu6lw8m
2013-11-12 06:23:21 +00:00
Christophe Simonis aeaed95e81 [IMP] trml2pdf: like css, invalid style name is not a warning.
bzr revid: chs@openerp.com-20131108212709-4dmdbxxh2w1jd51p
2013-11-08 22:27:09 +01:00
Christophe Simonis 5859d8e9cf merge upstream
bzr revid: chs@openerp.com-20131108212107-u6ysowkajvg1m371
2013-11-08 22:21:07 +01:00
Christophe Simonis d67ff9ba02 [FIX] views inheritance: deleting a non-existing attribute must be a no-op
bzr revid: chs@openerp.com-20131108175750-yenql6hycpn95i9j
2013-11-08 18:57:50 +01:00
Christophe Simonis 86fea1e176 [IMP] always dumps threads, even in evented mode
bzr revid: chs@openerp.com-20131108175224-tztp2w83vfw9yetz
2013-11-08 18:52:24 +01:00
Denis Ledoux 3f6ef87416 [FIX]mail: a test failed if there was the word 'model' in the url, which can happen when the branch name contains 'model' or the domain name itself contain 'model'
bzr revid: dle@openerp.com-20131108164658-x7uznik1n5jo1djd
2013-11-08 17:46:58 +01:00
Christophe Simonis be7084b988 [FIX] web: do not declare variables inside if() scope
bzr revid: chs@openerp.com-20131108160747-1jrpihb66y6vtov5
2013-11-08 17:07:47 +01:00
Christophe Simonis 5311db325c [FIX] web: filter context before executing actions triggered by buttons in views
bzr revid: chs@openerp.com-20131108160627-osiigir6tsr2k783
2013-11-08 17:06:27 +01:00
Gery Debongnie 4dd5ac9924 [FIX] fix a bug preventing hide and show method of chartview widget to function properly (addon web_graph)
bzr revid: ged@openerp.com-20131108154114-25zqn3jq5u6iuibt
2013-11-08 16:41:14 +01:00
Gery Debongnie 906d5168cc [IMP] small cleanups to chartview widget (addon web_graph)
bzr revid: ged@openerp.com-20131108152717-stbx0us8ipom67iq
2013-11-08 16:27:17 +01:00