Martin Trigaux
64ecfa40ec
[IMP] cookies: when retrieving session cookie, catch eventual parsing errors and remove cookie if incorrect (opw 605648)
...
In case of unparsable cookie (modified, corrupted,...), openerp would not load and crash with white screen until expiration.
With the fix goes back to login screen.
bzr revid: mat@openerp.com-20140327120826-2p6ebnojtmdl1wpm
2014-03-27 13:08:26 +01:00
Martin Trigaux
a04f73ee80
[IMP] cookies: when retrieving session cookie, catch eventual errors and remove malformed cookie
...
bzr revid: mat@openerp.com-20140327113401-s3ee7fnexhre9mwb
2014-03-27 12:34:01 +01:00
Denis Ledoux
649ef3ed21
[REVERT] 4164 revid:dle@openerp.com-20140326113036-g9yv3jj6yetwxvg8: this fix actually works in saas-3, but not in 7.0, as search_read method is not part of the orm
...
bzr revid: dle@openerp.com-20140326123513-jkful2m1n2zjgdmv
2014-03-26 13:35:13 +01:00
Denis Ledoux
162ad1c0f1
[FIX] web: on record reload (form & list view), use search_read instead of read, to check if the user can still read the record (security rules)
...
bzr revid: dle@openerp.com-20140326113036-g9yv3jj6yetwxvg8
2014-03-26 12:30:36 +01:00
Martin Trigaux
53922c9593
[FIX] pager: revert of revision 4159, the pager was disapearing when going in editable mode (which is more problematic that the issue rev 4159 was trying to fix)
...
bzr revid: mat@openerp.com-20140314132854-8ie8sosx9xecuww4
2014-03-14 14:28:54 +01:00
Martin Trigaux
08e07af590
[FIX] pager: do not try to toggle the visibility if the pager do not exists yet
...
bzr revid: mat@openerp.com-20140314112709-0sqq6tcpmza34q1e
2014-03-14 12:27:09 +01:00
Martin Trigaux
71d8f8f1c4
[FIX] pager: show the pagger earlier to avoid slow loading to mix list and form pagers when fast switching
...
bzr revid: mat@openerp.com-20140313123811-ej7lu53xp51kn6gu
2014-03-13 13:38:11 +01:00
Martin Trigaux
82692f11a0
[MERGE] [FIX] one2many fields: when sortign on a column of type m2o (format (id, name)), instead of sorting on the tuple (and then id), sort on the name_get value to match what is shown on the screen
...
bzr revid: mat@openerp.com-20140312150435-shq9hy3b9njkhxsn
2014-03-12 16:04:35 +01:00
Denis Ledoux
6e9f3ad806
[FIX] web: set z-index of 9999 for autocompletion pane of search bar, to avoid being behind jquery ui dialogs. Besides, this pane should always be on top, therefore we can assume that setting 9999 will not have bad side effects
...
bzr revid: dle@openerp.com-20140311104947-is5qpw71y1m2oakf
2014-03-11 11:49:47 +01:00
Xavier ALT
c033e5a535
[FIX] web: on SearchPopup creation concat build context even if we have initial_ids
...
On SearchPopupCreation, if we have initial_ids - 1st search_read() will be
missing custom context defined on the field.
1. defined view like this: <field name='my_many2one_field_id' context="{'test': 1}"/>
2. in we expand the list of available item, name_search() has 'test' in context
3. in we click on 'Search More', search_read() is missing 'test' in context
4. if we change filter add/remove item, search_read() will have 'test' in context
Step 3. is wrong, should also have 'test' in context
lp bug: https://launchpad.net/bugs/1209295 fixed
bzr revid: mat@openerp.com-20140311091522-03imwd5rj3rmwapl
2014-03-11 10:15:22 +01:00
Martin Trigaux
618c8b9100
[FIX] quick create: do not add the id in the form if the form is readonly (eg: clicking on save button will make the form uneditable)
...
bzr revid: mat@openerp.com-20140307141257-rvusvzm6oq3tel51
2014-03-07 15:12:57 +01:00
Martin Trigaux
22f86f097a
[MERGE] [FIX] export wizard: better behaviour when saving new fields list
...
- Show the fields list once we save the first one
- When delete a list, remove the selected fields
- When add a list, do not remove the selected fields
bzr revid: mat@openerp.com-20140305100843-ircqtucf1pkn3wzd
2014-03-05 11:08:43 +01:00
Martin Trigaux
7bb95a4468
Update undescore.js to version 1.6 and underscore.string.js to version 2.3
...
bzr revid: mat@openerp.com-20140304125528-97w5kbv3ry028kn9
2014-03-04 13:55:28 +01:00
Mohammed Shekha (OpenERP)
f29f1e6f04
[FIX]Fixed the issue of o2m sorting by column, m2o field does not give proper result for sorting because whole value of m2o [id, value] going to compare for sorting.
...
bzr revid: msh@openerp.com-20140304110659-4uu38feetsjj0tt5
2014-03-04 16:36:59 +05:30
Martin Trigaux
a1a5bc6c06
[MERGE] [FIX] view list: pagination problem when delete records in list view
...
When delete a record, correctly display the number of remaining items displayed (eg: 1-79 of 99)
When no more items in a page, force switch to previous page
When no more pager, reload the content to display potential items in next page
bzr revid: mat@openerp.com-20140303164114-pzeuu9hxvq17lx02
2014-03-03 17:41:14 +01:00
Martin Trigaux
16a5c45114
[FIX] home action: open the linked menu in addition to execute the action. The menu tree is now correctly displayed instead of only messaging.
...
bzr revid: mat@openerp.com-20140221165706-79uqffr5nk4zbj5e
2014-02-22 03:57:06 +11:00
Martin Trigaux
8be121ff69
[MERGE] [FIX] view_list: avoids getParent() js error when clicking to fast on menu items that load a list view after loading a form view
...
bzr revid: mat@openerp.com-20140218143111-yot645o83gxvkujb
2014-02-18 15:31:11 +01:00
Martin Trigaux
2e831ab7c3
[IMP] data: skip read_ids call when got no id (opw 604099).
...
This avoids making useless calls to to read the values of o2m fields when the read on a record already told us there was no ids.
bzr revid: mat@openerp.com-20140218101438-yqim33cvtg6wt4mw
2014-02-18 11:14:38 +01:00
Cecile Tonglet
5ef7c4a6a1
[FIX] getParent() js error when clicking to fast on menu items that load a list view after loading a form view
...
bzr revid: cto@openerp.com-20140217104920-fu8hcqd51bh7qnrp
2014-02-17 11:49:20 +01:00
Martin Trigaux
9cc13d4216
[MERGE] [FIX] home action: fixing the broken field 'action_id' on the res.users form (lost with 6.1->7). This field executes a custom action at page load.
...
bzr revid: mat@openerp.com-20140214131800-9vwuxe9b2zki35il
2014-02-14 14:18:00 +01:00
Martin Trigaux
d65df64cdd
[IMP] always click on first link to have menus and breadcrumb
...
bzr revid: mat@openerp.com-20140214111707-7zzpeccs9aanfdct
2014-02-14 12:17:07 +01:00
Martin Trigaux
8877c10161
[FIX] login: look at the value of action_id on the current res.users to execute the action instead of the first link (Inbox). Bring back 6.1 behaviour.
...
bzr revid: mat@openerp.com-20140214111540-sbn3y6ou3vrjza15
2014-02-14 12:15:40 +01:00
Martin Trigaux
ce778f2000
[MERGE] [FIX] css: Fixed the issue of statubar not aligned with buttons in chrome browser.
...
bzr revid: mat@openerp.com-20140213145755-txvtwqbfc83vnw9o
2014-02-13 15:57:55 +01:00
Mohammed Shekha (OpenERP)
a8943b416a
[FIX]Web, Statusbar: Fixed the issue of statubar in chrome is aligned, it is aligned in inline block.
...
bzr revid: msh@openerp.com-20140213115556-irdodahpw0atgy5u
2014-02-13 17:25:56 +05:30
Martin Trigaux
409c3cfe9f
[FIX] data: _.find (prefered to older _.detect) may return undefined if no match and would trow an error when applying .values
...
Instead returns undefined which is handled below.
This does not solve the issue when records are not loaded properly but gives a better information on the reason.
bzr revid: mat@openerp.com-20140213085008-pnq4r0ebfl072u78
2014-02-13 09:50:08 +01:00
Denis Ledoux
749e05ccb8
[FIX] close autocomplete listing on input
...
Closing previously occured on search request (so that a user wouldn't be able
to select "old" data on new search request), but ``search`` is only triggered
after the search delay. Worked when delay was 0, with it being moved to 250 a
user can get results matching the previous search instead of the current one.
Trigger a closing of the current results list on any ``input`` event, which is
when text is entered in any of the searchview's ``InputView``
bzr revid: dle@openerp.com-20140210140032-06dnlxepcc5ae21f
2014-02-10 15:00:32 +01:00
Martin Trigaux
b75c52f3ed
[IMP] reference fields: display a more user-friendly window title when open a chosen many2one record in reference field
...
bzr revid: mat@openerp.com-20140206102409-4lbx7ofsgz8speni
2014-02-06 11:24:09 +01:00
Martin Trigaux
ea3c17a2e9
[MERGE] [FIX] search: make sure search view is not destroyed when starting SearchView widget
...
This avoids getting the error 'Cannot call method 'getParent' of undefined'
lp bug: https://launchpad.net/bugs/1178289 fixed
bzr revid: mat@openerp.com-20140205102107-5ggbbkyr172855uu
2014-02-05 11:21:07 +01:00
Martin Trigaux
14631ed6c5
[FIX] css: remove height: 18px on .oe_facet_value property to avoid long filter name to exceed the size of the box (on 2 lines)
...
bzr revid: mat@openerp.com-20140204155046-ifqts8mpaqhgvjnj
2014-02-04 16:50:46 +01:00
Cecile Tonglet
df0076c67d
[FIX] getParent() js error when clicking to fast on menu items of dashboards
...
bzr revid: cto@openerp.com-20140204150544-nkuhxree6qijihq2
2014-02-04 16:05:44 +01:00
jke-openerp
41f66b8835
[TYPO] Fix bug css revert rev 4122 and add clear:both
...
revert because was breaking the rendering of forms using oe_title as clearfix hack
adding clear on .oe_form_group to fix the journal form on firefox (block was unaligned, some fields out of the screen)
bzr revid: jke@openerp.com-20140203173926-ohabh1vahcwqijug
2014-02-03 18:39:26 +01:00
Martin Trigaux
23de024718
[IMP] attachement: remove unnecessary redraw added at rev 4128 and change message to be the same than in mail
...
bzr revid: mat@openerp.com-20140131102836-e89xo4nrwk32uij8
2014-01-31 11:28:36 +01:00
Martin Trigaux
3a07e0a012
[FIX] attachement: display error message (removed inexistant template) and redraw the window (to avoid getting stucked)
...
bzr revid: mat@openerp.com-20140129141438-3883hhzdiwyoo19t
2014-01-29 15:14:38 +01:00
Martin Trigaux
3c3ab07e2f
[FIX] format_value: correctly compose if block, we are doing python here...
...
bzr revid: mat@openerp.com-20140121142625-fy8zkafcvb9wwz88
2014-01-21 15:26:25 +01:00
Martin Trigaux
36048a8442
[IMP] always apply substring and call directly str_to_date
...
bzr revid: mat@openerp.com-20140121135058-cr3ivak97rqm6npo
2014-01-21 11:50:58 -02:00
Martin Trigaux
9a0a02060f
[FIX] format_value: when formating to date, make sure not converting from a datetime string as would make timezones apply and lead to a possible day change
...
bzr revid: mat@openerp.com-20140121132725-k9f8hna3lg7nq7g8
2014-01-21 11:27:25 -02:00
Martin Trigaux
c09798bfbb
[FIX] css: remove useless css properties
...
float:left with cleartext hack is the same as no properties, and it's working in firefox
bzr revid: mat@openerp.com-20140120163554-zf0sq98ko8qqc9fb
2014-01-20 17:35:54 +01:00
Martin Trigaux
263693e44e
[FIX] search: add delay of 250us (was 0) on autocomplete fields in search bar and m2o fields.
...
This avoids making a search request for each keypressed
bzr revid: mat@openerp.com-20140120160147-q7lg4j93c836ec44
2014-01-20 17:01:47 +01:00
Martin Trigaux
c3e31842e0
[FIX] css: unify lines in view log menu
...
This prevents lines in bold font to be larger than normal one and produce a gap in lines (in Firefox at least)
bzr revid: mat@openerp.com-20140120150606-dvoetrbp3cavtuc3
2014-01-20 16:06:06 +01:00
Martin Trigaux
2dc722ac80
[FIX] format_value: consider text fields te same way as char fields for empty values
...
bzr revid: mat@openerp.com-20140117113141-i95ncy04azzmahqk
2014-01-17 19:31:41 +08:00
Cecile Tonglet
f00e6711f5
[FIX] Fix the missing border-bottom of the notebook in dialogs
...
bzr revid: cto@openerp.com-20140115142608-rjemiq5lq8ju8zc0
2014-01-15 15:26:08 +01:00
Denis Ledoux
6109102e91
[FIX] web: view_form.js, allow press enter to break line in fieldtextwidget
...
bzr revid: dle@openerp.com-20140115120844-1z0pbh9pc63tllce
2014-01-15 13:08:44 +01:00
Martin Trigaux
2170efe270
[MERGE] [FIX] reference field: correct editable tree view for refrence field (opw 601553)
...
bzr revid: mat@openerp.com-20140115110038-30hgekee12evx5fm
2014-01-15 12:00:38 +01:00
Martin Trigaux
3f4c637674
[IMP] view_form: do not display hugly error message when name_get returns no value but more helpful message (eg: bad default value returns wrong id)
...
bzr revid: mat@openerp.com-20140114145720-r3lg0qjezqj4p3i1
2014-01-14 15:57:20 +01:00
Xavier ALT
7960f9fc59
[FIX] web: list view: fix wrong css for fields.reference in editable tree view
...
bzr revid: xal@openerp.com-20140114115947-gkh09tb2vxsjyksk
2014-01-14 12:59:47 +01:00
Xavier ALT
9a84e25342
[FIX] web: list view: keep original fields.reference value instact, store it's display in fake field_name+'__display' column, so that editing value in editable tree mode works
...
bzr revid: xal@openerp.com-20140114100439-hvdu9cxwyb3vvsum
2014-01-14 11:04:39 +01:00
Martin Trigaux
cc553cc507
[FIX] format: trying to format an undefined value as the same effect as a value to false or infinity: return value_if_empty parameter
...
bzr revid: mat@openerp.com-20140113172347-00anf6lh2jxin84w
2014-01-13 18:23:47 +01:00
Olivier Dony
1bb2fccb9d
[FIX] web: avoid crash when the Home client action is called without action param
...
E.g. this could happen when the HistoryBack client action
was unable to restore the previous breadcrumbs item, and
used the Home action as fallback. Could be reproduce by
performing a successful import from an action without
menu and context, such as what you get after refreshing
your browser.
bzr revid: odo@openerp.com-20140107161154-430y7hlf9mvtfyfe
2014-01-07 17:11:54 +01:00
Denis Ledoux
5ba8c98fee
[REVERT] rev 4098, revid:dle@openerp.com-20131224112201-0zlxa6fevvj3501h. Partialy break the design (buttons and status bar not displayed sometimes)
...
bzr revid: dle@openerp.com-20140103094415-vi99tbbeitzr7r2b
2014-01-03 10:44:15 +01:00
Denis Ledoux
7bb4f6da82
[FIX]web: status bar alignment, sometimes wrong on google chrome
...
bzr revid: dle@openerp.com-20131224112201-0zlxa6fevvj3501h
2013-12-24 12:22:01 +01:00