Commit Graph
81391 Commits
Author SHA1 Message Date
ajay javiya (OpenERP) 5b23738b1b [IMP]: quotation view
bzr revid: aja@tinyerp.com-20131209131015-8k6z3g1jit5npg6y
2013-12-09 18:40:15 +05:30
Gery Debongnie 9f99fbdae7 [FIX] properly writes the col group_by in the context (with the facets) which allows the filter to work correctly, in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131209130858-o8pqocw7otpqr8l0
2013-12-09 14:08:58 +01:00
Martin Trigaux b2313634af [FIX] font: avoid removing fake fonts
bzr revid: mat@openerp.com-20131209130844-b8gvcfgqf5t744ir
2013-12-09 14:08:44 +01:00
Martin Trigaux 75d92a40bd [FIX] font: correctly place font_scan call, use superuser_id, restrict rights for general users, invert name and family
bzr revid: mat@openerp.com-20131209125705-gk2sjiwxqyxc702r
2013-12-09 13:57:05 +01:00
Martin Trigaux 87dfe75013 [IMP] font: move lazy loading to report_rml instead of report_sxw
bzr revid: mat@openerp.com-20131209113207-qwipb3urh8gbb04s
2013-12-09 12:32:07 +01:00
ddm 5f0fcfb9be [IMP] Tour improvements => automated tests
bzr revid: ddm@openerp.com-20131209112534-3ysihjgm20jj3d9k
2013-12-09 12:25:34 +01:00
Martin Trigaux 51bd2de107 [IMP] font: reload font list only when empty
bzr revid: mat@openerp.com-20131209111811-2oisaal26bku7mpt
2013-12-09 12:18:11 +01:00
Christophe Matthieu 3aeff80969 [IMP] stock: add comment for a yml test
bzr revid: chm@openerp.com-20131209111550-7eacnor8r3eskh8t
2013-12-09 12:15:50 +01:00
Martin Trigaux 4bc2fa3e9b [FIX] base_setup: adapt api
bzr revid: mat@openerp.com-20131209110850-f1asm1ow6isfdtqa
2013-12-09 12:08:50 +01:00
Martin Trigaux a9b98a88a9 [IMP] font: add security rule, lazy loading at first report rendering
bzr revid: mat@openerp.com-20131209110511-l72dgop00bfdeq3v
2013-12-09 12:05:11 +01:00
Thibault Delavallée 4b96e85a30 [MERGE] [FORWARD] Forward port of saas-2 branch until revision 9036 (revid tde@openerp.com-20131209102019-kjeg0rx2au1d5e5v)
bzr revid: tde@openerp.com-20131209105031-17920wsidpqrwmxj
2013-12-09 11:50:31 +01:00
Christophe Matthieu 26220814b2 [FIX] delivery: tests raise for wrong depends (sale, stock). Tests use picking_ids but sale_stock does not already install. Change sale and stock depends to sale_stock (who depends of sale and stock)
bzr revid: chm@openerp.com-20131209101738-ng9q329w9gchvtib
2013-12-09 11:17:38 +01:00
Thibault Delavallée 93ab94a608 [MERGE] [FIX] mail: fixed message_follower_ids function field.
The set method of the field, set_followers, is now using message_subscribe and message_unsubscribe to have only one access point to adding or removing followers. Previously to this fix it was directly creating entries in the mail_followers table, neglecting the calculation of subtypes and default subtypes.

bzr revid: tde@openerp.com-20131209100822-f19udgfuubshhrg3
2013-12-09 11:08:22 +01:00
Christophe Matthieu 229696111b [FIX] website_sale: access for product.pricelist.item
bzr revid: chm@openerp.com-20131209091142-1pyz1tz64d0gh39r
2013-12-09 10:11:42 +01:00
Thibault Delavallée fcd5f7d960 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20131209090903-al4o6uhrhhw4cqcl
2013-12-09 10:09:03 +01:00
Thibault Delavallée 2382710f6f [REV] mail: removed some changes to be done in trunk, not in 7.0
bzr revid: tde@openerp.com-20131209090802-q8fzn88ia9w6o5pq
2013-12-09 10:08:02 +01:00
Launchpad Translations on behalf of openerp 1e994bb667 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131209051959-7j1f1anh77czkpsn
2013-12-09 05:19:59 +00:00
Launchpad Translations on behalf of openerp a092227c6e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063209-2xi8ba5wu6l6ze00
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054536-mg4w4d6ljq8ji1nj
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063232-l64v1fhf1qcpxm2l
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054646-zixed7abpuze4qt1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062625-f7inv72rtg2kel8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054801-1ukcpelfukkvwn60
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060120-nm8tkfbftg8c88v1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060753-jnx5ran2accmo0lh
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127054000-wtg675pf33f3bkar
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129053028-abszdj4y76smnacb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054555-3u1m1sy1f2og78nn
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055227-mm70khzdfnp4qcj9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063237-vza5vb51xmd2ipl6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054653-f4zth8j3iczlzcqz
2013-12-08 05:46:53 +00:00
Frédéric van der Essen 86bb946087 [IMP] point_of_sale: adding lato font
bzr revid: fva@openerp.com-20131207170616-je7r27nb6n2wsrq0
2013-12-07 18:06:16 +01:00
Frédéric van der Essen 173ffb995f [WIP] point_of_sale: making the standalone pos launchable from the pos backend
bzr revid: fva@openerp.com-20131207170014-9pctopzgx5ahtb21
2013-12-07 18:00:14 +01:00
Fabien Pinckaers 20bbabc82b [IMP] Huge speed improvement in price computation on products: 162 to 39 queries to render /shop with 28 products. O(n)->O(1)
bzr revid: fp@tinyerp.com-20131206221809-x1muf0wonl4ated0
2013-12-06 23:18:09 +01:00
Denis Ledoux fb90e7d572 [FIX]ir_attachement: not self.pool.get(model) instead of model not in self.pool
bzr revid: dle@openerp.com-20131206173602-no831oxc6m1kf6lu
2013-12-06 18:36:02 +01:00
Christophe Matthieu 53a07c814a [FIX] website_hr_recruitment
bzr revid: chm@openerp.com-20131206170414-i5yq47pjy79jt1sd
2013-12-06 18:04:14 +01:00
Martin Trigaux aa9efd6dab [FIX] account: correct name_search on account to be validated even at negation
added test checking every combinaison of name_search

bzr revid: mat@openerp.com-20131206170012-991vs7pa1yzxvav8
2013-12-06 18:00:12 +01:00
Thibault Delavallée da3372eabd [ADD] [FIX] hr_applicant_document: added forgottent init file
bzr revid: tde@openerp.com-20131206165824-pi41vkl5pe616510
2013-12-06 17:58:24 +01:00
Thibault Delavallée 3a038b60f2 [CLEAN] hr_applicant_document: code cleaning
- new module organisation: model-related files in models/, demo in demo/, view data in views/
- code cleaning to lessen the code size

bzr revid: tde@openerp.com-20131206163911-qx1k1edogqxg52kv
2013-12-06 17:39:11 +01:00
Christophe Matthieu 3f550a2e11 [ADD] website: test.js
bzr revid: chm@openerp.com-20131206163122-zuvttkq5o0ktlt85
2013-12-06 17:31:22 +01:00
Gery Debongnie 66c8114768 [REF] removes two useless lines (addon web_graph)
bzr revid: ged@openerp.com-20131206162641-27rerhfa56y6nf4e
2013-12-06 17:26:41 +01:00
Gery Debongnie 65a0a97d67 [IMP] usability fix, makes sure that the dropdown menu displayed when expanding a field in graph view has always the same choices (addon web_graph)
bzr revid: ged@openerp.com-20131206162549-08aw50z4zdelzxgc
2013-12-06 17:25:49 +01:00
Denis Ledoux 4669f05406 [FIX] ir_attachement: search, if the model of the ir_attachement has been removed, the search ignore the attachement.
bzr revid: dle@openerp.com-20131206162314-vjpgtag8qhkl1jhk
2013-12-06 17:23:14 +01:00
Gery Debongnie 476d0f4f38 [FIX] fixes a small bug where the columns would expand all headers when the user clears the rows groupby in the search view (addon web_graph)
bzr revid: ged@openerp.com-20131206162301-fbq5mgqhg65yqi96
2013-12-06 17:23:01 +01:00
Gery Debongnie 5c04caf2ee [REF] many small code cleanups in addon web_graph
bzr revid: ged@openerp.com-20131206160411-9ajcschidssftb49
2013-12-06 17:04:11 +01:00
Thibault Delavallée 33633157f2 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20131206155646-yj6of6fw43vznkzo
2013-12-06 16:56:46 +01:00
Christophe Matthieu d4c38fc501 [IMP] website snippet: change trigger of dropped and activate snippet for tour and runbot snippet tests
bzr revid: chm@openerp.com-20131206154759-7t67lat285zrc2mk
2013-12-06 16:47:59 +01:00
Gery Debongnie 6a06f0d0ee [IMP] properly supports searchbar integration in graph view (addon web_graph)
bzr revid: ged@openerp.com-20131206154319-6ci7ljmp2hd9q072
2013-12-06 16:43:19 +01:00
ddm 1071cdb1d3 [IMP] Improve event support for tour and tests
bzr revid: ddm@openerp.com-20131206150855-0jsw3i2lm2l3qant
2013-12-06 16:08:55 +01:00
Frédéric van der Essen 3805e87c73 [MERGE] from trunk
bzr revid: fva@openerp.com-20131206145635-kjsm7hi2psblxb3t
2013-12-06 15:56:35 +01:00
Martin Trigaux f177669af9 [MERGE] [FIX] orm: Ignore orm (4, *) operations on one2many if link already exists.
Web client returns (4, ) operations for unchanged line in one2many widgets. 
This allows to skip orm write on object where potentially has no access (eg: timesheet line with another user). (opw 599494)

bzr revid: mat@openerp.com-20131206144301-k6ugjota873nz75d
2013-12-06 15:43:01 +01:00
Martin Trigaux d2ca43402e [FIX] orm: inverting the condition seems to work (don't ask why)
bzr revid: mat@openerp.com-20131206142220-nfqiyeic9fdkejxy
2013-12-06 15:22:20 +01:00
ddm 9be1dbfe9e [FIX] Regression in shop tour
bzr revid: ddm@openerp.com-20131206140940-v0rerf362fuj2tqz
2013-12-06 15:09:40 +01:00
ajay javiya (OpenERP) 6fffcd42bd [IMP]: onchange template in so
bzr revid: aja@tinyerp.com-20131206135720-s2e0z9k5phr4rwwt
2013-12-06 19:27:20 +05:30
Denis Ledoux 5200639f39 [FIX]sale: on sale order creation, apply on_change if needed (if required value are not set and can be computed from other values (onchange)
bzr revid: dle@openerp.com-20131206135111-nh31jgspelvwnhat
2013-12-06 14:51:11 +01:00
ddm 74ed3d2e5f [FIX] Make tour declarative to enable autotests
bzr revid: ddm@openerp.com-20131206133239-mrhduf2fi0sm8sh7
2013-12-06 14:32:39 +01:00
Christophe Matthieu d0b813a016 [IMP] fix website_hr_recruitment, website_event, and create contact qweb widget
bzr revid: chm@openerp.com-20131206133003-to4lbgoynvviifq5
2013-12-06 14:30:03 +01:00
Martin Trigaux a3847ce648 [MERGE] [FIX] account: performance improvement on account.analytic.lines
don't create new analytic lines at move creation, will do it once the move is balanced
don't remove analytic lines (to avoid duplicates) at the begining of the validation of a move, will do it once we create the new correct analytic lines (opw 597719)

bzr revid: mat@openerp.com-20131206131125-fvzy62qqx3gnwmw5
2013-12-06 14:11:25 +01:00
Thibault Delavallée ef8322273e [FIX] [TESTS] project, hr_holidays and portal-related modules: fixed tests, because the raised errors have been updated
bzr revid: tde@openerp.com-20131206125751-lx5ki1nz10pdo63r
2013-12-06 13:57:51 +01:00
Martin Trigaux 0be3333f96 [FIX] orm: ignore existing link for operation (4, x) in one2many fields
bzr revid: mat@openerp.com-20131206125403-r6uemlh7jagw01gh
2013-12-06 13:54:03 +01:00
Gery Debongnie d1caee2a5f [IMP] supports search bar integration in graph view (but not everything works yet) (addon web_graph)
bzr revid: ged@openerp.com-20131206124437-8m1gnhz3ill6w1eo
2013-12-06 13:44:37 +01:00
Xavier Morel b4c121db71 [FIX] bad interaction of editable list with IME
IME are ways to input language which can't trivially map to a keyboard
(e.g. CJK language) with a standard-ish keyboard. For japanese IME
this is done by entering text phonetically: text is entered in romaji
and automatically converted to hiragana (or katakana) when it matches
the transcription a japanese syllable (~phoneme?) e.g. to (と). The
text is then split and reprocessed with sequences of hiragana being
converted to kanji (or not), and the possibility to pick the right
kanji when multiple kanji match e.g. for "Tokyo" toukyou -> とうきょう
-> 東京.

But to do the edition, keyboard keys are used. For the japanese IMEs
(tested on Windows, OSX and Linux) [Space] will do the initial
conversion from kana to kanji (and allow selecting an other conversion
or a different kana split) and [Return] will validate the current
conversion (removing the underline marking "unvalidated" kana or kanji
groups).

And that's where the problem hit: IME + browser combinations may or
may not suppress part of all of the event. Firefox will trigger a
keydown of the key which "starts" IME input (e.g. "t") and will
trigger a keyup for the validation key (return), except on Linux where
the initial keydown is suppressed. Inbetween these, it will fire no
keydown, keyup or keypress event but will fire input events (at least
on an input element) every time the displayed text changes.

Meanwhile webkit browsers will, for each press on the keyboard during
IME,

* trigger a keydown with the keyCode 229
* trigger a keyup event with the keycode of the key which was actually
  hit
* trigger input events every time the displayed text changes

This include meta-operation uses of [Space] and [Return].

MSIE has the same behavior (including triggering the input event), but
the keydown event is augmented with ``key`` and ``char`` attributes
providing the character matching the key hit to trigger the change.

Although the triggering of the input even is useless for the purpose
of the editable list (especially here, the purpose of validating a
list row with [Return] one fact stands out: keypress is never
triggered during IME operations, hitting the [Return] key outside of
IME will trigger keydow, keypress, keyup but doing so during IME will
only trigger the first and last.

Thus by changing the binding from keyup (return) to keypress (return)
for a line validation, spurious validation during IME text entry
should be avoided. This seems to work correctly on MSIE (Windows),
Firefox (Windows, OSX, Linux), Chrome (Windows, OSX, Linux) and Safari
(OSX), after testing in IE9, IE10, Chrome 31, Firefox 25 and Safari 7,
and a quick test on a task's o2m did not reveal any regression.

note: not all differences between various browser/os combinations were
inspected in details, there may well be further differences which were
not noticed or not relevant to this precise issue.

bzr revid: xmo@openerp.com-20131206124431-q4a9l1gn9wjtmlvz
2013-12-06 13:44:31 +01:00
Denis Ledoux dc458033d5 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9678 rev-id: dle@openerp.com-20131206121552-xre6jj34cpfuldoa
bzr revid: dle@openerp.com-20131206121908-oomajjxqtsp8cipc
2013-12-06 13:19:08 +01:00