Commit Graph
3998 Commits
Author SHA1 Message Date
Antony Lesuisse a963bd019a [MERGE] m2o button
bzr revid: al@openerp.com-20121107151954-aqqtn4w6hpd39kmi
2012-11-07 16:19:54 +01:00
Xavier Morel 1b8a0e66ee [REV] nicolas.vanhoren@openerp.com-20120712074237-xugmbw19wjjoes9l
eagerly loaded treeviews, making heavily loaded charts of accounts
completely unusable

bzr revid: xmo@openerp.com-20121107143740-31i16933dfg4t6xk
2012-11-07 15:37:40 +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
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
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
Fabien Pinckaers d07f7e0d99 [IMP] CSS small improvement
bzr revid: fp@openerp.com-20121106230528-1rq72g0n0okde870
2012-11-07 00:05:28 +01:00
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
Xavier Morel 1c721d43c5 [FIX] disable advanced search apply button in search view when there are no propositions
avoids locking up the browser by entering an infinite loop when unshifting ors on domains

bzr revid: xmo@openerp.com-20121106161715-7vc55kps8gi8h3lb
2012-11-06 17:17:15 +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
Thibault Delavallée 025167e4fc [MERGE] Introducing the Many2Many Email Widget, based on Many2Many Tags. This widget designed for many2many fields on partners checks that partners added in the widget have an email address defined; if not, a popup is opened to enter an email.
The widget is defined in the mail addons module, but this web-side revision adds a trigger when destroying a popup, because this event is used in the widget.

bzr revid: tde@openerp.com-20121106161603-gybjhsjavwe5bgd2
2012-11-06 17:16:03 +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
niv-openerp 660443885c [FIX] Problem with list view and some references
lp bug: https://launchpad.net/bugs/1071491 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121106153929-8705y9r3u2b27i8u
2012-11-06 16:39:29 +01:00
Xavier Morel e3e54b0e7a [IMP] port searchview to helpers
bzr revid: xmo@openerp.com-20121106152148-33ctafxz5iy53nl1
2012-11-06 16:21:48 +01:00
Xavier Morel a501903c23 [IMP] convert searchview to DOM events hash
bzr revid: xmo@openerp.com-20121106150449-1sxybk8jml7xa2ji
2012-11-06 16:04:49 +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
Xavier Morel 2ebaa6f666 [FIX] searchview drawer closing when clicking advanced proposition
handler for "global click filtered by whether click target is outside
of search view" executed after prop deletion handler has executed =>
the whole proposition has already been removed from the document and
thus isn't a descendent of the searchview anymore => test matches and
drawer closes.

Altered handler to stop propagation so does not reach global handler.

bzr revid: xmo@openerp.com-20121106144736-l0pde7phf3nake4t
2012-11-06 15:47:36 +01:00
Xavier Morel 9304ac6594 [FIX] width of progress bars in list view
bzr revid: xmo@openerp.com-20121106141835-fd8spbm93h3etjps
2012-11-06 15:18:35 +01:00
Xavier Morel 4f52103aa0 [FIX] double html-escaping of group titles in grouped lists (eg analysis)
bzr revid: xmo@openerp.com-20121106140519-0qnq934rr44l6kgt
2012-11-06 15:05:19 +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
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
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
Fabien Meghazi 6f57449dcd [IMP] Client actions now takes the action as argument. Use action.params for options.
bzr revid: fme@openerp.com-20121105130053-6gdklt6ok4lst6ba
2012-11-05 14:00:53 +01:00
Fabien Meghazi a2852d5774 [MERGE] trunk
bzr revid: fme@openerp.com-20121105151914-tcxu1hn324cbts3l
2012-11-05 16:19:14 +01:00
Fabien Pinckaers c2913a5cc0 [MERGE] addons 16
bzr revid: fp@openerp.com-20121102161101-hynn88pft6ipygy5
2012-11-02 17:11:01 +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
Divyesh Makwana (Open ERP) ede1da0a64 [Merge] Merge with trunk.
bzr revid: mdi@tinyerp.com-20121102104628-qcf3cgpqgecbqml1
2012-11-02 16:16:28 +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 14b0e83467 [IMP] modified do_onchange method in form view to be asynchronous
bzr revid: nicolas.vanhoren@openerp.com-20121031150546-ptpqlxixlfmbzbm6
2012-10-31 16:05: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
Xavier Morel 2295ab0d5a [FIX] dataset methods to get their request context through Dataset#get_context
if they go directly through the embedded model, child classes to
DataSet don't get the occasion to override the generation/fetching of
the context, and e.g. relational fields thus don't work correctly (as
their field context isn't forwarded).

bzr revid: xmo@openerp.com-20121031143723-j4q0t8cbzttela1r
2012-10-31 15:37:23 +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
Xavier Morel 62f4d999f4 [IMP] positioning of edition fields within a scrolled dialog
they still don't work every time, but should be slightly more reliable

bzr revid: xmo@openerp.com-20121031140718-j3e4r9djyq34rqu7
2012-10-31 15:07:18 +01:00
Xavier Morel b6af4f22cb [FIX] [ESC] key closing dialogs when editing a list
bzr revid: xmo@openerp.com-20121031140641-l1nf68jxiye8fyi8
2012-10-31 15:06:41 +01:00
Xavier Morel e9d00c7148 [FIX] broken data: urls + remove inane position: absolute on listview delete buttons
bzr revid: xmo@openerp.com-20121031140609-d1d1w01dl9g41odf
2012-10-31 15:06:09 +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
Frédéric van der Essen 311cf01384 [MERGE] from trunk
bzr revid: fva@openerp.com-20121030110643-u775xem0pp6sqvjc
2012-10-30 12:06:43 +01:00
Frédéric van der Essen fb642473c1 [IMP] css: made the padding around the comments bigger
bzr revid: fva@openerp.com-20121030110621-86exa4ibrnd9585i
2012-10-30 12:06:21 +01:00
Thibault Delavallée 4bc3bde860 [MERGE] OpenChatter 5.Pi "Stylin' in the rain", with a better Chatter widget, CSS and behavior.
This web-side revision brings a new web widget for attachments, in order to upload one or more file in same time and display them as a list. Files deletion is supported. The blockui option allows to block the UI while the file is uploaded.

bzr revid: tde@openerp.com-20121029144755-7xibc7a3ndmby898
2012-10-29 15:47:55 +01:00
Thibault Delavallée e79b8e2912 [MERGE] Merged branch fixing recurring bug with ClEditor.
bzr revid: tde@openerp.com-20121029143527-6libgkpudmo2xlu8
2012-10-29 15:35:27 +01:00
Christophe Matthieu f3e397a98f [FIX] cleditor: When the DOM is modify, the event resize try to call refresh and refresh has not DOM available. Correction : If the DOM as no prent, don't call refresh.
bzr revid: chm@openerp.com-20121029142557-q4wdjiqw5fortp36
2012-10-29 15:25:57 +01:00
Thibault Delavallée 7768919bb2 [MERGE] Sync with web/trunk.
bzr revid: tde@openerp.com-20121029135519-rjjannd2rssl665v
2012-10-29 14:55:19 +01:00