summaryrefslogtreecommitdiff
path: root/addons/web/static/src
AgeCommit message (Collapse)Author
2014-02-05[REM] Remove LoginForm javascriptFabien Meghazi
bzr revid: fme@openerp.com-20140205091749-39333kr3hz0dt4wg
2014-01-31[MERGE] trunk-website-alAntony Lesuisse
bzr revid: al@openerp.com-20140131005202-sjsfy3tc8ys1a325
2014-01-30[MERGE] merge trunk into local branchGery Debongnie
bzr revid: ged@openerp.com-20140130155402-h4y6k4ydk6s2yasv
2014-01-30[FIX] simplify a computation of raw_fields to make sure it doesn't crash ↵Gery Debongnie
(_.contains expects a list, and not a string) (addon web) bzr revid: ged@openerp.com-20140130153700-2lno0uefta93ex53
2014-01-30[IMP] Quick fix for cros support in webclientFabien Meghazi
bzr revid: fme@openerp.com-20140130151146-twct15ruxq179ryu
2014-01-30[MERGE] merge from trunkGery Debongnie
bzr revid: ged@openerp.com-20140130135056-74l65y4v24ohlwcq
2014-01-29[MERGE] forward port of branch saas-2 up to revid 3899 ↵Christophe Simonis
chs@openerp.com-20140129095637-mbfz82r5pyz4dctc bzr revid: chs@openerp.com-20140129101004-44ft0oaeo201guhd
2014-03-18[MERGE] forward port of branch 7.0 up to revid 4162 ↵Christophe Simonis
launchpad_translations_on_behalf_of_openerp-20140318062141-rdiqz2ptnz3qmxd0 bzr revid: chs@openerp.com-20140129095637-mbfz82r5pyz4dctc bzr revid: dle@openerp.com-20140210140818-5mtk1qhheo219bm1 bzr revid: dle@openerp.com-20140214114445-krexrwm9o2nrxepk bzr revid: mat@openerp.com-20140219111353-cxo860z7ctz7om30 bzr revid: dle@openerp.com-20140221120519-1pj3wc8kqgkr5uda bzr revid: chs@openerp.com-20140318112743-tqv492026y2pnbff
2014-03-14[FIX] pager: revert of revision 4159, the pager was disapearing when going ↵Martin Trigaux
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[FIX] pager: do not try to toggle the visibility if the pager do not exists yetMartin Trigaux
bzr revid: mat@openerp.com-20140314112709-0sqq6tcpmza34q1e
2014-03-13[FIX] pager: show the pagger earlier to avoid slow loading to mix list and ↵Martin Trigaux
form pagers when fast switching bzr revid: mat@openerp.com-20140313123811-ej7lu53xp51kn6gu
2014-03-12[MERGE] [FIX] one2many fields: when sortign on a column of type m2o (format ↵Martin Trigaux
(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-11[FIX] web: set z-index of 9999 for autocompletion pane of search bar, to ↵Denis Ledoux
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[FIX] web: on SearchPopup creation concat build context even if we have ↵Xavier ALT
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-07[FIX] quick create: do not add the id in the form if the form is readonly ↵Martin Trigaux
(eg: clicking on save button will make the form uneditable) bzr revid: mat@openerp.com-20140307141257-rvusvzm6oq3tel51
2014-03-05[MERGE] [FIX] export wizard: better behaviour when saving new fields listMartin Trigaux
- 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-04[FIX]Fixed the issue of o2m sorting by column, m2o field does not give ↵Mohammed Shekha (OpenERP)
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-03[MERGE] [FIX] view list: pagination problem when delete records in list viewMartin Trigaux
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-02-22[FIX] home action: open the linked menu in addition to execute the action. ↵Martin Trigaux
The menu tree is now correctly displayed instead of only messaging. bzr revid: mat@openerp.com-20140221165706-79uqffr5nk4zbj5e
2014-02-18[MERGE] [FIX] view_list: avoids getParent() js error when clicking to fast ↵Martin Trigaux
on menu items that load a list view after loading a form view bzr revid: mat@openerp.com-20140218143111-yot645o83gxvkujb
2014-02-18[IMP] data: skip read_ids call when got no id (opw 604099).Martin Trigaux
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-17[FIX] getParent() js error when clicking to fast on menu items that load a ↵Cecile Tonglet
list view after loading a form view bzr revid: cto@openerp.com-20140217104920-fu8hcqd51bh7qnrp
2014-02-14[MERGE] [FIX] home action: fixing the broken field 'action_id' on the ↵Martin Trigaux
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[IMP] always click on first link to have menus and breadcrumbMartin Trigaux
bzr revid: mat@openerp.com-20140214111707-7zzpeccs9aanfdct
2014-02-14[FIX] login: look at the value of action_id on the current res.users to ↵Martin Trigaux
execute the action instead of the first link (Inbox). Bring back 6.1 behaviour. bzr revid: mat@openerp.com-20140214111540-sbn3y6ou3vrjza15
2014-02-13[MERGE] [FIX] css: Fixed the issue of statubar not aligned with buttons in ↵Martin Trigaux
chrome browser. bzr revid: mat@openerp.com-20140213145755-txvtwqbfc83vnw9o
2014-02-13[FIX]Web, Statusbar: Fixed the issue of statubar in chrome is aligned, it is ↵Mohammed Shekha (OpenERP)
aligned in inline block. bzr revid: msh@openerp.com-20140213115556-irdodahpw0atgy5u
2014-02-13[FIX] data: _.find (prefered to older _.detect) may return undefined if no ↵Martin Trigaux
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-10[FIX] close autocomplete listing on inputDenis Ledoux
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-06[IMP] reference fields: display a more user-friendly window title when open ↵Martin Trigaux
a chosen many2one record in reference field bzr revid: mat@openerp.com-20140206102409-4lbx7ofsgz8speni
2014-02-05[MERGE] [FIX] search: make sure search view is not destroyed when starting ↵Martin Trigaux
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-04[FIX] css: remove height: 18px on .oe_facet_value property to avoid long ↵Martin Trigaux
filter name to exceed the size of the box (on 2 lines) bzr revid: mat@openerp.com-20140204155046-ifqts8mpaqhgvjnj
2014-02-04[FIX] getParent() js error when clicking to fast on menu items of dashboardsCecile Tonglet
bzr revid: cto@openerp.com-20140204150544-nkuhxree6qijihq2
2014-02-03[TYPO] Fix bug css revert rev 4122 and add clear:bothjke-openerp
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-01-31[IMP] attachement: remove unnecessary redraw added at rev 4128 and change ↵Martin Trigaux
message to be the same than in mail bzr revid: mat@openerp.com-20140131102836-e89xo4nrwk32uij8
2014-01-29[FIX] attachement: display error message (removed inexistant template) and ↵Martin Trigaux
redraw the window (to avoid getting stucked) bzr revid: mat@openerp.com-20140129141438-3883hhzdiwyoo19t
2014-01-29[FIX] correctly compute the attribute 'length' in a query_group so that the ↵Gery Debongnie
list view properly display groups when grouped by 'date:interval' (addon web) bzr revid: ged@openerp.com-20140129092359-20kw6n3sxqobiqu5
2014-01-28[MERGE] [ADD] ways to correctly handle local datetimes in e.g. domainsMartin Trigaux
* Alter datetime.now(), generate a local datetime (add utcnow() which generates a UTC datetime) * Implement datetime.replace() to manipulate local datetimes * Implement date.today(), generates a local date * Implement datetime.toJSON(), returns a javascript Date (assumes datetime attributes are local) * Add conversion hook in JSON and JSONP handlers, automatically converts a Date object to a UTC datetime formatted according to server formats Should allow the generation of correctly working (from the end-user's POV) [Today] filters, amongst other things. Eg: a local expression in a domain for 'Today 00:00:00' would now be expressed as 'datetime.datetime.now().replace(hour=0, minute=0, second=0)' (no .strftime) and will be converted to UTC when sent to the server bzr revid: mat@openerp.com-20140128133706-4yp610pp5w06tcia
2014-01-27[IMP] Fix css with header of no_form, Fix css for Entypo lin height, Fix js ↵jke-openerp
positionning for search no_result, allow click on + in kanban when no_result (ask of fp) bzr revid: jke@openerp.com-20140127172414-qftefwct3zbgfvrt
2014-01-22[ADD] ways to correctly handle local datetimes in e.g. domainsXavier Morel
* change datetime.now() to generate user-local naive datetimes * add datetime.utcnow() behaving as the old now() * add date.today() generating a user-local date (for the current day) * add datetime.replace() to replace any specific attribute of the datetime object (except tzinfo, for now) * datetime.toJSON() now returns the equivalent javascript Date object (warning: uses the datetime attributes directly, since datetimes are naive if they were created with utcnow() the Date result is going to be complete nonsense). With the previous commit datetime.now() generates a user-local now() which is converted to the correct UTC datetime when sent to the server. This means it becomes possible to generate datetime bounds for the user's local today with either datetime.datetime.now().replace(hour=0, minute=0, second=0) or datetime.datetime.combine( datetime.date.today(), datetime.time()) and once send over JSON-RPC the server will get the local datetime in UTC to the server's format. nb: user-local means "in the timezone of the user's browser" in this context. bzr revid: xmo@openerp.com-20140122151911-akn1nr6e739eg92s
2014-01-22[ADD] JSONify Date objects to a UTC datetime in OpenERP server formatXavier Morel
This way, the client can send genuine local Date objects without caring too much, the server will get them in an expected format. This can then be used by leaving Date objects in domains, and have these date objects end up correctly in the server without creators of domains having to manually serialize them to UTC from a local datetime somehow. bzr revid: xmo@openerp.com-20140122135426-zm80cj5wm9iebs76
2014-01-22[FIX] makes the querygroup methods compatible with the 'field:interval' ↵Gery Debongnie
format of groupbys accepted by read_group bzr revid: ged@openerp.com-20140122124449-4nodai5vkoz3eryf
2014-01-21[FIX] FieldStatus: restore trigger get_selection on value change. Was ↵Martin Trigaux
removed rev 3738. Without this a change of record in a form view would not recompute the list of states as well as a change of state due to a button bzr revid: mat@openerp.com-20140121151255-jke0zbobb0ilpqid
2014-01-21[FIX] format_value: correctly compose if block, we are doing python here...Martin Trigaux
bzr revid: mat@openerp.com-20140121142625-fy8zkafcvb9wwz88
2014-01-21[IMP] always apply substring and call directly str_to_dateMartin Trigaux
bzr revid: mat@openerp.com-20140121135058-cr3ivak97rqm6npo
2014-01-21[FIX] format_value: when formating to date, make sure not converting from a ↵Martin Trigaux
datetime string as would make timezones apply and lead to a possible day change bzr revid: mat@openerp.com-20140121132725-k9f8hna3lg7nq7g8
2014-01-20[FIX] css: remove useless css propertiesMartin Trigaux
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[FIX] search: add delay of 250us (was 0) on autocomplete fields in search ↵Martin Trigaux
bar and m2o fields. This avoids making a search request for each keypressed bzr revid: mat@openerp.com-20140120160147-q7lg4j93c836ec44
2014-01-20[FIX] css: unify lines in view log menuMartin Trigaux
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-17[FIX] format_value: consider text fields te same way as char fields for ↵Martin Trigaux
empty values bzr revid: mat@openerp.com-20140117113141-i95ncy04azzmahqk