Commit Graph
5482 Commits
Author SHA1 Message Date
Xavier Morel 7e6c3be96f [FIX] check default filter in drawer
bzr revid: xmo@openerp.com-20121112154815-e9a8dn5gwqyi7s80
2012-11-12 16:48:15 +01:00
Xavier Morel 06bcfd27fc [FIX] editable listview @on_write handling in case of @colors
the onwrite handler created an "empty" record with no field value
whatsoever, which'd blow up in the py evaluator. As during creation
(edition of a record where all fields are empty) create a record where
all fields are set to ``false`` so rendering works correctly, and wait
for content refresh to get correct data.

Also added a test for @on_write

bzr revid: xmo@openerp.com-20121112150526-vrr66ms95qbuoped
2012-11-12 16:05:26 +01:00
Paramjit Singh Sahota f61b7d5d39 [IMP] Improved code and removed the VECTORAL whose vectoral images are not avaiable.
bzr revid: psa@tinyerp.com-20121112131027-zrw4ioyjmjwyk442
2012-11-12 18:40:27 +05:30
ggh-openerp 0452790388 [IMP] Improve Change Password dailog
bzr revid: ggh@tinyerp.com-20121112130756-jtj6u56pcvxorxcr
2012-11-12 18:37:56 +05:30
Xavier Morel e001c965a5 [REM] unused import controller
bzr revid: xmo@openerp.com-20121112124904-4ubf9d17d2whq1ln
2012-11-12 13:49:04 +01:00
Paramjit Singh Sahota 5e7876e928 [IMP] Improved code OpenERP logo on right click on website.
bzr revid: psa@tinyerp.com-20121112114603-6xhi21dpzp2nljtc
2012-11-12 17:16:03 +05:30
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
Xavier Morel 0074bc4b3d [FIX] async docs
bzr revid: xmo@openerp.com-20121112073957-loeg9j4vbofklpnb
2012-11-12 08:39:57 +01:00
Xavier Morel 140f647167 [FIX] vas te faire foutre al
bzr revid: xmo@openerp.com-20121112073436-hjnbgcf08wfhwxa5
2012-11-12 08:34:36 +01:00
Jiten (OpenERP) cef4fee60a [IMP] Improved code to add different resolution of OpenERP logo.
bzr revid: jra@tinyerp.com-20121112060105-vgffoul2qqxhhysd
2012-11-12 11:31:05 +05:30
Jiten (OpenERP) 86477587e9 [MERGE] Merged trunk.
bzr revid: jra@tinyerp.com-20121112055941-y8tc8ga2rtwoau3q
2012-11-12 11:29:41 +05:30
Antony Lesuisse 1b80c5bd52 [IMP] monodb helper
bzr revid: al@openerp.com-20121111163243-bhj3jzhuk99sklwo
2012-11-11 17:32:43 +01:00
Antony Lesuisse 521f52caff [FIX] dataset class
bzr revid: al@openerp.com-20121110222822-ey7vzl7excr70j9k
2012-11-10 23:28:22 +01:00
Antony Lesuisse e30858b91e [IMP] minor doc updates
bzr revid: al@openerp.com-20121110214755-4x7skj4o2g2icx4l
2012-11-10 22:47:55 +01:00
Antony Lesuisse 49c0ed6467 [IMP] restore mono db preload, introduce bootstrap manifest key
bzr revid: al@openerp.com-20121110211343-g1r6qzka8iqk1fky
2012-11-10 22:13:43 +01:00
Antony Lesuisse 2e810433c9 remove WidgetMixin
bzr revid: al@openerp.com-20121110194654-0q10uajsy6nmzzd6
2012-11-10 20:46:54 +01:00
Antony Lesuisse 27c872cef3 remove CallbackEnabled
The on_/do_ binding still happens in Widget.init, but as we now use ES5 bind()
it doesnt clutter stack traces anymore. However the fate of this automatic binding
feature remains uncertain.

bzr revid: al@openerp.com-20121110193440-78mpwamqx7iwq2ux
2012-11-10 20:34:40 +01:00
Antony Lesuisse 3fe1945347 use ES5 bind() for better stack traces
bzr revid: al@openerp.com-20121110190014-ead1981ez6up6ri1
2012-11-10 20:00:14 +01:00
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
Bhumi Thakkar (Open ERP) d867a08f7c [IMP]Sass changes.
bzr revid: bth@tinyerp.com-20121109112628-pikbl2bk9exg5qeb
2012-11-09 16:56:28 +05:30
Bhumi Thakkar (Open ERP) 155cc738ee [IMP] Improve text.
bzr revid: bth@tinyerp.com-20121109110243-bhlnf0knx1zqmx38
2012-11-09 16:32:43 +05:30
Bhumi Thakkar (Open ERP) 4d24c3fbec [IMP] Add attribute on div.
bzr revid: bth@tinyerp.com-20121109105120-iihflpk9h88uhism
2012-11-09 16:21:20 +05:30
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
Christophe Matthieu 65b8b46401 [MERGE] from trunk
bzr revid: chm@openerp.com-20121109083925-rpuk4rwyu3kx50vt
2012-11-09 09:39:25 +01:00
Xavier Morel d3b22ccb36 [FIX] incorrect handling of empty values in m2m listview display
bzr revid: xmo@openerp.com-20121109083513-mjpzd01hhuylll4j
2012-11-09 09:35:13 +01:00
Bhumi Thakkar (Open ERP) 0ffd487d18 [IMP] Add css class and remove inline style.
bzr revid: bth@tinyerp.com-20121109070434-00onkcty4js1lzbk
2012-11-09 12:34:34 +05:30
Bhumi Thakkar (Open ERP) 94935e92a5 [IMP] Add css class.
bzr revid: bth@tinyerp.com-20121109065546-0k3rmulfy59kyl6g
2012-11-09 12:25:46 +05:30
Bhumi Thakkar (Open ERP) 14f00d4e89 [IMP] Improve css.
bzr revid: bth@tinyerp.com-20121109062014-uhbwcf1ztldz14m6
2012-11-09 11:50:14 +05:30
Bhumi Thakkar (Open ERP) ea14b21995 [IMP] Improve css and structure.
bzr revid: bth@tinyerp.com-20121109060730-c7fxdk1rwokw3npe
2012-11-09 11:37:30 +05:30
Jiten (OpenERP) 7facc34f31 [MERGE] Merged trunk.
bzr revid: jra@tinyerp.com-20121109051225-84fqg11sjo74vdo1
2012-11-09 10:42:25 +05:30
Christophe Simonis 28f7f46a5c merge upstream
bzr revid: chs@openerp.com-20121108175940-az1qy7z66o6fn4hp
2012-11-08 18:59:40 +01:00
Christophe Simonis a824da4be3 [FIX] do_load_state: propagate _push_me flag
bzr revid: chs@openerp.com-20121108175910-qd2xho4srhhbjs5q
2012-11-08 18:59:10 +01:00
Christophe Simonis 6436f75513 merge upstream
bzr revid: chs@openerp.com-20121108163458-wk7p4mf7fyh3winl
2012-11-08 17:34:58 +01:00
Christophe Matthieu 0baf4727ef [FIX] followers: no confirm save message
bzr revid: chm@openerp.com-20121108162304-paevi0x5isyornd1
2012-11-08 17:23:04 +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
Xavier Morel 788e8edf81 [FIX] don't resize & reposition invisible or readonly fields in editable listview
the datetime field doesn't setup its internal widget if the field is readonly, so accessing it blows up

bzr revid: xmo@openerp.com-20121108153544-o2uvpfeoofu2tx12
2012-11-08 16:35:44 +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
Xavier Morel 3a5421309b [FIX] breakage of m2m (tag) fields in editable (o2m) listviews
e.g. quotation form view, "Order Lines" table, add a tax (or more) to
a line, save, then try to edit the line.

Issue: the listview mostly uses a single-level structure for its
display, each record is a trivial map of {name: value}. For the M2O
the expected value can be complex-ish (a name_get which holds all the
interesting stuff) but not so for the m2m.

An m2m value is just a list of ids (Array<Integer>), the list view
would overwrite that with the concatenated name_get strings to get
something kind-of displayable. Except editable serializes the record
it has and passes that as-is to the embedded formview. The
corresponding widget (FieldMany2ManyTags) most definitely does not
expect a big string to be shoved up its fat ass.

So use a different but just as disgusting hack: instead of *replacing*
the ids array with the string, add the string to the record after very
slightly munging the original name, that way the form is happy because
it gets the value it expects, and the Many2Many column can override
_format to use the value of the munged/fake column as "stuff it passes
to whatever is in charge of formatting fields for display" when the
original field is asked for.

NOTE: redundant work is done as every line will do its own name_get,
      potentially on the same ids over and over again. Having a
      short-lived backend cache may allow not name_get-ing ids we've
      already fetched during the same table display...

bzr revid: xmo@openerp.com-20121108145705-uphw76z4q4krcpnl
2012-11-08 15:57:05 +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
Christophe Simonis eaa3da915b [FIX] improve warning dialog css
bzr revid: chs@openerp.com-20121108145001-pswe7r5ss4nzgu00
2012-11-08 15:50:01 +01:00
vta vta@openerp.com d68db69b42 [MERGE] trunk-saas_analytics.
bzr revid: vta@openerp.com-20121108140803-jhow00d9w5696yla
2012-11-08 15:08:03 +01:00
vta vta@openerp.com 2576cd9d5c [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121108132049-7ape10oz1gvz4vi8
2012-11-08 14:20:49 +01:00
Fabien Meghazi a8518622dd [FIX] Check if console exists before using it
bzr revid: fme@openerp.com-20121108132001-jg5cuqszl2qemy92
2012-11-08 14:20:01 +01:00
Fabien Meghazi d0400362d6 [IMP] Updated jquery and jquery ui. API change for $.Deferreds
bzr revid: fme@openerp.com-20121108113703-0qfymcfmkdgyuz91
2012-11-08 12:37:03 +01:00
niv-openerp 7ec48c2d26 [IMP] merged documentation in the wiki with web client documentation
bzr revid: nicolas.vanhoren@openerp.com-20121108112356-zl99m2qod2e1fdk8
2012-11-08 12:23:56 +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
Christophe Matthieu b865a94c6b [MERGE] from trunk
bzr revid: chm@openerp.com-20121108111417-ds9eyxd32tihpuxs
2012-11-08 12:14:17 +01:00
Fabien Meghazi e2766b6690 [FIX] Restore dialog buttons
bzr revid: fme@openerp.com-20121108104248-fqv98fv45n35q8qf
2012-11-08 11:42: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