Commit Graph

1585 Commits

Author SHA1 Message Date
Olivier Dony 8e06ab16d0 [MERGE] Bugfixes from the 7.0 branch, up to rev. 3845
rev.3845 = launchpad_translations_on_behalf_of_openerp-20130315064417-68iimts1xgj8bn5z

bzr revid: odo@openerp.com-20130315090112-n4h5wpxk2sjhwvrd
2013-03-15 10:01:12 +01:00
Antony Lesuisse 4f6e61a05e [MERGE] base.sass infobox and url text attribute
bzr revid: al@openerp.com-20130314222838-xjf3p76o1n1u2y93
2013-03-14 23:28:38 +01:00
niv-openerp 3d53abcc8e [FIX] corrected small problem that made appear "false" in empty field text
bzr revid: nicolas.vanhoren@openerp.com-20130314135141-lnifcsa405qzjp0j
2013-03-14 14:51:41 +01:00
Quentin (OpenERP) d4181a6625 [MERGE] view_form.js: fixing the statusbar. if there is no domain defined, the statusbar mustn't try to concat with ('|',('id','=',...)) because it is creating a syntactically invalid domain
bzr revid: qdp-launchpad@openerp.com-20130314103233-icm1b664xrisy66k
2013-03-14 11:32:33 +01:00
Fabien Meghazi fe758caa05 [ADD] Added @text attribute to fields@widget=url
bzr revid: fme@openerp.com-20130313154345-6y8s7k5s0vyc3cc8
2013-03-13 16:43:45 +01:00
Cedric Snauwaert ca7aa3ef8d [FIX]view_form : fix invalid domain in widget statusbar when using m2o fields
bzr revid: csn@openerp.com-20130313142554-7k6xgpeq20s8sqru
2013-03-13 15:25:54 +01:00
Thibault Delavallée 408144864b [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130313101756-r0b41kr2c4sxzfm8
2013-03-13 11:17:56 +01:00
Mohammed Shekha 8cb9a216f0 [FIX]Refixed the issue of reload whole record from one2many.
bzr revid: msh@openerp.com-20130313051042-4nqv5abjf9odi2bh
2013-03-13 10:40:42 +05:30
niv-openerp e35e199064 [FIX] small error, probably due to refactoring, that disabled feature of form buttons.
The feature was to disable button automatically buttons in unsaved o2m to avoid errors.

lp bug: https://launchpad.net/bugs/1095255 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130312170515-qt74ceqm50uscupu
2013-03-12 18:05:15 +01:00
Mohammed Shekha 1289a23782 [FIX]Fixed the issue of reload whole record when new record is created for one2many from wizard, so by default only that record is reloaded but as wizard creates new record in one2many so we have reload whole record so that one2many reloaded with new record, we already did this with setting options=reload_on_button to true
bzr revid: msh@openerp.com-20130312134748-kpmf0dxz9iyji1v3
2013-03-12 19:17:48 +05:30
Xavier Morel 18eb55643e [FIX] hide form autofocus trying to focus destroyed fields under the rug
lp bug: https://launchpad.net/bugs/1153437 fixed

bzr revid: xmo@openerp.com-20130312132144-o5enjfemuk5zxilz
2013-03-12 14:21:44 +01:00
Xavier Morel ee46eb8015 [FIX] blurring propagation on m2m tag fields
lp bug: https://launchpad.net/bugs/1153492 fixed

bzr revid: xmo@openerp.com-20130312131412-mtcl932of1466n2j
2013-03-12 14:14:12 +01:00
Xavier Morel 3890039735 [FIX] correctly check for o2m listview validity
if an edition has been canceled, don't check the form's content as it
does not matter.

lp bug: https://launchpad.net/bugs/1103507 fixed

bzr revid: xmo@openerp.com-20130312112244-zmt34jydpzge6yof
2013-03-12 12:22:44 +01:00
Xavier Morel 2dff34a18f [FIX] array extra comma
bzr revid: xmo@openerp.com-20130312110520-aym6nspf6mlcvsqe
2013-03-12 12:05:20 +01:00
ggh-openerp 0e18097084 [IMP] Improved code
bzr revid: ggh@tinyerp.com-20130312072242-61xix526zcilho22
2013-03-12 12:52:42 +05:30
ggh-openerp 4e5fb96772 [IMP] Improved code
bzr revid: ggh@tinyerp.com-20130312060020-lpz1dlwahx1nf7dh
2013-03-12 11:30:20 +05:30
ggh-openerp f5422e8533 [Merge] with Trunk
bzr revid: ggh@tinyerp.com-20130312050346-e2zxslrbynqh01uz
2013-03-12 10:33:46 +05:30
Thibault Delavallée 459fce0150 [CLEAN] Removed unnecessary quotes. As Teal'c said: Indeed.
bzr revid: tde@openerp.com-20130311140838-g9pvncskvuibz1wm
2013-03-11 15:08:38 +01:00
ggh-openerp 58be5244a7 [IMP] Improved code
bzr revid: ggh@tinyerp.com-20130311114618-uyggyahrz6fgjwxo
2013-03-11 17:16:18 +05:30
Thibault Delavallée 16a89075e0 [FIX] FieldTextHtml: fixed quote error in parameter of cleditor, leading to font-family not taken into account.
bzr revid: tde@openerp.com-20130308131452-8mmmpc6was3lfse8
2013-03-08 14:14:52 +01:00
niv-openerp 3f40cad548 [FIX] problem when o2m and readonly fields, now readonly fields are saved in buffered dataset too
bzr revid: nicolas.vanhoren@openerp.com-20130308104336-u2gslznv24h8n88l
2013-03-08 11:43:36 +01:00
niv-openerp 2328040c3a added readonly fields to buffered dataset cache
bzr revid: nicolas.vanhoren@openerp.com-20130308104050-uqt5qi2n9dmcd2hb
2013-03-08 11:40:50 +01:00
niv-openerp 527e17033c [FIX] typo in previous commit
bzr revid: nicolas.vanhoren@openerp.com-20130306162436-nuitgum452gz6bq9
2013-03-06 17:24:36 +01:00
niv-openerp 13ec67e478 [FIX] visual problem in some cases in field texts, solved by switching field texts to simple html output instead of textarea when in read-only mode
lp bug: https://launchpad.net/bugs/1149640 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130306151306-1qwv04bvw50z81z9
2013-03-06 16:13:06 +01:00
Xavier Morel 32d90f6014 [FIX] cleanup m2o field events when reloading m2o fields
The big issue was the hooking on the closest ui-dialog's scroll event:
if an m2o in a dialog (e.g. wizard-type situations) toggled state from
editable to readonly (workflow action of some sort), the event hook
would remain, and call .$input.autocomplete("widget") which would blow
up because the autocompletion widget hasn't been re-initialized.

Take care to fully unbind all events during the reload process to
avoid this issue (and potentially other such as duplicate bindings and
the like).

lp bug: https://launchpad.net/bugs/1146321 fixed

bzr revid: xmo@openerp.com-20130306145527-sssv7ocfvqxgv896
2013-03-06 15:55:27 +01:00
Xavier Morel 8e9fed0574 [IMP] use @draggable instead of hooking on dragstart to disable image and fake-link dragging
Improves upon xmo@openerp.com-20130218104529-i0i8700v2mwxje4b

bzr revid: xmo@openerp.com-20130305100400-8cqkcnd527yn1hbj
2013-03-05 11:04:00 +01:00
Xavier Morel b438ce5249 [FIX] access rights handling on m2m widgets
m2m lists inherit (from listview/view) the handling of access rights
attributes (e.g. @create, @delete) in which the access rights to the
related model are those checked for the view. This is generally true,
but *not* for m2ms: even if a user has no creation rights to the
related model, he can still create a *relation* between the current
and related models.

The m2m access rights are really governed by the *current* (source)
model, in which case the user won't get to see an "editable" view of
the m2m in the first place.

So just override is_action_enabled to disable it in m2ms.

bzr revid: xmo@openerp.com-20130305091956-zn6qtuo4tl0vh3bs
2013-03-05 10:19:56 +01:00
Xavier ALT b07c1a8461 [FIX] statusbar widget: fix no value display for 'selection' field
* really call initial get_selection() after binding 'change:selection'
 overwise no value are assigned to internal selection list - resulting
 to an empty statusbar when field type is 'selection'

bzr revid: xal@openerp.com-20130304230253-0e959r9sintwsd98
2013-03-05 00:02:53 +01:00
Christophe Matthieu cad21aff66 [IMP] web_form: radio help
bzr revid: chm@openerp.com-20130304090427-p342lf7a2evmuqvn
2013-03-04 10:04:27 +01:00
Christophe Matthieu 39206d8013 [IMP] web_form: radio layout
bzr revid: chm@openerp.com-20130304085819-6q0vx9hc89mm0s0i
2013-03-04 09:58:19 +01:00
Christophe Matthieu e4b805fd7b [IMP] wev_form: radio style width
bzr revid: chm@openerp.com-20130304082254-wyv571d2c7y9y9gj
2013-03-04 09:22:54 +01:00
Christophe Matthieu c4f70b450e [IMP] view form: radio, fix and text align
bzr revid: chm@openerp.com-20130303114216-opzxi8f3nsltbnbm
2013-03-03 12:42:16 +01:00
Christophe Matthieu e31af80fd6 [IMP] view form: radio, add display_readonly attributes
bzr revid: chm@openerp.com-20130303112226-sy0curjd252pmg2k
2013-03-03 12:22:26 +01:00
Christophe Matthieu 02c3b2997b [IMP] view form: radio button refact and layout
bzr revid: chm@openerp.com-20130303111821-l9du75yj6dwjy2qo
2013-03-03 12:18:21 +01:00
Christophe Matthieu de11e46751 [IMP] view_form: radio button css
bzr revid: chm@openerp.com-20130302224018-olnclhjzug3edrmx
2013-03-02 23:40:18 +01:00
Christophe Matthieu ee7d866def [IMP] view_form: radio button, attrs horizontal & noradiolabel
bzr revid: chm@openerp.com-20130302220908-f2weyrdh8qf37r3q
2013-03-02 23:09:08 +01:00
Christophe Matthieu 6e56422483 [IMP] view_form: radio button
bzr revid: chm@openerp.com-20130302213849-wk5snztonvy8v0vr
2013-03-02 22:38:49 +01:00
niv-openerp a52d9a3406 Modified to call the placeholder lib in view_form.js
bzr revid: nicolas.vanhoren@openerp.com-20130301144653-6a1z558tjfkvtcar
2013-03-01 15:46:53 +01:00
niv-openerp 36d47aebc1 [FIX] small problem with <button confirm="..."/>, didn't confirmed correctly when closing the popup
lp bug: https://launchpad.net/bugs/1095366 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130301140015-67av4zwrdhbh3srh
2013-03-01 15:00:15 +01:00
Christophe Matthieu 272ac97b46 [MERGE] view_form: refactoring of many2many_binary widget
bzr revid: chm@openerp.com-20130301131340-6ii88x11sudu1n31
2013-03-01 14:13:40 +01:00
Vishmita Jadeja (openerp) 0cb3c23fdb [Merge]Merge lp:openerp-web
bzr revid: vja@tinyerp.com-20130301104802-h03oi6khbhjv0pvs
2013-03-01 16:18:02 +05:30
niv-openerp b413e00d6a [FIX] Field monetary handles "digits" like the float field.
bzr revid: nicolas.vanhoren@openerp.com-20130228165117-z9r9ua18xohn7rgm
2013-02-28 17:51:17 +01:00
Christophe Matthieu 1331af91d4 [IMP] web_form: multifile, don't set_value with object
bzr revid: chm@openerp.com-20130228155112-z6jhpljfuvwiw1yd
2013-02-28 16:51:12 +01:00
Vishmita 4d7cfc9ab3 [IMP]Improve code for bounce on boolean field
bzr revid: vja@tinyerp.com-20130228134740-jqv0zqletq6v1792
2013-02-28 19:17:40 +05:30
Christophe Matthieu 6ad4482d71 [IMP] view_form: FieldMany2ManyBinaryMultiFiles: set value accept object
bzr revid: chm@openerp.com-20130228112034-k8uxj61dilecarwn
2013-02-28 12:20:34 +01:00
Christophe Matthieu f2ea8950a2 [IMP] view_form: FieldMany2ManyBinaryMultiFiles: get/set value
bzr revid: chm@openerp.com-20130228111135-8lhxzc9vya6ltw7p
2013-02-28 12:11:35 +01:00
Vishmita dff2dd0196 [IMP]Bounce ob image
bzr revid: vja@tinyerp.com-20130228054910-3s7mrp39y0kmkfpy
2013-02-28 11:19:10 +05:30
niv-openerp d04d532201 [MERGE] some others fixes from 7.0
bzr revid: nicolas.vanhoren@openerp.com-20130227141209-kemu3v78npynip87
bzr revid: nicolas.vanhoren@openerp.com-20130227142021-oc8i22kpfgmgv9jh
2013-02-27 15:20:21 +01:00
niv-openerp 5a9bf08f46 [FIX] lot of potential bugs, mainly due to quickly clicking on menu items
bzr revid: nicolas.vanhoren@openerp.com-20130227113132-m2kr9slpxp1pogaz
2013-02-27 12:31:32 +01:00
niv-openerp 650ff2dd5e [FIX] remove useless debug messages
bzr revid: nicolas.vanhoren@openerp.com-20130227104226-d75fgyg4iu4igftr
2013-02-27 11:42:26 +01:00
niv-openerp 07a94ec16a [FIX] too much rendering in FieldStatus
bzr revid: nicolas.vanhoren@openerp.com-20130226174509-3dppgg9b9e9xndlj
2013-02-26 18:45:09 +01:00
Fabien Meghazi fa9143b831 [FIX] m2o's autocomplete in a dialog stay absolute positioned when dialog is scrolled down
bzr revid: fme@openerp.com-20130226093346-jtun7zdmzbin7gl0
2013-02-26 10:33:46 +01:00
Fabien Meghazi 017d75f6f0 [FIX] Correctly check the id index in dataset
lp bug: https://launchpad.net/bugs/1098508 fixed

bzr revid: fme@openerp.com-20130225161236-8yb98wfzbkawr8yu
2013-02-25 17:12:36 +01:00
Christophe Matthieu 18387d7e0b [FIX] form_view: field url, don't add http for local link
bzr revid: chm@openerp.com-20130225160932-yfoxmpkf8td9hr8k
2013-02-25 17:09:32 +01:00
Xavier Morel 94c2c42be6 [MERGE] from 7.0
bzr revid: xmo@openerp.com-20130313094909-u21ee88l2lak9p2x
2013-03-13 10:49:09 +01:00
Xavier Morel 021086d5a8 [FIX] Search view's drawer closing unexpectedly when using the date widget
jquery-ui's date picker (at least in currently used version) lets
*some* (but not all) clicks go through. The date picker dialog is
added directly to the page body so capturing clicks in a parent widget
doesn't work, and these "stray" bubbling clicks will trigger the
global bus's "click" event.

Add a capturing (and stopPropagation-ing) of these clicks in our
wrapper to jquery-ui's datepicker to avoid the issue.

lp bug: https://launchpad.net/bugs/1095283 fixed

bzr revid: xmo@openerp.com-20130225110614-p7dmmjd41xdxescy
2013-02-25 12:06:14 +01:00
Fabien Pinckaers 6c3a754e07 [IMP] firefox layout issues
bzr revid: fp@openerp.com-20130224094616-n2o57txk39q97e1m
2013-02-24 10:46:16 +01:00
Fabien Meghazi 73b99d0932 [FIX] IE9: traceback in Reporting when changing type of view
lp bug: https://launchpad.net/bugs/1091715 fixed

bzr revid: fme@openerp.com-20130221221025-dnqws0lwq0bvwi4o
2013-02-21 23:10:25 +01:00
Vidhin Mehta bbb2900f9a [FIX]
bzr revid: vme@tinyerp.com-20130221094853-24ufyiis0bmqlj41
2013-02-21 15:18:53 +05:30
Vidhin Mehta 1cfbfeb061 [MERGE]7.0
bzr revid: vme@tinyerp.com-20130221094453-dupm500oez98cv13
2013-02-21 15:14:53 +05:30
Vidhin Mehta 5da4bd83b6 [IMP]use debounce to close on scroll.
bzr revid: vme@tinyerp.com-20130221093922-ofzreua1ua4nv0yd
2013-02-21 15:09:22 +05:30
Fabien Meghazi 5c8bb9a089 [FIX] FormOpenPopup does not trigger on_button_cancel
bzr revid: fme@openerp.com-20130219143215-68izxr278eu77sn0
2013-02-19 15:32:15 +01:00
Fabien Meghazi ffab924c08 [FIX] FieldStatus does not re-render when view change
bzr revid: fme@openerp.com-20130219141645-3c1avqxnk23gcn1g
2013-02-19 15:16:45 +01:00
Fabien Meghazi b68f13d892 [FIX] BufferedDataset ids should not be passed to on_changes
bzr revid: fme@openerp.com-20130218180732-ivdxvenc2flgl32p
2013-02-18 19:07:32 +01:00
Xavier Morel 6fe0dd8032 [FIX] prevent dragging click target images of m2o and datetime fields
can get slightly disturbing when missing a click and slightly dragging the image instead, possibly to the input (pasting its URL)

lp bug: https://launchpad.net/bugs/1098230 fixed

bzr revid: xmo@openerp.com-20130218104529-i0i8700v2mwxje4b
2013-02-18 11:45:29 +01:00
Bhumi Thakkar (Open ERP) 4527e79caa [IMP] Set focus click on field or arrow.
bzr revid: bth@tinyerp.com-20130215112514-xucy07vc41dtdycf
2013-02-15 16:55:14 +05:30
Bhumi Thakkar (Open ERP) b7ce267cbc [IMP] Improve code to fix issue in editing list for m2m field.
bzr revid: bth@tinyerp.com-20130215110927-eu4n0sk21czcymwp
2013-02-15 16:39:27 +05:30
ggh-openerp 51879ca616 [IMP] Improve bounce in H1 and lost content
bzr revid: ggh@tinyerp.com-20130215073601-nw5tqcabrlet1qn8
2013-02-15 13:06:01 +05:30
ggh-openerp 69fd654fce [IMP]Bounce effect on bigger names(H1) and o2m fields
bzr revid: ggh@tinyerp.com-20130215063825-lkq8p74kbt1ynliq
2013-02-15 12:08:25 +05:30
Fabien Meghazi e1726fa1ee [FIX] FormView#do_load_state() do not call @do_show() properly
bzr revid: fme@openerp.com-20130205170556-w9xxre6lmqny33xc
2013-02-05 18:05:56 +01:00
Fabien Meghazi c9f2a86be5 [FIX] Calendar popup form view_id is not honored. Default form view is used instead.
Added instance.web.ViewManager#get_view_id(view_type)
Fetch the title of the popup from the parent if it's a ViewManagerAction,
    otherwise, use the current's view title.

bzr revid: fme@openerp.com-20130204124348-p79drjm72vt2j2ty
2013-02-04 13:43:48 +01:00
ggh-openerp 3e51a7eaac [IMP] Improved bounce effect on popup form view
bzr revid: ggh@tinyerp.com-20130204091534-idayo7ag2b4g4vtp
2013-02-04 14:45:34 +05:30
ggh-openerp 081f3ee483 Improve code for bounce effect in statusbar
bzr revid: ggh@tinyerp.com-20130131090317-h9ce44qob4zohbdj
2013-01-31 14:33:17 +05:30
ggh-openerp dac59ced48 [IMP] bounce effect on highlight button using statusbar
bzr revid: ggh@tinyerp.com-20130131053827-219jr1awgh4tr685
2013-01-31 11:08:27 +05:30
ggh-openerp cab1e94006 [Fix] Fixed the issue of bounce effect in statusbar
bzr revid: ggh@tinyerp.com-20130130072900-wvucseuo7fflaupq
2013-01-30 12:59:00 +05:30
Xavier Morel e761ab7454 [FIX] domain returned by onchange
The "new" form engine performs a bunch of conversions on the form arch
from json to xml to text to json again (or something), thus the
``node`` attribute on form fields might be json but it's got no more
relation to the form's own arch (and the fields defined therein).

Meanwhile the domains processing for onchange recursively traversed
the *form*'s arch trying to find a node matching the key it had to set
its @domain to what it was given. It long predates the "new" form
engine, and since it alters the *original* arch not a copy the "new"
form engine broke it. And since that's untested, it's been broken for
a bunch of months (probably).

Fix by looking up the field according to the domain key (in
form.fields), and setting the domain in the node of the field, rather
than the node of the form's arch.

lp bug: https://launchpad.net/bugs/1088447 fixed

bzr revid: xmo@openerp.com-20130124144018-0g3sl2nej2aj6syp
2013-01-24 15:40:18 +01:00
Vishmita 6c460544cc [Fix]Improve code
bzr revid: vja@tinyerp.com-20130123105838-kd4isg7vcxcfk0su
2013-01-23 16:28:38 +05:30
Vishmita 93a1d36d90 [FIX]Pager doesn't disappear when we create a new record from o2m/m2m popup
lp bug: https://launchpad.net/bugs/1096830 fixed

bzr revid: vja@tinyerp.com-20130122133956-tv425if9oe3zqsr6
2013-01-22 19:09:56 +05:30
Bhumi Thakkar (Open ERP) d3fc2b3602 [FIX] onchange call after m2o returns after/with changes.--fixes:lp577376
bzr revid: bth@tinyerp.com-20130122103358-csduy0gtwi58kp76
2013-01-22 16:03:58 +05:30
Vidhin Mehta bf8cb150ba [FIX]Auto complete issue of many2one.
bzr revid: vme@tinyerp.com-20130122070310-pi2wfcdota1kn9kg
2013-01-22 12:33:10 +05:30
Christophe Matthieu 61c9e6a717 [MERGE] with trunk
bzr revid: chm@openerp.com-20130104152849-0txtt7q9ptpdkd63
2013-01-04 16:28:49 +01:00
Fabien Meghazi 5f7a8b66e0 [FIX] Empty binary fields does not hide filename placeholder
lp bug: https://launchpad.net/bugs/1054111 fixed

bzr revid: fme@openerp.com-20130107161807-fvzdgayqhf8hx92q
2013-01-07 17:18:07 +01:00
niv-openerp 5cafcf5570 [FIX] potential problem with empty save message in form view in some cases and access rights
lp bug: https://launchpad.net/bugs/1093781 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130102102835-a1uibudlohbsz9x8
2013-01-02 11:28:35 +01:00
Thibault Delavallée 6de27635d6 [IMP] cleditor: stop using custom font-size, font-family.
bzr revid: tde@openerp.com-20121226161307-nuud3r2omhi1sf3v
2012-12-26 17:13:07 +01:00
Christophe Matthieu fdfe8e04f8 [MERGE] fix view_form: m2m_tags: Overwrite onSetInputData to reset suggestions if input is empty for the last selection don't stay persistent.
bzr revid: chm@openerp.com-20121221140236-sbnsh0m6laqnxegd
2012-12-21 15:02:36 +01:00
niv-openerp ab154e8cbc [FIX] small code problem in set defaults feature
lp bug: https://launchpad.net/bugs/1112232 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130322163935-557zk749eiuswpcg
2013-03-22 17:39:35 +01:00
Fabien Meghazi 2b40c8ba9e [FIX] Fix FormFields#focus()
The focus() of AbstractFormField should return false if field
is not focusable otherwise it breaks FormView's#autofocus()

Also added checks of existance of the element to focus.
Those errors makes it harder to find other bugs

bzr revid: fme@openerp.com-20130321220636-1pja2ahsdstyl8kz
2013-03-21 23:06:36 +01:00
Fabien Meghazi f4a98e143b [MERGE] Date Picker is not translated into local language
lp bug: https://launchpad.net/bugs/1101072 fixed

bzr revid: fme@openerp.com-20130321115330-cz7gk7il6hkvntw9
2013-03-21 12:53:30 +01:00
Bhumi Thakkar (Open ERP) ef1e8f54dd [FIX] Date Picker is not translated into local language.--fixes:lp1101072
bzr revid: bth@tinyerp.com-20130122114932-o2jd05u247jlv02c
2013-01-22 17:19:32 +05:30
vta vta@openerp.com 948d566403 [MERGE] Improvement on m2obutton widget
bzr revid: vta@openerp.com-20121220150716-a8w94s74x9ejqch5
2012-12-20 16:07:16 +01:00
Fabien Meghazi 31592e96aa [ADD] Added an openerpBounce jquery plugin
bzr revid: fme@openerp.com-20121219151217-bxp1p04gmbccckys
2012-12-19 16:12:17 +01:00
Fabien Meghazi d234a24de0 [MERGE] trunk
bzr revid: fme@openerp.com-20121219150025-h9h1956xey3tok57
2012-12-19 16:00:25 +01:00
Fabien Meghazi 677b783dc5 [FIX] Special case fields type 'id'. Always set readonly.
lp bug: https://launchpad.net/bugs/1091344 fixed

bzr revid: fme@openerp.com-20121218173115-d5zgbfdkj3kivq26
2012-12-18 18:31:15 +01:00
vta vta@openerp.com 1d62e37925 [FIX] FieldStatus.get_selection() many2one domain issues
bzr revid: vta@openerp.com-20121218134740-ipmem2fo4mtgeaks
2012-12-18 14:47:40 +01:00
niv-openerp 8a3fe9f0c2 [FIX] make the field text resize correctly
lp bug: https://launchpad.net/bugs/1089447 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121213150653-slmic4hcc2m95xy0
2012-12-13 16:06:53 +01:00
niv-openerp 906ceba948 [IMP] lot of small improvements to better detect when a view has finished loading
bzr revid: nicolas.vanhoren@openerp.com-20121213140914-8d1u01h17r2x4fpu
2012-12-13 15:09:14 +01:00
Christophe Matthieu 389b865d54 [MERGE] catch and display error when there are an error in an attachment. Add title with creator and date for attachments on the sidebar.
bzr revid: chm@openerp.com-20121211152455-nrx74yqs0ui1hsmr
2012-12-11 16:24:55 +01:00
Xavier Morel bc8e74d8b0 [FIX] focusing of form fields, implementation of focusing for tag m2m
jQuery's *focus* method must *not* be used: it triggers the blur and
focus events in the wrong order (and potentially more than once),
breaking the focus handling of the o2m editable list and making it
essentially unusable.

The DOM method behaves correctly, triggers the blur first and the
focus second in a different runloop frame (thus it's possible to bind
on blur, wait a set time and execute the actual blurring iif no focus
event has been seen within the form).

bzr revid: xmo@openerp.com-20121211145652-y63a0ny0gmoiozhn
2012-12-11 15:56:52 +01:00
Christophe Matthieu f817cd3f38 [IMP] web: move controler download_attachment into mail. change render into _t
bzr revid: chm@openerp.com-20121211144551-9uryi1z1sxe9daxv
2012-12-11 15:45:51 +01:00
Christophe Matthieu 6129e62c28 [IMP] web_form: refactoring of FieldMany2ManyBinaryMultiFiles
bzr revid: chm@openerp.com-20121211124311-sqd4hv9ubkptuvvv
2012-12-11 13:43:11 +01:00
Christophe Matthieu b83c11d61a [FIX] web_form: FieldMany2ManyBinaryMultiFiles get_value work with default_value and unloaded value
bzr revid: chm@openerp.com-20121211105045-0kugxoijdxh8sm7s
2012-12-11 11:50:45 +01:00
Fabien Meghazi c124fc3281 [FIX] Roundtrips binary field value if not bin size
lp bug: https://launchpad.net/bugs/1082616 fixed

bzr revid: fme@openerp.com-20121211103357-csqirmhxehmszyu4
2012-12-11 11:33:57 +01:00
Xavier Morel e616a9aa14 [FIX] would be better if we could write to textareas as well
bzr revid: xmo@openerp.com-20121211101901-1lqbca199wbce2ld
2012-12-11 11:19:01 +01:00
Xavier Morel d165b1715c [FIX] broken writing to selection field from web UI
lp bug: https://launchpad.net/bugs/1088764 fixed

bzr revid: xmo@openerp.com-20121211090610-qoh1zazzpp00sx5l
2012-12-11 10:06:10 +01:00
Xavier Morel 45f3ee1909 [FIX] xmo@openerp.com-20121210143808-wt4jmi4x0pg85xb8 issue: don't store value from non-existent input
bzr revid: xmo@openerp.com-20121210154411-vrju22fwq7gsjblm
2012-12-10 16:44:11 +01:00
Xavier Morel d1b9cfce37 [FIX] form widgets failing to return correct value on programmatic save
Editable list was losing value when switching to other row from edited
cell (edit, tab-to-next-fiend then change record worked).

When changing row (by clicking on an other row or pressing up/down),
the list view simply request saving the current form and — once that
is done — switches the form to the new row.

The issue is in what happens *during* form-saving: for most text-based
fields (e.g. CharField-like) the field returns its internal
value. Said internal value was only synchronized when the internal
form control (input or textarea) fired the ``change`` event... and the
change event only fires *after blurring* (leaving) the current
field. So the form saving (and thus the retrieval of field values)
occured before the field could sync its internal value with the one
entered by the user.

Added a bunch of commit_value override to perform this synchronization
right before the field's value is requested.

Also removed an extraneous trailing comma in an array, and removed 2
useless temp storage (unused variables beyond their assignment).

bzr revid: xmo@openerp.com-20121210143808-wt4jmi4x0pg85xb8
2012-12-10 15:38:08 +01:00
Xavier Morel 70f8f99b35 [FIX] prevent propagation of [UP] and [DOWN] keydown events in form m2o
these events are used by the autocompletion widget internally, if they
bubble upwards they also get handled by the list view which interprets
them as going up/down the list.

Prevent the latter by suppressing bubbling of these events.

bzr revid: xmo@openerp.com-20121210112203-3mry0pvecri0pv9o
2012-12-10 12:22:03 +01:00
Christophe Matthieu 27bc9ed5fa [IMP] mail: fix display message attachment error
bzr revid: chm@openerp.com-20121207091134-9v0ce6o3dp8gca7l
2012-12-07 10:11:34 +01:00
Christophe Matthieu 94c9801ac7 [MERGE] from trunk
bzr revid: chm@openerp.com-20121207081026-3edlt0698csc6gk8
2012-12-07 09:10:26 +01:00
Christophe Matthieu 98e87a51ae [IMP] attachment: sidebar rendering of tipsy in html mode, and error fix
bzr revid: chm@openerp.com-20121207080946-f7zr853hvdhdrsk0
2012-12-07 09:09:46 +01:00
Fabien Meghazi 3dbed3b90d [MERGE] Removed fields_view_get from web controller. Replaced by instance.web.fields_view_get
bzr revid: fme@openerp.com-20121206161749-0cx1xychzqe96fb2
2012-12-06 17:17:49 +01:00
Xavier Morel 7ac99cbeaf [FIX] form selection field: don't interpret value 0 as false in the template when the code doesn't do so
bzr revid: xmo@openerp.com-20121206135114-nuwc3wdc6zatbl3d
2012-12-06 14:51:14 +01:00
Tejas Tank 3464960518 Merged Latest.
bzr revid: tta@openerp.com-20121206111229-q2fn8zfp71ntclxv
2012-12-06 16:12:29 +05:00
Fabien Meghazi 4c66504f78 [STEP BACK] One step back in the cleaning process. Maybe for v8.
bzr revid: fme@openerp.com-20121205160536-p9dm7zdxq2qb9mqs
2012-12-05 17:05:36 +01:00
Fabien Meghazi 96d3fbe37b [IMP] No need to strip whitespaces afterall
bzr revid: fme@openerp.com-20121205110039-o4kt0mpbq2b5zbd2
2012-12-05 12:00:39 +01:00
Fabien Meghazi 8d9367a873 [FIX] Do not insert Elements instead of HTMLElements in the dom
bzr revid: fme@openerp.com-20121205105933-y3glnms4dnk7k2uz
2012-12-05 11:59:33 +01:00
Fabien Meghazi 595ba7a799 [FIX] Remove fvg steps from form view
bzr revid: fme@openerp.com-20121205093522-4mws91b2i14f7j1z
2012-12-05 10:35:22 +01:00
Christophe Matthieu b04a134a16 [FIX] view_form: m2m_tags, when a user quick create a tag, select a tags in the list or blurred and click on the arrow, the last selection is persistant. Overwrite onSetInputData to reset suggestions if input is empty.
bzr revid: chm@openerp.com-20121204102304-iru8pcjlca8zh5fj
2012-12-04 11:23:04 +01:00
Christophe Simonis 0892aa7c49 [IMP] improve css for monetary fields
bzr revid: chs@openerp.com-20121203184214-wdunfzy4u2z99fk5
2012-12-03 19:42:14 +01:00
vta vta@openerp.com 44f27eca8e [IMP] Improve M2OButton.
bzr revid: vta@openerp.com-20121203151525-j464860k1ueqztp6
2012-12-03 16:15:25 +01:00
Christophe Matthieu 989c308694 [FIX] web form : catch and display error when there are an error in an attachment upload
bzr revid: chm@openerp.com-20121130090347-xfwiwnktagbvyoqz
2012-11-30 10:03:47 +01:00
Xavier Morel 0b0cfff063 [MERGE] missing translation marks, courtesy of Csaba TOTH
lp bug: https://launchpad.net/bugs/1084306 fixed

bzr revid: xmo@openerp.com-20121129140109-bwx1njhyqfenc2d3
2012-11-29 15:01:09 +01:00
niv-openerp 184593003b [FIX] race condition problem with m2m
bzr revid: nicolas.vanhoren@openerp.com-20121129134051-5hiw9z5hi99fxtve
2012-11-29 14:40:51 +01:00
tsabi 76ca47d4fd [MERGE] trunk
bzr revid: csaba.toth@i3rendszerhaz.hu-20121129114132-gfe3sn1p5t0mzofm
2012-11-29 12:41:32 +01:00
Xavier Morel e00cb36f41 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121129091038-0fexjx8o12drjbga
2012-11-29 10:10:38 +01:00
tsabi e2435d4f00 fixed a typo that maked javascript error
bzr revid: tsabi-20121129011822-fv9v0l72231y0093
2012-11-29 02:18:22 +01:00
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Xavier Morel 2b75593168 [FIX] don't display password fields in set_default dialogs
lp bug: https://launchpad.net/bugs/1015092 fixed

bzr revid: xmo@openerp.com-20121128135013-xzanbxv6qoqo28kh
2012-11-28 14:50:13 +01:00
Xavier Morel ddcce477d7 [FIX] eq/neq of arrays in compute_domain
bzr revid: xmo@openerp.com-20121128134142-eywfsl3bv56pvoso
2012-11-28 14:41:42 +01:00
Tejas Tank e0f6e8701e [MERGE]: Merged
bzr revid: tta@openerp.com-20121128133712-3b86sc96skj3prfa
2012-11-28 18:37:12 +05:00
Christophe Matthieu b41ee4833e [MERGE] from trunk-first-10clicks-accounting-tta; Selection Placeholder. No traceback py but a warning/constraint message for wrong value insert for float and int.
bzr revid: chm@openerp.com-20121128083349-qfnl5rbaprq7hlh6
2012-11-28 09:33:49 +01:00
Tejas Tank 81a2e23dd6 [FIX] clean the code.
bzr revid: tta@openerp.com-20121128053540-01z3yiooq83foyew
2012-11-28 11:05:40 +05:30
Xavier Morel 908c986ce8 [FIX] onchange for client-side evaluation: use regular method calls
bzr revid: xmo@openerp.com-20121127133435-ss3g97sm43mrtbla
2012-11-27 14:34:35 +01:00
Hiral Patel (OpenERP) df4f922683 [MERGE] Merge with lp:openerp-web
bzr revid: hip@tinyerp.com-20121126044500-3elpfk2qcv3oo6pz
bzr revid: hip@tinyerp.com-20121127072837-v5419ybohenkfgeu
2012-11-27 12:58:37 +05:30
Fabien Meghazi d0195e30e8 [FIX] Many2Many kanban binds "change:effective_readonly" too late.
The problem occured when opening a form view containing a m2m_kanban
from a kanban view using an Edit button.

Eg: when opening an existing project from project kanban view using
    the dropdown item "Project Settings", no "Add" button appears in
    the project Team tab.

bzr revid: fme@openerp.com-20121126102533-ak96lhsxbfx8io7n
2012-11-26 11:25:33 +01:00
Hiral Patel (OpenERP) be4047ff1b [IMP] The bounce effect is too fast everywhere, slow it down a little bit
bzr revid: hip@tinyerp.com-20121123121745-rmi0wnmzmfq6nx9z
2012-11-23 17:47:45 +05:30
Xavier Morel 709f2506ff [REM] server-side eval_domain_and_context
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
niv-openerp 9b59a88a5c [IMP] Put pager in SelectCreatePopup.
bzr revid: nicolas.vanhoren@openerp.com-20121122133555-a5cf1m5sbgs2kv1i
2012-11-22 14:35:55 +01:00
Fabien Meghazi c0bb84a3fe [IMP] Move 'Set Defaults' from sidebar's 'More' menu to advanced debug box
bzr revid: fme@openerp.com-20121122090754-d8hl9c7jtobgstxj
2012-11-22 10:07:54 +01:00
Fabien Meghazi 74a5e92d46 [FIX] Binary fields, limit upload size to 25Mo (only works for browsers supporting FileAPI)
bzr revid: fme@openerp.com-20121121104329-5aa88lxqogn206l2
2012-11-21 11:43:29 +01:00
Fabien Meghazi a0c3ba7a1c [MERGE] many2many_tags: correctly checks it's falsy value
bzr revid: fme@openerp.com-20121121100812-gzn25f8g50cr5t3t
2012-11-21 11:08:12 +01:00
Denis Ledoux dle@openerp.com 08e0522ad6 [FIX]Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted
lp bug: https://launchpad.net/bugs/1080997 fixed

bzr revid: dle@openerp.com-20121120153958-jopkpxmz38b78phj
2012-11-20 16:39:58 +01:00
niv-openerp 999c0b2cab [FIX] Modified behavior when we click on an action in the 'More' menu.
Since revision 1517, when using the sidebar from a form view, it merged all the fields of the form view in the context of the action.
It was modified to avoid that context pollution, now it only uses those fields to evaluate the context of that action. So it allows
specifying contexts like "{'invoice_id': invoice_id}", but invoice_id will not be propagated any more to the new action context if not
explicitely specified.

bzr revid: nicolas.vanhoren@openerp.com-20121120100620-ig4e02uctysk7oj8
2012-11-20 11:06:20 +01:00
Tejas Tank 86408a7348 Merged Latest.
bzr revid: tta@openerp.com-20121120092907-cqr0uuusv86uaiwx
2012-11-20 14:59:07 +05:30
Fabien Meghazi 9180d9702b [FIX] Don't leave button@type=submit in IE
bzr revid: fme@openerp.com-20121119143719-1uu4s71jyudfi5u3
2012-11-19 15:37:19 +01:00
Christophe Matthieu c7e8142cae [FIX] many2many_tags: the widget accept the required attribute
bzr revid: chm@openerp.com-20121119122413-plp6klbytyjuhwqt
2012-11-19 13:24:13 +01:00
Xavier Morel 86842fe9c8 [FIX] correctly handle case of deleting-an-o2m-line-being-edited
move special case in o2m listview to main editable and expand to
correctly fit edition cases, not just work in case of creation

issue: if a row being edited is deleted in an o2m, the form will be
blurred and try cancelling/saving the edition and reloading the row,
but this will only happen *after* the record/row/whatever has been
"deleted" and (amongst other things) removed from the buffered o2m
cache, leading to a tentative read on the server side (usually with a
local id which doesn't even make sense) and thus an error.

Intercept the deletion signal to cancel the edition immediately and
only let the deletion through after the edition has successfully been
canceled.

bzr revid: xmo@openerp.com-20121116164416-8kr39t6jtqy2s3jc
2012-11-16 17:44:16 +01:00
Christophe Matthieu ea92f73acc [MERGE] from trunk-mail-uploader-chm
bzr revid: chm@openerp.com-20121116151506-z0qg8cgf069kdato
2012-11-16 16:15:06 +01:00
niv-openerp 40c4ed7f54 [FIX] problem in editable list o2m when hitting the enter button rapidly
bzr revid: nicolas.vanhoren@openerp.com-20121116151248-il59eiekk758suco
2012-11-16 16:12:48 +01:00
Christophe Matthieu 6debec3f10 [IMP] web form: one2many_binary became many2many_binary
bzr revid: chm@openerp.com-20121116112517-yqc9w37iz5yg2xf0
2012-11-16 12:25:17 +01:00
Fabien Meghazi 8c2764115f [FIX?] Probably fix something... ? See previous revision.
bzr revid: fme@openerp.com-20121115182331-0vz3beb6x2od9xhs
2012-11-15 19:23:31 +01:00
Fabien Meghazi cace9f7887 [IMP] Centralized 'openerp' class on top level elements. Also add openerp_ie class for MSIE
bzr revid: fme@openerp.com-20121115164132-i6a0u8zk3knm1zkv
2012-11-15 17:41:32 +01:00
Christophe Matthieu 6807a2e07c [IMP] web form: FieldOne2ManyBinaryMultiFiles no delete file on set value
bzr revid: chm@openerp.com-20121115135904-17rg7j5g8xu4rjvn
2012-11-15 14:59:04 +01:00
Christophe Matthieu 64e46a1e0e [IMP] web form: one2many_binary accept all values one2any and default values
bzr revid: chm@openerp.com-20121115122834-5vo00jagzvysti1a
2012-11-15 13:28:34 +01:00
Christophe Matthieu 739775253f [FIX] web: FieldOne2ManyBinaryMultiFiles fix the loading for default ids files list
bzr revid: chm@openerp.com-20121115092149-lsbxb9ougxwkkktn
2012-11-15 10:21:49 +01:00
Christophe Simonis eb5a5bf838 [IMP] add method session.url() to generate correct url
bzr revid: chs@openerp.com-20121114174150-9nhj50vftt4lrf0k
2012-11-14 18:41:50 +01:00
Fabien Meghazi 4fb15efb59 [FIX] IE does not accept custom button@type attribute
Added one more step in views serialization historic hell

bzr revid: fme@openerp.com-20121114164413-wrnxlbuh9zj924yk
2012-11-14 17:44:13 +01:00
Denis Ledoux dle@openerp.com 8dcaac7f54 [FIX]Wrong date for datepicker, due to using self.value instead of self.get('value')
lp bug: https://launchpad.net/bugs/1075504 fixed

bzr revid: dle@openerp.com-20121114144345-boqe04siijwsuqor
2012-11-14 15:43:45 +01:00
Xavier Morel 67115184f8 [FIX] references to renamed/removed methods in event handler bindings
bzr revid: xmo@openerp.com-20121114130600-2qf8egm0r9bwno1n
2012-11-14 14:06:00 +01:00
Xavier Morel 01630d6800 [FIX] focus/blur in fieldm2mtags in case of tabbing in/out
bzr revid: xmo@openerp.com-20121114114508-g97xdgq4a4fhpmjz
2012-11-14 12:45:08 +01:00
Xavier Morel 7d18be69a5 [FIX] form shortcuts being somewhat active in listview leading to strange behaviors
added a predicate and a decorator to View, so that views can easily
check if they are the active view and only execute relevant actions
when they are.

lp bug: https://launchpad.net/bugs/1067133 fixed

bzr revid: xmo@openerp.com-20121113153610-7yogikfyg4rxwsjp
2012-11-13 16:36:10 +01:00
Xavier Morel f908f44759 [FIX] remove min-width on number form fields when inside an editable list view
otherwise it refused to fit in small cells

also remove !important specifications which are just a bloody fucking
pain every single time, they're just a shit hack over doing things
correctly in the first place, to hell with these things.

lp bug: https://launchpad.net/bugs/1046180 fixed

bzr revid: xmo@openerp.com-20121113123047-jspflyhfb8gei24r
2012-11-13 13:30:47 +01:00
Fabien Meghazi cd4c3c61ff [FIX] Listview does not handle base64 value for binary fields
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112171128-a1aoq2q4fma6fpxc
2012-11-12 18:11:28 +01:00
Thibault Delavallée 4ca42f9968 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112104931-jvcn0853jx08do7n
2012-11-12 11:49:31 +01:00
Harry (OpenERP) d8034fa4f4 [MERGE]
bzr revid: hmo@tinyerp.com-20121112092513-ngonx9bv68uw2gb5
2012-11-12 14:55:13 +05:30
niv-openerp fac7bea3a2 [FIX] problems with the progressbar widget in form view
bzr revid: nicolas.vanhoren@openerp.com-20121109134958-kp44r6gix54uouhu
2012-11-09 14:49:58 +01:00
Christophe Matthieu df96456fc5 [FIX] view_form: fixing blockUI attribute in multi file uploader
bzr revid: chm@openerp.com-20121109102102-o5t86g1jz82175jk
2012-11-09 11:21:02 +01:00
vta vta@openerp.com bbb5192346 [FIX] Many2OneButton, don't subscribe to write_complete event.
bzr revid: vta@openerp.com-20121108154215-4b3sk7nh41xfrl62
2012-11-08 16:42:15 +01:00
vta vta@openerp.com e0094e20de [FIX] Issue when triggering 'write_completed' on AbstractFormPopup, argument not passed.
bzr revid: vta@openerp.com-20121108152231-cdtdxa1q9rl4eyre
2012-11-08 16:22:31 +01:00
Fabien Meghazi c6d4dcd2ab [FIX] Fix form view bounce effect
bzr revid: fme@openerp.com-20121108151810-c5p3rsha9x8kg6lv
2012-11-08 16:18:10 +01:00
Fabien Meghazi 0b4b1cf52d [MERGE] trunk
bzr revid: fme@openerp.com-20121108111222-cetz6q6s47iwxnm2
bzr revid: fme@openerp.com-20121108111448-2rzx9moaqloc5lpc
2012-11-08 12:14:48 +01:00
Xavier Morel 7c3d2a37b5 [IMP] support set_dimensions on date and datetime form widgets
bzr revid: xmo@openerp.com-20121108103631-dlgw5q58agq8ndb0
2012-11-08 11:36:31 +01:00
Fabien Meghazi 225b0c2c2d [MERGE] trunk
bzr revid: fme@openerp.com-20121108091548-enm1aftirkzngld1
2012-11-08 10:15:48 +01:00
Xavier Morel a423c32454 [IMP] m2m_tags code
bzr revid: xmo@openerp.com-20121107161955-bc7bxmmbdkmr34ix
2012-11-07 17:19:55 +01:00
niv-openerp 6f79b279bf [IMP] removed "blacklist" feature in form view that was implemented due to inability to call get_value() on a o2m during its modification. With the recent commit_value() implementation this feature is now useless.
bzr revid: nicolas.vanhoren@openerp.com-20121108103856-uou2leyng8bhx5ba
2012-11-08 11:38:56 +01:00
niv-openerp 86f9f5db35 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121108100145-i1ey2f6g07nri18a
2012-11-08 11:01:45 +01:00
Antony Lesuisse a963bd019a [MERGE] m2o button
bzr revid: al@openerp.com-20121107151954-aqqtn4w6hpd39kmi
2012-11-07 16:19:54 +01:00
Xavier Morel bfad5ad032 [ADD] custom dimensioning of a bunch of form widget for better editable listview compat/styling
bzr revid: xmo@openerp.com-20121107132152-9s6s1n4fn4bwjdm2
2012-11-07 14:21:52 +01:00
Tejas Tank 47e028f6c9 Merge with latest.
bzr revid: tta@openerp.com-20121107115008-rkt9fpy2r6lgirkk
2012-11-07 17:20:08 +05:30
Tejas Tank 1a9f93fc85 [fix] on model form tags issue fixed..
bzr revid: tta@openerp.com-20121107113256-ac6znf9m5ibzoovl
2012-11-07 17:02:56 +05:30
Fabien Meghazi 8b18d999bd [FIX] BinaryImage field triggers render_value() two times on file change
bzr revid: fme@openerp.com-20121107111247-ge1oi0oxbr7k5dhf
2012-11-07 12:12:47 +01:00
vta vta@openerp.com 064003797e [FIX] Issue with py.eval if no options passed.
bzr revid: vta@openerp.com-20121107104933-a60t27t1hjyu368f
2012-11-07 11:49:33 +01:00
vta vta@openerp.com 4b0d99d6c8 [IMP] Now the Many2OneButton accepts an option (label) containing a dict to set the string displayed in the button ({'create':String, 'edit':String}). If no label, the string is empty.
bzr revid: vta@openerp.com-20121107103426-u6dfd1vcfu8fwap3
2012-11-07 11:34:26 +01:00
Fabien Meghazi f06b78dbf6 [MERGE] trunk
bzr revid: fme@openerp.com-20121107091047-uehws6qa3ouaa4fs
2012-11-07 10:10:47 +01:00
vta vta@openerp.com 83405dba45 [IMP] Make the popup accessible.
bzr revid: vta@openerp.com-20121107081738-kortakwtjj7s9k80
2012-11-07 09:17:38 +01:00
Tejas Tank d22ade963d Merged with latest.
bzr revid: tta@openerp.com-20121107072349-legqnnhnczvl0ny2
2012-11-07 12:53:49 +05:30
Tejas Tank e4effd6585 [IMP] Remove traceback with a warning/constraint message for float field.
bzr revid: tta@openerp.com-20121107063810-ulei1bq8aw1xctyl
2012-11-07 12:08:10 +05:30
Fabien Meghazi 86d9b7be0c [IMP] Binary Image: warn user when selected image could not be displayed. Also use placeholder
bzr revid: fme@openerp.com-20121106172036-d9jkebo9mj45thft
2012-11-06 18:20:36 +01:00
niv-openerp 2a9779045f [FIX] rare problem in m2mtags, when the form view is destroyed just after a reload
lp bug: https://launchpad.net/bugs/1075543 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121106162525-c835kdpjpj66e714
2012-11-06 17:25:25 +01:00
vta vta@openerp.com c275363921 [FIX] Text conflicts.
bzr revid: vta@openerp.com-20121106154141-03nnje0th7cjtlqf
2012-11-06 16:41:41 +01:00
Thibault Delavallée a006b078ed [REVIEW] trigger closing -> trigger closed, to match the code guidelines.
bzr revid: tde@openerp.com-20121106145940-cji6varovqtgneiz
2012-11-06 15:59:40 +01:00
Thibault Delavallée 018a91ddc0 [MERGE] Sync with web/trunk.
bzr revid: tde@openerp.com-20121106145336-vm8vxzd9baui7iih
2012-11-06 15:53:36 +01:00
Fabien Meghazi d221165c59 [FIX] Better fix than Revision: 3338 revid:fme@openerp.com-20121106094244-oybwglprd1v3g5xn
bzr revid: fme@openerp.com-20121106134145-uzijdxde2otoxdfy
2012-11-06 14:41:45 +01:00
Christophe Matthieu af2c38f4c9 [IMP] web: trigger closing for popup
bzr revid: chm@openerp.com-20121106125206-icm2s8fvb13m40w9
2012-11-06 13:52:06 +01:00
niv-openerp fd2bb078fb Fixed problem with editable list
bzr revid: nicolas.vanhoren@openerp.com-20121106103828-uw6xv1ed7wueii71
2012-11-06 11:38:28 +01:00
vta vta@openerp.com 83a264ff2b [FIX] Fixed list view widget as per xmo review.
bzr revid: vta@openerp.com-20121106103320-zyon6mzsy9jaafj0
2012-11-06 11:33:20 +01:00
Christophe Matthieu d3e5d953b1 [IMP] web: field many2many_tags_email moved to mail addon
bzr revid: chm@openerp.com-20121106095700-q5gtxandi7o0jn6o
2012-11-06 10:57:00 +01:00
Fabien Meghazi 21778b193e [FIX] FormAbstractPopup calls dialog('close') a second time. jQuery ui 1.9 is not tolerant to that.
bzr revid: fme@openerp.com-20121106094244-oybwglprd1v3g5xn
2012-11-06 10:42:44 +01:00
Fabien Meghazi 8821c77158 [MERGE] trunk (jquery api changes in place then's -> done's)
bzr revid: fme@openerp.com-20121105201717-91w9gwlumkvellmw
2012-11-05 21:17:17 +01:00
niv-openerp 90484f7858 Implemented commit_value in o2m (must still fix problem in list editable, it does not seem to tolerate multiple calls to save)
bzr revid: nicolas.vanhoren@openerp.com-20121105171412-g8okue97wjbkeu3t
2012-11-05 18:14:12 +01:00
Fabien Meghazi a2852d5774 [MERGE] trunk
bzr revid: fme@openerp.com-20121105151914-tcxu1hn324cbts3l
2012-11-05 16:19:14 +01:00
niv-openerp cd88f9ec02 modified doc
bzr revid: nicolas.vanhoren@openerp.com-20121105150540-yhcfpoiwffv6kjs3
2012-11-05 16:05:40 +01:00
vta vta@openerp.com 492379e6c4 [FIX] Added parameters to trigger.
bzr revid: vta@openerp.com-20121105145431-qk01mspfvldusa13
2012-11-05 15:54:31 +01:00
vta vta@openerp.com 3b87df079e [ADD] Added new widget, Many2OneButton, to view_form.js and view_list.js.
bzr revid: vta@openerp.com-20121105130232-rpde2k1ihbquznmg
2012-11-05 14:02:32 +01:00
niv-openerp a4dd317271 Now uses commit_value
bzr revid: nicolas.vanhoren@openerp.com-20121105111819-g4dovxlob9ivashl
2012-11-05 12:18:19 +01:00
niv-openerp 8f341d3555 [IMP] put back commit_value
bzr revid: nicolas.vanhoren@openerp.com-20121105111635-5aygxpvlfuxqozu5
2012-11-05 12:16:35 +01:00
niv-openerp 1f25f1dee1 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121105110152-f0vcwtzn334qtxq0
2012-11-05 12:01:52 +01:00
Fabien Meghazi 2994db89ca [MERGE] trunk
bzr revid: fme@openerp.com-20121105093013-31veb91zkdeiuddh
2012-11-05 10:30:13 +01:00
Xavier Morel 72a447bd95 [FIX] tabbing out of an m2o which opens some sort of weird dialog thing while in an editable o2m
The tab blurs the current fields, focuses the next one, then the
dialog thing opens and steals the focus from the *next* field (not the
one which created it), which thus triggers *blur* ultimately blurring
(and saving) the row being edited.

Add a trigger call in some random place which seems to make things not
fail.

bzr revid: xmo@openerp.com-20121102141348-5au6sarq0mw2ct67
2012-11-02 15:13:48 +01:00
ajay javiya (OpenERP) 49dd95bf51 [FIX]: Password field should not allows to setdefault
bzr revid: aja@tinyerp.com-20121102112002-awvp6juu2mvdndz2
2012-11-02 16:50:02 +05:30
Christophe Matthieu 9ee814ca95 [IMP] view form: many2many tag email : message please complete
bzr revid: chm@openerp.com-20121031164405-sym3w0cnzszr7i0d
2012-10-31 17:44:05 +01:00
niv-openerp 2d93553e0d Redirected onchange and save to a common operation
bzr revid: nicolas.vanhoren@openerp.com-20121031153946-zvmoh7g7rtc69pyc
2012-10-31 16:39:46 +01:00
niv-openerp 00fc09890b temporary revert of 3331
bzr revid: nicolas.vanhoren@openerp.com-20121031150324-dxlhh3wxhob8numi
2012-10-31 16:03:24 +01:00
niv-openerp 1622caae27 Changed the onchange handling to be async
bzr revid: nicolas.vanhoren@openerp.com-20121031143036-eventomyjpwgalxb
2012-10-31 15:30:36 +01:00
niv-openerp 95131d6fa9 [merge trunk]
bzr revid: nicolas.vanhoren@openerp.com-20121031141717-5qkawv50b0w2kdry
2012-10-31 15:17:17 +01:00
Christophe Matthieu 8526bf26b3 [IMP] view form: no question to complete informations in many2many_tag_email widget
bzr revid: chm@openerp.com-20121031105604-952pxf2rhlvupsx1
2012-10-31 11:56:04 +01:00
Xavier Morel 2ea22c5234 [FIX] first field of editable list o2ms not showing their content
Bug introduced in xmo@openerp.com-20121019100725-izotstggoxpfjk6k (and
xmo@openerp.com-20121022103935-78bm40gfotpt1ds6 to the extent that in
the former the cell would disappear altogether and in the latter its
content would be blanked out).

As it was the last 15 times I made this mistake, adding a "!" before
an `instanceof` call and forgetting parens just negates the object
(first argument to `instanceof`), not the whole expression, and thus
the expression is *always false* (the result of !a is a `boolean`
primitive, and `primitive instanceof ObjectType` is always false)

bzr revid: xmo@openerp.com-20121031103233-9qw40l6m2vy0l3m1
2012-10-31 11:32:33 +01:00
Christophe Matthieu ed66b02fe6 [IMP] view form: add many2many_tag_email widget
bzr revid: chm@openerp.com-20121031101959-t4o6qusszamx5qgu
2012-10-31 11:19:59 +01:00
niv-openerp 8a12c46307 [IMP] added commit_value()
bzr revid: nicolas.vanhoren@openerp.com-20121030155313-g2cx14h4rl6zks6z
2012-10-30 16:53:13 +01:00
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
Fabien Meghazi ea570236a6 [MERGE] trunk
bzr revid: fme@openerp.com-20121029100055-3h40w0egnzlwq7o4
2012-10-29 11:00:55 +01:00
Fabien Pinckaers 11a8170b56 [IMP] html fields with 100%
bzr revid: fp@tinyerp.com-20121026164327-xh3gwp96lpysq9hm
2012-10-26 18:43:27 +02:00
niv-openerp f2c5b7f599 [IMP] avoid propagation of context when clicking on a readonly m2o (could cause problems)
bzr revid: nicolas.vanhoren@openerp.com-20121026100011-inuk0tzz5cxw7dtr
2012-10-26 12:00:11 +02:00
Fabien Meghazi eccb14b4e3 [REM] Removed CalendarFormDialog and replace it with FormOpenPopup
bzr revid: fme@openerp.com-20121025141140-2ab8pwwbc7kg3729
2012-10-25 16:11:40 +02:00
niv-openerp 1daf770604 [IMP] Added a way to create something in a m2m
bzr revid: nicolas.vanhoren@openerp.com-20121025083509-7b0vybaa4qgyg0g2
2012-10-25 10:35:09 +02:00
niv-openerp 3fb6204e5f [IMP] remove unused code in form view
bzr revid: nicolas.vanhoren@openerp.com-20121025074935-6expqc0stsvbo1ft
2012-10-25 09:49:35 +02:00
niv-openerp cdb0601417 got it
bzr revid: nicolas.vanhoren@openerp.com-20121023125957-lfs7yogbygw2uz4a
2012-10-23 14:59:57 +02:00
niv-openerp 94bc60b310 reverted changes to o2m
bzr revid: nicolas.vanhoren@openerp.com-20121023125213-d7nc1282zmbvk72a
2012-10-23 14:52:13 +02:00
niv-openerp bb22e231ff merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121023124321-cmd2jtnslyk30mr7
2012-10-23 14:43:21 +02:00
niv-openerp 8d92a33443 [FIX] corrected the field reference
bzr revid: nicolas.vanhoren@openerp.com-20121023124042-u5yfvylxy7a2clfv
2012-10-23 14:40:42 +02:00
niv-openerp 8e7ec09749 m
bzr revid: nicolas.vanhoren@openerp.com-20121022161516-4g9wg1a3fv0r7t12
2012-10-22 18:15:16 +02:00
niv-openerp 3b5b24b72e [FIX] m2o switches correctly its button
bzr revid: nicolas.vanhoren@openerp.com-20121022161426-1oqwa8e3n6kh7pba
2012-10-22 18:14:26 +02:00
niv-openerp db54c70650 [FIX] resolved problem with buttons in views, also removed default Close button in wizards
bzr revid: nicolas.vanhoren@openerp.com-20121022152257-yxcz0j73b4azeqr1
2012-10-22 17:22:57 +02:00
niv-openerp 1da06f3bfe [FIX] better fix for previous m2m kanban problem
bzr revid: nicolas.vanhoren@openerp.com-20121022144021-h1oqgb0d0h6aepfl
2012-10-22 16:40:21 +02:00
Fabien Meghazi a1364bde20 [FIX] m2m kanban use it's own value as is in order to fill dataset.ids
bzr revid: fme@openerp.com-20121022142459-9so19ypfwhxwhuc3
2012-10-22 16:24:59 +02:00
Xavier Morel 8a3a92bbfc [IMP] readonly sortable o2m
The making of the column invisible would happen after the header was
rendered (?), and the header would not be re-rendered afterwards. So
there would be a missing chunk of table. Make the cells invisible
instead. It's all going to be changed looks-wise anyway so meh.

bzr revid: xmo@openerp.com-20121022103935-78bm40gfotpt1ds6
2012-10-22 12:39:35 +02:00
Xavier Morel a060b1400b [FIX] SelectCreatePopup: append search view at the right position in the DOM
Old error had added the list and the search at the same place of the
popup, leading to strange interactions as the search view is floated
to the right: in Firefox the search view would be hidden behind the
list (completely), in Chrome the search view would be visible but
"overlaid" with a transparent section of the list, and (tentative)
clicks on the search view would have no effect as they'd actually be
done on and in the list view.

bzr revid: xmo@openerp.com-20121019110804-3kg91rro91isp771
2012-10-19 13:08:04 +02:00
Xavier Morel 3be621b9bc [IMP] hack-ish hack to make reorderable lists non-reorderable in readonly o2m
* Technically this is done by the the setup_reseq override

* the filtering added to FieldOne2Many is for UI improvement

bzr revid: xmo@openerp.com-20121019100725-izotstggoxpfjk6k
2012-10-19 12:07:25 +02:00
Fabien Meghazi 6e04399945 [FIX] m2o#focus() does nothing when readonly
bzr revid: fme@openerp.com-20121018154755-a9hurjb0664l03x2
2012-10-18 17:47:55 +02:00
Xavier Morel b5be361c55 [FIX] various listview issues
bzr revid: xmo@openerp.com-20121018150108-althdcxk3jc2bkun
2012-10-18 17:01:08 +02:00
Xavier Morel 4223b1e786 [IMP] add overridable dimension-setting method on form fields
bzr revid: xmo@openerp.com-20121018145712-am4y6bdnz2x14i2c
2012-10-18 16:57:12 +02:00
Fabien Meghazi adb172b7cb [IMP] Binary fields, use html5 api if available
bzr revid: fme@openerp.com-20121018143730-2qoalz6uye5ggbn5
2012-10-18 16:37:30 +02:00
Xavier Morel 6782c33a32 [FIX] only reload m2m listview once after adding n records to it (via dialog)
The listview does not support concurrent reload requests, either wait
for the previous reload to finish before sending the new one, or just
send a single reload.

For m2m, can wait and do a single reload so do that.

bzr revid: xmo@openerp.com-20121018134123-ox2ccq0wm3r5jwas
2012-10-18 15:41:23 +02:00
vta vta@openerp.com 59aaa765a6 [FIX] Fixed event name.
bzr revid: vta@openerp.com-20121018124607-rifo06nfx7jo134e
2012-10-18 14:46:07 +02:00
vta vta@openerp.com 98431bccd9 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121018122324-hf4y784k49s0vsye
2012-10-18 14:23:24 +02:00
vta vta@openerp.com 1e70837161 [FIX] Fixed on_loaded in all different views.
bzr revid: vta@openerp.com-20121018114950-svqy0gje04vw2ysc
2012-10-18 13:49:50 +02:00
vta vta@openerp.com 8b4580ea86 [FIX] Fixed on_loaded in Menu and Search.
bzr revid: vta@openerp.com-20121018085028-d0ww48el2jwmtcpg
2012-10-18 10:50:28 +02:00
vta vta@openerp.com bd049325f0 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015095120-slieowls1jkkeguj
bzr revid: vta@openerp.com-20121018070252-l2r83wkj5mfuu5y0
2012-10-18 09:02:52 +02:00
Antony Lesuisse b85b32fb2b [IMP] form view set default show invisible fields in conditions
bzr revid: al@openerp.com-20121017142835-a6jdps82it12y03b
2012-10-17 16:28:35 +02:00
niv-openerp 73950424bb [FIX] removed dirty hack to put buttons in footer of dialogs with an official dirty feature
bzr revid: nicolas.vanhoren@openerp.com-20121016125627-vevqllvshay5fpv4
2012-10-16 14:56:27 +02:00