Commit Graph

4599 Commits

Author SHA1 Message Date
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 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 f0b8314554 [IMP] view_form radio button: raw to esc
bzr revid: chm@openerp.com-20130321151827-p24pduqmcgy1k35u
2013-03-21 16:18:27 +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 a5ee9e5819 [FIX] chrome.js: error without message
bzr revid: chm@openerp.com-20130320122210-0p31k511eg8fplap
2013-03-20 13:22:10 +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
niv-openerp a6a8d71a0e [FIX] calls to fields_view_get do not pass the correct context, fails in o2m
lp bug: https://launchpad.net/bugs/1091204 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130318174503-7xp04ccghdbqfvrl
2013-03-18 18:45:03 +01:00
Olivier Dony 662f4066f8 [FIX] db creation: change master password field back to type=password
This is not only dangerous but also
completely inconsistent with the other
db management screens. It also represents
little improvement in terms of usability
for first-time users, since the password
is now mentioned on the comment just above
the field.

bzr revid: odo@openerp.com-20130318155618-z9s2izahnv1j2no6
2013-03-18 16:56:18 +01:00
Xavier Morel ac5008abc9 [FIX] pyeval: argspec of relativedelta
bzr revid: xmo@openerp.com-20130318105244-qkgvi69do0219lkk
2013-03-18 11:52:44 +01:00
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
Fabien Meghazi ac64a4fcb8 [IMP] Improved box_info box_warning css
bzr revid: fme@openerp.com-20130314222616-gz7f0zpnpz0skq88
2013-03-14 23:26:16 +01:00
Christophe Simonis ddd252b5d1 [FIX] EmbeddedClient.do_action() forward all arguments
bzr revid: chs@openerp.com-20130314144503-e5ewicf13er2clh8
2013-03-14 15:45:03 +01:00
Christophe Simonis 089bec0d9a [MERGE] [ADD] `hide_breadcrumb` option
bzr revid: chs@openerp.com-20130314144416-v3eb8czyr44qiub8
2013-03-14 15:44:16 +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
Fabien Meghazi ae24f3fb71 [FIX] Do not restraint info box width
bzr revid: fme@openerp.com-20130314115055-7vv9nw51hf284lz3
2013-03-14 12:50:55 +01:00
Fabien Meghazi 1bc43748ee [ADD] `hide_breadcrumb` option
bzr revid: fme@openerp.com-20130314105213-13dtn26c773qsu7a
2013-03-14 11:52:13 +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 f6f5b20d96 [FIX] missing oe_page_only class
bzr revid: fme@openerp.com-20130313162032-5jhh4nhk16z7qh1n
2013-03-13 17:20:32 +01:00
Fabien Meghazi bed679f1c8 [ADD] Added form view infobox styling
bzr revid: fme@openerp.com-20130313154429-yjrbj0oklt7hd0qw
2013-03-13 16:44:29 +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
Antony Lesuisse cb9106d99f [FIX] IE9 db creation, better monodb
bzr revid: al@openerp.com-20130312230344-uasy5dx2e8n5ytlr
2013-03-13 00:03:44 +01:00
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
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
Olivier Dony 0c440aa941 [FIX] web: typo in logo_edit function introduced at revision 3789
rev 3789 = nicolas.vanhoren@openerp.com-20130227113132-m2kr9slpxp1pogaz

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

bzr revid: odo@openerp.com-20130312104429-wnegqndcagas2c9f
2013-03-12 11:44:29 +01:00
Xavier Morel 1899141b38 [FIX] groupby groups fetching of their ancestor searchview
Implementation of invisibles in search view altered handling of search
inputs: their parent may not be the searchview anymore (usually is a
instance.web.search.Group). GroupbyGroup assumed parent was view and
was actually unused until
xmo@openerp.com-20130307124222-1ypzfopbktxmad4z, which exposed the
incorrect underlying assumption.

Make GroupbyGroup access its view when it wants its view, not its
parent.

bzr revid: xmo@openerp.com-20130312092824-z7sh4h3ityo4g00v
2013-03-12 10:28:24 +01:00
Antony Lesuisse 1d3c577e33 [IMP] dbmanager create screen
bzr revid: al@openerp.com-20130311212353-9f591b5y0h216l70
2013-03-11 22:23:53 +01:00
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
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
Thibault Delavallée 0d92909edd [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130308125541-z19wqiqqxx6mertr
2013-03-08 13:55:41 +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
Thibault Delavallée a82042a6b1 [FIX] uploader widget: use the field string instead of an hardcoded 'File'.
bzr revid: tde@openerp.com-20130308092532-w24qj0kxd9374s1u
2013-03-08 10:25:32 +01:00
Fabien Meghazi b18bca920b [ADD] Restore timestamp in Reload
bzr revid: fme@openerp.com-20130307173612-nso4w37o9ejtu7w4
2013-03-07 18:36:12 +01:00
Fabien Meghazi 369137c7a3 [FIX] Use new db parameter after database creation's reload
bzr revid: fme@openerp.com-20130307144815-3v2ocglf6p83gyvo
2013-03-07 15:48:15 +01:00
Xavier Morel 617c03a19c [FIX] broken inference of groupby groups in search view filters
Before the valpocalypse, filter contexts were "literal" (parsed
objects) when reaching the search view, and `.attrs.context.group_by`
would return the right thing (namely the group_by attribute of the
context object).

After the valpocalypse, contexts & domains on view fields (and
filters) are not evaluated on the Python side anymore and reach view
objects as strings, the access chain above thus always returns a falsy
value (undefined) as strings don't have a .group_by.

Fix FilterGroup to correctly parse filter's @context before trying to
see if it has a group_by.

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

bzr revid: xmo@openerp.com-20130307124222-1ypzfopbktxmad4z
2013-03-07 13:42:22 +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
Fabien Meghazi 2084065daa [FIX] xml2str: Do not keep html void tags opened
bzr revid: fme@openerp.com-20130306144024-gjuyq6fsrvol12x2
2013-03-06 15:40:24 +01:00
Xavier Morel 71ec2c9439 [FIX] search view field visible through dropdown menu
xmo@openerp.com-20130305093619-s1e5fbl80r7qnk5l added zIndex on wrong
element of search view (view itself instead of just the autocompletion
drop-down) leading to the search view text field being visible over
the "more" section of the menu.

Move zIndex setting to the right place (on the missing
`autocomplete('widget')` indirection, and on open as jquery ui
autocomplete apparently decides to reset the dropdown's z-index each
time it is open)

bzr revid: xmo@openerp.com-20130306110051-1wfhxaylsn71skjp
2013-03-06 12:00:51 +01:00
Xavier Morel 2ed01c1954 [FIX] various forgotten compilations of sass files into css
bzr revid: xmo@openerp.com-20130306105106-k66gvdz0vgbn1y3e
2013-03-06 11:51:06 +01:00
Xavier Morel 2e0270783a []FIX] disable (broken) inline edition in grouped editable lists
Because the Add/Create button is global, it's not really possible to
know *where* to create the new record, and the current design can't
really deal with a record being edited outside of all groups.

An option might be to create a dedicated empty group for that, but the
cost/benefit is high and the UI would probably be odd.

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

bzr revid: xmo@openerp.com-20130306102136-2ms7llbt4swka92k
2013-03-06 11:21:36 +01:00