Commit Graph

1707 Commits

Author SHA1 Message Date
RGA(OpenERP) 6ad2ea0202 [IMP] legend widget
bzr revid: rgaopenerp-20131220121019-h1o0lllprbo02uqa
2013-12-20 17:40:19 +05:30
RGA(OpenERP) ab6f79e759 [IMP] legend widget
bzr revid: rgaopenerp-20131220101940-90ialtu8fqcdborg
2013-12-20 15:49:40 +05:30
Mahendra Barad (OpenERP) fdcb64ef8c [IMP]improve the legend widget
bzr revid: mba@tinyerp.com-20131220084846-875n332j1m1igip7
2013-12-20 14:18:46 +05:30
Vidhin Mehta (OpenERP) 5e5483bde4 [FIX]for dialog box stick to page.
bzr revid: vme@tinyerp.com-20131220073241-xi7v47jecgewapw2
2013-12-20 13:02:41 +05:30
Mahendra Barad (OpenERP) 752fa2e2a5 [IMP]improved css as well as improved stagemode widget
bzr revid: mba@tinyerp.com-20131219083851-c2hp4dddtpfxm0l6
2013-12-19 14:08:51 +05:30
Xavier Morel 1b76c66930 [MERGE] fixes for non-direct IME
bzr revid: xmo@openerp.com-20131218152626-kexq1wudvjwnh962
2013-12-18 16:26:26 +01:00
Chirag Dodiya (OpenERP) 9ca1c1394c [IMP] Improved the name of wizard Instead of Add XXX set Create a XXX
bzr revid: cod@tinyerp.com-20131218050716-8zsx7a2k3fme9w0f
2013-12-18 10:37:16 +05:30
Kunal Chavda (Open ERP) 3fcd2e2440 [IMP]Improved code for set tooltip placement on top or bottom on the basis of display area.
bzr revid: kch@tinyerp.com-20131217093546-49lg5i0rm1kx9oli
2013-12-17 15:05:46 +05:30
RGA(OpenERP) 8d509498b6 [IMP] add stage mode widget
bzr revid: rgaopenerp-20131216125602-r10t3se7hgvoy73w
2013-12-16 18:26:02 +05:30
Xavier Morel 21700e5e28 [MERGE] from trunk
bzr revid: xmo@openerp.com-20131213093827-cew27ajx3mlu91h3
2013-12-13 10:38:27 +01:00
bth-openerp ec96bb513b [IMP]Tooltip when field have help and on debug mode.
bzr revid: bth@tinyerp.com-20131211110030-tz3jf992ndmjgqe9
2013-12-11 16:30:30 +05:30
Martin Trigaux ad7951214c [MERGE] [FIX] One2ManyListView: reload line data without saving it when m2o record has changed in edition mode (eg: changing product name in sale order line) (opw #600224)
bzr revid: mat@openerp.com-20131211105009-iylczcepd3a0e61l
2013-12-11 11:50:09 +01:00
bth-openerp e547218faa [MERGE]With trunk.
bzr revid: bth@tinyerp.com-20131206062506-0mx9y3awczrsatrk
bzr revid: bth@tinyerp.com-20131211104422-a103eynbuyx6a1ng
2013-12-11 16:14:22 +05:30
jke-openerp 983a706429 [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131210164049-tf0bny53q6tqxfvg
bzr revid: jke@openerp.com-20131211085306-2g4tluf4uqleu7ks
2013-12-11 09:53:06 +01:00
Xavier Morel fec27404ac [CHG] replace [Add] button in m2m lists by link in row, similar to o2m
Task 4941

Extracted relevant section from One2ManyList which already implemented
it previously, then created and hooked in m2m list using (inheriting
from) extracted code.

bzr revid: xmo@openerp.com-20131210164443-ur44b8g5gdrt8jt1
2013-12-10 17:44:43 +01:00
Michel Meyer 68aac8e855 [FIX] events handling ordering courtesy of Michel Meyer
lead to errors during the validation of rows in list o2ms.

See https://bugs.launchpad.net/openerp-web/+bug/1182101/comments/20
for an extensive description of the events and issue.

bzr revid: xmo@openerp.com-20131209153519-n05bdx15t75dh7gf
2013-12-09 16:35:19 +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
bth-openerp 5d874a4acb [IMP]Improved css and offset for tooltip.
bzr revid: bth@tinyerp.com-20131204115824-tbq4nys4c0d2c327
2013-12-04 17:28:24 +05:30
Mohammed Shekha (OpenERP) b3391cd7fe [FIX]Web: Fixed the issue of immediate update of many2one field when many2one object name has been changed from follow button popup, reloaded the record from database forcefull to update dataaset, do not call form-blur when follow button is clicked, also do not evict record when record is still not created.
bzr revid: msh@openerp.com-20131203123856-gce4li1igo9k1mak
2013-12-03 18:08:56 +05:30
bth-openerp 062e96cc07 [IMP]Add bootstrap tooltip.
bzr revid: bth@tinyerp.com-20131203101317-bznca04cdosg0x3z
2013-12-03 15:43:17 +05:30
Christophe Matthieu 60a55f1077 [MERGE] sync with trunk (to rev 3893)
bzr revid: chm@openerp.com-20131202151847-4sf0ww58meql0e4z
2013-12-02 16:18:47 +01:00
jke-openerp fb9fed536c [Merge] Merge with trunk
bzr revid: jke@openerp.com-20131202142423-mpg3wg6dlr6wxxmp
2013-12-02 15:24:23 +01:00
Christophe Matthieu e468eeb9b3 [FIX] web_form: FieldMany2ManyBinaryMultiFiles error when rendering twice (with an onchange for e.g.)
bzr revid: chm@openerp.com-20131128134607-2fisdnoq0qgpvibx
2013-11-28 14:46:07 +01:00
jke-openerp 2a2c63481f [MERGE] Merge with trunk
bzr revid: jke@openerp.com-20131127175544-x83mqqo5uo87f75b
2013-11-27 18:55:44 +01:00
Thibault Delavallée 727b188eac [IMP] form_view: statusbar widget: folded back as an option.
The widget option 'fold_field' allows to tell the widget to use this field on
the model used for stages to compute the folded selection.

If not set, no stage is folded.

bzr revid: tde@openerp.com-20131127095037-me1cvl272ex1e6r9
2013-11-27 10:50:37 +01:00
Christophe Simonis 9f52ab382b [MERGE] forward port of branch saas-2 up to revid 3887 chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
2013-11-25 17:05:06 +01:00
Christophe Simonis 162dd9ad17 [MERGE] forward port of branch 7.0 up to revid 4075 chs@openerp.com-20131122170316-lbuxddprrgz1are3
bzr revid: chs@openerp.com-20131122131553-i22dj95bvofb7aeu
bzr revid: chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
2013-11-22 18:24:22 +01:00
Christophe Simonis 8721307dae [IMP] web: avoid double reload() when clicking on a button on a editable form view.
bzr revid: chs@openerp.com-20131120185337-w8857fmwosa36r4d
2013-11-20 19:53:37 +01:00
Christophe Simonis 36b3ea41d8 [MERGE] forward port of branch saas-1 up to revid 3751 chs@openerp.com-20131115104909-3u3mu40g9xnler88
bzr revid: chs@openerp.com-20131115112311-mq197ugcdc38gjnw
2013-11-15 12:23:11 +01:00
Christophe Simonis 993bff902e [MERGE] forward port of branch 7.0 up to revid 4067 chs@openerp.com-20131114142639-ng7wzfjwvvel2nhv
bzr revid: dle@openerp.com-20131112134311-h1vsux0ge17bsqkc
bzr revid: chs@openerp.com-20131114134731-n324awyon0spq624
bzr revid: chs@openerp.com-20130823145204-xwpnlwg0gg2259f6
bzr revid: chs@openerp.com-20130906170157-e7m4pjskyi47q82o
bzr revid: dle@openerp.com-20130909170408-wxgoduzggap6o4ng
bzr revid: dle@openerp.com-20130919141212-ridtrvvfwvu6calr
bzr revid: dle@openerp.com-20131018120136-fvoq337kgx74njsy
bzr revid: dle@openerp.com-20131023103308-18pj2gqq3imrcir7
bzr revid: chs@openerp.com-20131030180528-hqsztaujjjqev8ky
bzr revid: dle@openerp.com-20131106100128-mx8mnguvp321wick
bzr revid: chs@openerp.com-20131115104909-3u3mu40g9xnler88
2013-11-15 11:49:09 +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
Martin Trigaux 8c3cdce539 [MERGE] view form: reduce the number of result in 'search more' view opening to 160 records (performances improvement, not filtering every possible record) (opw 593963)
bzr revid: mat@openerp.com-20131113082806-me6uy7cjj6holn56
2013-11-13 09:28:06 +01:00
ajay javiya (OpenERP) c1adcc80a0 [MERGE] : with trunk
bzr revid: aja@tinyerp.com-20131101053013-l6k5qkofxvfdedcs
2013-11-01 11:00:13 +05:30
Thibault Delavallée 0ff21fc5e8 [REV] view_form: statusbar widget: indentation issue + reverted some more changes
bzr revid: tde@openerp.com-20131104120324-2h2j6huhgwc134c9
2013-11-04 13:03:24 +01:00
Thibault Delavallée 4c460dfa4e [REV] Reverted most changes, to lessen the number of
changed in a stable branch.

bzr revid: tde@openerp.com-20131104115909-exhujer0lqqr4xk5
2013-11-04 12:59:09 +01:00
niv-openerp 7c3ae6a157 [FIX] Rare problem in select fields related to previous improvement in that widget.
Sometimes, the value of the field was resetted to false.

bzr revid: nicolas.vanhoren@openerp.com-20131028150019-i0nllpqu1i7wpxbr
2013-10-28 16:00:19 +01:00
Thibault Delavallée 833c1f2072 [IMP] view_form: fieldstatus: deprecated folded on widget
bzr revid: tde@openerp.com-20131023120804-vx7etkzewkgx9sk0
2013-10-23 14:08:04 +02:00
Thibault Delavallée b7a7cf5fb9 [MERGE] Sync with saas-2
bzr revid: tde@openerp.com-20131021104729-8c39qu7pr431cb51
bzr revid: tde@openerp.com-20131023113825-u1uqcu07bt6i17rk
2013-10-23 13:38:25 +02:00
Kunal Chavda (Open ERP) 58818d2bd0 [MERGE]with latest.
bzr revid: kch@tinyerp.com-20131007084029-mcmuz24re2tryb99
bzr revid: kch@tinyerp.com-20131015070615-ji3xce183mari9kb
bzr revid: kch@tinyerp.com-20131023053654-u4ksu7mfgnvm387t
2013-10-23 11:06:54 +05:30
niv-openerp 55ac10cd3d [FIX] Bug in form view. When a on_change alters the domain of a field, the view_content_has_changed event is
triggered *before* we alter the domain of the field. So, it is not possible for the fields to really know
when they have to re-calculate their domain.

bzr revid: nicolas.vanhoren@openerp.com-20131022133432-l0m36mfiwx8z6014
2013-10-22 15:34:32 +02:00
niv-openerp 02177329c9 fix
bzr revid: nicolas.vanhoren@openerp.com-20131022131510-zvqt6xgsln0bk6zp
2013-10-22 15:15:10 +02:00
niv-openerp 48e9bbff2b wip
bzr revid: nicolas.vanhoren@openerp.com-20131022131323-jicyw0pchzs5x38t
2013-10-22 15:13:23 +02:00
niv-openerp d0145bd0ec Now selection fields on m2o query the records directly
bzr revid: nicolas.vanhoren@openerp.com-20131022121952-piye1e3k80w217r0
2013-10-22 14:19:52 +02:00
ajay javiya (OpenERP) 2d78686db7 [REF]: Refector many2many_tags
bzr revid: aja@tinyerp.com-20131021135004-rmxft7jrvbixhekx
2013-10-21 19:20:04 +05:30
Thibault Delavallée a28c14a8cc [REV] StatusField: reverted changes about bar widget color and thing slike that.
bzr revid: tde@openerp.com-20131021104708-vrax9zhpjwyjq6ns
2013-10-21 12:47:08 +02:00
niv-openerp ebeeae0ed4 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018134149-yveqfs6tqwnjo6xt
2013-10-18 15:41:49 +02:00
Thibault Delavallée fa9f367687 [IMP] form_view: statusbar improvements
It now uses the bar_fold field instead of the fold field
to hide the stage.
It now uses bar_color to personnalize the stage.

Added css for oe_bar_1 (still WIP, just for testing purpose)

bzr revid: tde@openerp.com-20131018132259-2kip8723ibr296ri
2013-10-18 15:22:59 +02:00
Denis Ledoux c348a2f4cd [MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 3747 rev-id: dle@openerp.com-20131018120136-fvoq337kgx74njsy
bzr revid: dle@openerp.com-20131018123253-pvf2tg747vflfp6x
2013-10-18 14:32:53 +02:00
niv-openerp e080294dc0 [MERGE] saas2
bzr revid: nicolas.vanhoren@openerp.com-20131018103631-vennug4iy21zhp3x
2013-10-18 12:36:31 +02:00
Christophe Simonis 3853f642ff [FIX] web: correct StatusField widget to use dropdown menu
bzr revid: chs@openerp.com-20131018094336-3s8s3uggs60jwkl0
2013-10-18 11:43:36 +02:00
niv-openerp ffe8490aef Enabled sort in o2m
bzr revid: nicolas.vanhoren@openerp.com-20131010091125-0t1v8wmkrn8bnc5y
2013-10-10 11:11:25 +02:00
niv-openerp 8b0193a3bc added doc
bzr revid: nicolas.vanhoren@openerp.com-20131008135143-8qjqwi3s23ld0wks
2013-10-08 15:51:43 +02:00
niv-openerp 8d2f37ec8b wip
bzr revid: nicolas.vanhoren@openerp.com-20131007115638-9b82rw1azwjtp5fr
2013-10-07 13:56:38 +02:00
niv-openerp dc8f0ca96e corrected problems
bzr revid: nicolas.vanhoren@openerp.com-20131004154534-b3x46pmbybtza1cs
2013-10-04 17:45:34 +02:00
niv-openerp 63c0220d31 still some problems
bzr revid: nicolas.vanhoren@openerp.com-20131004153734-rxdt32qvu3gcxip2
2013-10-04 17:37:34 +02:00
Kunal Chavda (Open ERP) 348d05be82 [IMP]improved position of m2o autocomplete.
bzr revid: kch@tinyerp.com-20131003053002-v4bzzklwzbinxw2a
2013-10-03 11:00:02 +05:30
niv-openerp fb17860c41 [IMP] doc
bzr revid: nicolas.vanhoren@openerp.com-20131001160754-w47z24xf3wtkqioh
2013-10-01 18:07:54 +02:00
niv-openerp 38e3daed00 wip
bzr revid: nicolas.vanhoren@openerp.com-20130925144556-97abdprnibq631sc
2013-09-25 16:45:56 +02:00
Christophe Simonis b86eee378e [MERGE] forward port of branch saas-1 up to revid 3743 chs@openerp.com-20130823145204-xwpnlwg0gg2259f6
bzr revid: chs@openerp.com-20130823145527-fz58kta3qpup4sb2
2013-08-23 16:55:27 +02:00
niv-openerp 4cc2766b2e [IMP] added possibility to desactivate quick create in m2o
bzr revid: nicolas.vanhoren@openerp.com-20130822100030-39ipz56hkrtq8pw0
2013-08-22 12:00:30 +02:00
Martin Trigaux cd99b9ffac [MERGE] [FIX] reload form if button has option reload_on_button
bzr revid: mat@openerp.com-20130821085342-8k6q1d2886tmwffm
2013-08-21 10:53:42 +02:00
niv-openerp baef37aec6 [IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons.
bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-08-06 14:50:22 +02:00
Olivier Dony cf9d7aaa5f [MERGE] Forward-port of latest bugfixes from 7.0 up to rev 4007 (launchpad_translations_on_behalf_of_openerp-20130730045810-58du4wi80axs0t81)
bzr revid: dle@openerp.com-20130627115936-iw2x6yjejabkc8ys
bzr revid: chs@openerp.com-20130702141958-zxkppo4c6zvpo0uf
bzr revid: odo@openerp.com-20130731072914-0uk62hnao5x502hh
2013-07-31 09:29:14 +02:00
niv-openerp c767a0d34c Added semicolons
bzr revid: nicolas.vanhoren@openerp.com-20130725103301-65nld10p1if7k0zt
2013-07-25 12:33:01 +02:00
niv-openerp 42e493e73e Added Gruntfile with jshint and corrected most js errors
bzr revid: nicolas.vanhoren@openerp.com-20130725100749-0i82gf3k3nvt4r44
2013-07-25 12:07:49 +02:00
Vidhin Mehta 21cc22b9e9 [IMP]check parent is exist or not.
lp bug: https://launchpad.net/bugs/1202120 fixed

bzr revid: vme@tinyerp.com-20130719090753-t1o4l3pyxd2t5kv9
2013-07-19 14:37:53 +05:30
Thibault Delavallée 180212b999 [FIX] Statusbar: fixed clikable statusbar on selection field.
bzr revid: tde@openerp.com-20130618133521-6zey8imcciqthcuk
2013-06-18 15:35:21 +02:00
niv-openerp 24425766ad [REVERT] of revision 3746 because it caused in bug of high priority
lp bug: https://launchpad.net/bugs/1187381 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130617162827-01gm5gvoycf3kz3p
2013-06-17 18:28:27 +02:00
Christophe Simonis a61e7cb0c8 [MERGE] forward port of branch saas-1 up to revid 4887 chs@openerp.com-20130612153934-qyp6pb3bc4za4taf
bzr revid: chs@openerp.com-20130613172414-dln3g4j0ykcwaa02
bzr revid: chs@openerp.com-20130613173900-xl7rh321nnw2b04b
2013-06-13 19:39:00 +02:00
Christophe Simonis 6263673720 [MERGE] forward port of branch 7.0 up to revid 3973 chs@openerp.com-20130611145028-f98x6inytlr3ijjg
bzr revid: chs@openerp.com-20130611155251-zk0qkk70z30n81vl
2013-06-11 17:52:51 +02:00
niv-openerp a94bbf8e5e [FIX] Merge fix in saas1 for the problem that made the server crash when install a db
bzr revid: nicolas.vanhoren@openerp.com-20130610144915-0nj8vpk7n84ocj3f
bzr revid: nicolas.vanhoren@openerp.com-20130610150657-3xddn91gm0iq0ubp
bzr revid: nicolas.vanhoren@openerp.com-20130610154514-oee6s4f9g17bx63z
2013-06-10 17:45:14 +02:00
Christophe Matthieu 27db64f7a0 [FIX] duplicate tag when press tab key two time. Bug 1154057
bzr revid: chm@openerp.com-20130607132203-rcvx6wu820o03tiu
2013-06-07 15:22:03 +02:00
Christophe Matthieu a941c199c1 [FIX] translation button or icon not displayed with html widget. Bug 1179505
bzr revid: chm@openerp.com-20130607101517-zilu97d4akhho72v
2013-06-07 12:15:17 +02:00
Christophe Matthieu 56e4be5d1d [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607083901-f24fjvo0vi696ll3
2013-06-07 10:39:01 +02:00
Christophe Matthieu 7a0308cdfe [MERGE] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607082958-a59md26e0nmhzsf7
2013-06-07 10:29:58 +02:00
Christophe Matthieu b151613f0d [MERGE] pager should be disappear when we create a new record from o2m/m2m popup.
bzr revid: chm@openerp.com-20130606121754-r9xa11ms6do2nrwh
2013-06-06 14:17:54 +02:00
Christophe Matthieu cf0fcaebc9 [MERGE] Onchange must be called for m2o when the popup view is opened an return changes (save button).
bzr revid: chm@openerp.com-20130606094739-3ydlncwv711txo41
2013-06-06 11:47:39 +02:00
Martin Trigaux 3085dbde98 [MERGE] [IMP] bounce effect on statusbar
bzr revid: mat@openerp.com-20130530121345-5xg7indlm3mgm217
2013-05-30 14:13:45 +02:00
Thibault Delavallée 10807026ea [FIX] FieldMany2One: always_reload option should not prevent from
displaying the field original value that is a valid name_get. The always_reload
perform an additional name_get that may crash due to access rights. Keeping the
original value (coming from the fields view get) in a backup variable allows
to fall back on this value when having issues with access rights.

bzr revid: tde@openerp.com-20130530080218-0kvr36vwqki05rrw
2013-05-30 10:02:18 +02:00
Martin Trigaux a33c762ba0 [IMP] sync with latest trunk
bzr revid: mat@openerp.com-20130529154059-g8yda797kblmfv18
2013-05-29 17:40:59 +02:00
Amit Bhavsar (Open ERP) 20210d96f8 [MERGE] merge with latest trunk
bzr revid: amb@tinyerp.com-20130528085853-33ak0wen7shv6af2
2013-05-28 14:28:53 +05:30
Amit Bhavsar (Open ERP) 5d9859e736 [MERGE] merge with latest trunk
bzr revid: bde@tinyerp.com-20130522070904-c186u5iz00pll3ve
bzr revid: amb@tinyerp.com-20130528052844-e1ybzleq6vbgh2cj
2013-05-28 10:58:44 +05:30
Thibault Delavallée 13caa128a6 [FIX] FieldMany2One: avoid displaying a crash when name_getting an invisible many2one due to an always_reload.
bzr revid: tde@openerp.com-20130527144927-9c9ivhskyiv66fnh
2013-05-27 16:49:27 +02:00
dle@openerp.com c3537fa288 [FIX]web: radio widget name get using context
bzr revid: dle@openerp.com-20130516131416-d02avqqigh4w0tw7
2013-05-16 15:14:16 +02:00
Vishmita Jadeja (openerp) 330cf79497 [IMP]Minor change
bzr revid: vja@tinyerp.com-20130502072052-2jo04lhsz3y3fhxi
2013-05-02 12:50:52 +05:30
Vishmita Jadeja (openerp) 23687ef653 [IMP]Improve code
bzr revid: vja@tinyerp.com-20130501055618-06xc6fgj50npvk3u
2013-05-01 11:26:18 +05:30
Vishmita Jadeja (openerp) 3b7863b479 [Merge]Merge with trunk
bzr revid: vja@tinyerp.com-20130501054129-2ie8kj73yosxbfo8
2013-05-01 11:11:29 +05:30
Olivier Dony ba5710962e [MERGE] Forward-port of 7.0 bugfixes, up to rev. 3912
revision-id: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o

bzr revid: xmo@openerp.com-20130424102025-w33zyopm96r7q09p
bzr revid: odo@openerp.com-20130430103337-i9wuj8zf3h41h1ay
2013-04-30 12:33:37 +02:00
Christophe Matthieu d47824c792 [MERGE] from trunk
bzr revid: chm@openerp.com-20130430083444-r300f3a2s5kgbj9k
2013-04-30 10:34:44 +02:00
Christophe Matthieu fccada6257 [IMP] view_form: statusbar: add a get_distant_fields method to check if the field 'fold' exists, and use a name_get
bzr revid: chm@openerp.com-20130429143621-eulbq3ivu5g9lu4u
2013-04-29 16:36:21 +02:00
ggh-openerp b15a01ff1e [IMP] Improved typos in warning
bzr revid: ggh@tinyerp.com-20130429102855-jrixaqvo4xqc2fix
2013-04-29 15:58:55 +05:30
Christophe Matthieu 764b318143 [IMP] view_form: FieldStatus, calc_domain: if there is no domain defined, fetch all the records
bzr revid: chm@openerp.com-20130423140942-lu1cakf0a0rgf9pf
2013-04-23 16:09:42 +02:00
Christophe Matthieu 027bf19a7a [IMP] ir_ui_menu: trunk to 7.0 dynamic counters
bzr revid: chm@openerp.com-20130417133438-1g8h8hezbn1vtjj1
2013-04-17 15:34:38 +02:00
ggh-openerp d11391c575 [MERGE] with lp:openerp-web
bzr revid: ggh@tinyerp.com-20130417062304-d4hpvmsvm3pay4g0
2013-04-17 11:53:04 +05:30
Christophe Matthieu ed46400a55 [IMP] view_form: widget radio: clean code
bzr revid: chm@openerp.com-20130415103041-8xogdacjx43v4cgk
2013-04-15 12:30:41 +02:00
Fabien Meghazi 428fdca40a [FIX] FormRenderingEngine: allow class propagation to group cells
bzr revid: fme@openerp.com-20130411163238-qy377cdnn9enax34
2013-04-11 18:32:38 +02:00
Christophe Matthieu 5623719b1c [IMP] view_form: radio remove console log
bzr revid: chm@openerp.com-20130411093433-jmsrcxjw0xb6vp1m
2013-04-11 11:34:33 +02:00
Christophe Matthieu 9319356537 [IMP] view_form: radio css readonly
bzr revid: chm@openerp.com-20130411093319-q25a0fbybsjzwvfe
2013-04-11 11:33:19 +02:00
Christophe Matthieu 1d12a480c3 [MERGE] from trunk
bzr revid: chm@openerp.com-20130411092306-wypa8h3kh1v5q8qn
2013-04-11 11:23:06 +02:00
Christophe Matthieu 67452d290e [IMP] view_form: radio button: change style for required field
bzr revid: chm@openerp.com-20130411090654-ujf7fio6lnsppv90
2013-04-11 11:06:54 +02:00
Christophe Matthieu f2beb97168 [IMP] view_form: radio button, replace image by input type radio
bzr revid: chm@openerp.com-20130410160917-4meevyiff65adspx
2013-04-10 18:09:17 +02:00
Christophe Matthieu 60be4d49c5 [IMP] view_form: field radio, display only the selected text in read only mode
bzr revid: chm@openerp.com-20130410135643-szjzolgpbr73kpxh
2013-04-10 15:56:43 +02:00
Fabien Meghazi 905d13671b [FIX] Do not autofocus Notebook pages by default
bzr revid: fme@openerp.com-20130409122852-f4ikugl83otx8423
2013-04-09 14:28:52 +02:00
Christophe Matthieu c756cb72b6 [FIX] view_form: radio button
bzr revid: chm@openerp.com-20130408171702-n7u1ingd33ke8bn4
2013-04-08 19:17:02 +02:00
Fabien Meghazi 8a20760fc8 [FIX] DataSet#size() problem + FormView#on_button_delete() shall pop breadcrumb on empty dataset
bzr revid: fme@openerp.com-20130404101459-m9q90e32qwf068lw
2013-04-04 12:14:59 +02:00
Fabien Meghazi cea7a7a0ab [FIX] m2o does not use @alive()
lp bug: https://launchpad.net/bugs/1160192 fixed

bzr revid: fme@openerp.com-20130402133952-xz2qaoygg83ks3tx
2013-04-02 15:39:52 +02:00
niv-openerp b4c2805012 [IMP] removed now useless code
bzr revid: nicolas.vanhoren@openerp.com-20130402090405-coachhx5x2bayakr
2013-04-02 11:04:05 +02:00
Christophe Matthieu dbd331ee6d [IMP] view_form: radio button for many2one read name_get
bzr revid: chm@openerp.com-20130329141038-uobzji7e8fxkq4rr
2013-03-29 15:10:38 +01:00
Christophe Matthieu 90f6175053 [IMP] view_form: radio button for many2one: check context
bzr revid: chm@openerp.com-20130329114449-93yghqpenjb1sd22
2013-03-29 12:44:49 +01:00
Christophe Matthieu e3d1e4fb44 [IMP] view_form: radio button for many2one
bzr revid: chm@openerp.com-20130329113827-me6d3ho6jrp525f0
2013-03-29 12:38:27 +01:00
Fabien Meghazi c94c81c8ac [FIX] Remove dirty flag on save
lp bug: https://launchpad.net/bugs/1099380 fixed

bzr revid: fme@openerp.com-20130328210718-85lemijdjc79hhea
2013-03-28 22:07:18 +01:00
Christophe Matthieu 11ffa1be3b [IMP] view_form: statusbar: see the folded stage where i am
bzr revid: chm@openerp.com-20130328104116-gn6ve3g2p4d496ss
2013-03-28 11:41:16 +01:00
Christophe Matthieu 7e895d90cb [MERGE] from trunk
bzr revid: chm@openerp.com-20130326090427-g78bigwi30rzbthd
2013-03-26 10:04:27 +01:00
Christophe Matthieu 3ecc55c583 [IMP] view_form: radio options
bzr revid: chm@openerp.com-20130321163100-j92sqrut1m4d0zgi
2013-03-21 17:31:00 +01:00
Christophe Matthieu cc4b2bbb27 [IMP] view_form: fix FieldStatus
bzr revid: chm@openerp.com-20130321161123-j2qc2ynchneibf1o
2013-03-21 17:11:23 +01:00
Christophe Matthieu 4e43bccebc [FIX] view_form: FieldStatus
bzr revid: chm@openerp.com-20130321152156-3w3vnzn35effxji6
2013-03-21 16:21:56 +01:00
Christophe Matthieu 7d5ea8896e [IMP] view_form radio button with div inline-block
bzr revid: chm@openerp.com-20130321150405-fz61r51opx2m9kmt
2013-03-21 16:04:05 +01:00
Christophe Matthieu 0cecdac970 [IMP] view_form: statusbar with folded selection
bzr revid: chm@openerp.com-20130321124952-kwexraafd2681isg
2013-03-21 13:49:52 +01:00
niv-openerp 185b405b96 [MERGE] 7.0 branch
bzr revid: nicolas.vanhoren@openerp.com-20130319102859-rj9r9ngqtf5ep3a3
2013-03-19 11:28:59 +01:00
niv-openerp c55de6996f [FIX] small problem with m2o, does not uses context when opening them in read-only mode
bzr revid: nicolas.vanhoren@openerp.com-20130319102719-0gdwvmix4d3x8th5
2013-03-19 11:27:19 +01:00
ggh-openerp 04d28929d0 [FIX] Fixed abstract form popup open editable mode
bzr revid: ggh@tinyerp.com-20130319085804-ghxdei3yf6lxqq8o
2013-03-19 14:28:04 +05:30
ggh-openerp db17c0e775 [Merge] with trunk
bzr revid: ggh@tinyerp.com-20130318132436-g2yeu291xjg9wflf
2013-03-18 18:54:36 +05:30
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