Commit Graph

1545 Commits

Author SHA1 Message Date
Cedric Snauwaert 347985e050 [FIX]tooltip: overwrite bootstrap default for tooltip
bzr revid: csn@openerp.com-20140417085954-mirh4eeotsorlyeo
2014-04-17 10:59:54 +02:00
Cedric Snauwaert 20556abc08 [MERGE]clean and refactored tooltip from branch trunk-tipsy-to-boostrap
bzr revid: csn@openerp.com-20140416102659-vft9tfuqmax0qx3q
2014-04-16 12:26:59 +02:00
Cedric Snauwaert 280caaa95c [MERGE]change modal windows to only use bootstrap3
bzr revid: csn@openerp.com-20140411132934-iodyidypjxb7v9ug
2014-04-11 15:29:34 +02:00
Cedric Snauwaert c8607c8b81 [FIX]few cosmetic of code
bzr revid: csn@openerp.com-20140411122753-qzxb29uwkw89mrxs
2014-04-11 14:27:53 +02:00
Cedric Snauwaert 049539809d [FIX]modal strict to bootstrap: no resize and only use 3 size, large-medium-small instead of changing width of modal
bzr revid: csn@openerp.com-20140410151940-w0m1ljjqgo0eysgp
2014-04-10 17:19:40 +02:00
Cedric Snauwaert 964e94f8a8 [FIX]forgot to open a dialog
bzr revid: csn@openerp.com-20140410121122-y0a8l1hzd01af8bn
2014-04-10 14:11:22 +02:00
Christophe Simonis e521085fff [MERGE] forward port of branch saas-3 up to revid 3997 dle@openerp.com-20140409093616-3060or02z8zmv8tm
bzr revid: chs@openerp.com-20140410105525-m68vejubszroawfm
2014-04-10 12:55:25 +02:00
Cedric Snauwaert e95ca69113 [REF]add bootstrap modal window based, cleaned, refactored from trunk-ui-to-boostrap-modal branch
bzr revid: csn@openerp.com-20140410100631-5v6a71oi5wyunbda
2014-04-10 12:06:31 +02:00
Martin Trigaux 506c08a9af [MERGE] [FIX] many2manytags: make sure the selected tag is added to the field when searched (opw 606045)
bzr revid: mat@openerp.com-20140408082758-zb2acpbfv2r6xidg
2014-04-08 10:27:58 +02:00
Anael Closson d62c9cea68 [FIX] OPW 606045 - view_form: add a m2m tag from search_create_popup doesn't add tag to field
bzr revid: acl@openerp.com-20140407154510-5vxckvf1vpsvl96e
2014-04-07 17:45:10 +02:00
Christophe Simonis f1d3f2a0c4 [MERGE] forward port of branch saas-3 up to revid 3995 chs@openerp.com-20140407144625-jfimvsx4mgrkztqv
bzr revid: chs@openerp.com-20140407161728-ccudwnqo970ac8ay
2014-04-07 18:17:28 +02:00
Denis Ledoux c0db6aec56 [FIX] web: do not reload record on dialog close if the wizard return an action
bzr revid: dle@openerp.com-20140402165008-y19pnbb35eerrnwx
2014-04-02 18:50:08 +02:00
Denis Ledoux f652402dd7 [FIX] web: read_ids of data.js use method search_read if check_access_rule option is true.
This fix is related to revision 3985 revid:dle@openerp.com-20140326142040-pls0dk2kd03z55ro, which did not worked for buffered dataset (virtual one2many line in view form
search_read is used instead of read to not return records for which we lose the access rights

bzr revid: dle@openerp.com-20140327112456-iyceuf9dnn07hwke
2014-03-27 12:24:56 +01:00
Denis Ledoux 7acaaf5894 [FIX] web: use search_read instead of read on form reload and record reload in list, to check if the user can still read the record
bzr revid: dle@openerp.com-20140326142040-pls0dk2kd03z55ro
2014-03-26 15:20:40 +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
Gery Debongnie 8ac730074a [MERGE] merge from trunk into local branch
bzr revid: ged@openerp.com-20140319090153-aczgy9uqqw72702x
2014-03-19 10:01:53 +01:00
Gery Debongnie f4cfed3f0e [IMP] improves the look of the stat buttons in form view: the statinfo widget displays the information on two lines, the padding/margin/width have been adjusted. (addon web)
bzr revid: ged@openerp.com-20140319085718-9v1l3pb43ee6qws6
2014-03-19 09:57:18 +01:00
Kersten Jeremy af8147fc95 [FIX] Display placeholder on IE9.
The hack was not working since we migrate jQuery 1.8 to 1.9 because $.browser has been removed.

bzr revid: jke@openerp.com-20140318130655-yqgj851enc0293hr
2014-03-18 14:06:55 +01:00
Christophe Simonis 541a5d3f82 [MERGE] forward port of branch saas-2 up to revid 3904 chs@openerp.com-20140318112743-tqv492026y2pnbff
bzr revid: chs@openerp.com-20140318115516-sn3laxqseam1oz3f
2014-03-18 12:55:16 +01:00
Christophe Simonis acb010a985 [MERGE] forward port of branch 7.0 up to revid 4162 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-18 12:27:43 +01:00
Gery Debongnie e8198d74b6 [IMP] various tweaks to stat_button, to fix issues mentioned in code review. This is mostly cosmetic cleanups, only notable change is that stat_button is now a proper html button instead of a label (addon web)
bzr revid: ged@openerp.com-20140317152710-c33q8kua33o001la
2014-03-17 16:27:10 +01:00
Gery Debongnie af61fd53bc [IMP] removes the tooltip when mouse hovers over a 'percentpie' widget (addon web)
bzr revid: ged@openerp.com-20140314142155-u8suij5tikxwd0zi
2014-03-14 15:21:55 +01:00
Gery Debongnie d849c6521d [IMP] removes the 'stat_button' widget and modifies button to fulfill that role. Now, a button with a class 'oe_stat_button' will be displayed differently (look in form views) (addon web). Also removes the useless widget x2many
bzr revid: ged@openerp.com-20140314134456-wy6ya3zz72zx3yo2
2014-03-14 14:44:56 +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
Gery Debongnie 500fc0790c [IMP] chooses better color for the percentpie widget in form view
bzr revid: ged@openerp.com-20140313141216-o3w9ykphm0nuo61q
2014-03-13 15:12:16 +01:00
Gery Debongnie d2637811de [IMP] adds PercentPie and X2Many widgets to formview. PercentPie takes a field 'float' and displays a read-only pie chart to visualize the corresponding percent. X2Many takes a 1tomany or a manytomany field and display a read only string '<number of records> <label>'
bzr revid: ged@openerp.com-20140313124843-d4tc5zdz3lx2r8kt
2014-03-13 13:48:43 +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
Gery Debongnie 0a71d06be3 [IMP] work in progress on stats buttons. The goal is to allow buttons with dynamic/statistical informations in form views (addon web)
bzr revid: ged@openerp.com-20140312132213-hclaw6jc87u220zq
2014-03-12 14:22:13 +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
Denis Ledoux 1761704af2 [FIX] web: view form fieldselection, use name_search instead of cascading search and name_get
One rpc call won
Moreover, res_company in server overwrite name_search for company field in res users preferences, to display all allowed companies of the user, and not just the one allowed by record rules, so the user can change to the companies he is allowed to.

bzr revid: dle@openerp.com-20140304173838-c7uimmey8gvi3b64
2014-03-04 18:38:38 +01:00
Denis Ledoux 2a4d8bc6d5 [ADD] web: add no_create option in view_form, allowing to remove create and edit (and quick create)
Before, we used to use selection widget to hide or disable the create and edit of many2one fields, but this is actually an abuse of the selection widget, this is not its purpose

bzr revid: dle@openerp.com-20140220141302-3paib80ixiyi66qg
2014-02-20 15:13:02 +01:00
Christophe Simonis bb89e54866 [FIX] web: set default: handle false values + correct display of selection fields
bzr revid: odo@openerp.com-20140219163237-ns5zbzxvtrr3a6ed
2014-02-19 17:32:37 +01:00
Olivier Dony 15a1aef33c [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 3901 dle@openerp.com-20140214114445-krexrwm9o2nrxepk
The following fixes have intentionally been reverted,
as the code has significantly changed and the bugs cannot
be reproduced:
 - web_calendar fix (revid:dle@openerp.com-20140214114258-0hcsfdwyl61gph0v)
 - CSS fix for buttons (revid:mat@openerp.com-20140213145755-txvtwqbfc83vnw9o)

bzr revid: odo@openerp.com-20140217102806-qg6kwk2jomdvvmlj
2014-02-17 11:28:06 +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 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
Antony Lesuisse f051043a26 [MERGE] trunk-website-al
bzr revid: al@openerp.com-20140131005202-sjsfy3tc8ys1a325
2014-01-31 01:52:02 +01:00
Christophe Simonis 83345e4414 [MERGE] forward port of branch saas-2 up to revid 3899 chs@openerp.com-20140129095637-mbfz82r5pyz4dctc
bzr revid: chs@openerp.com-20140129101004-44ft0oaeo201guhd
2014-01-29 11:10:04 +01:00
Martin Trigaux 9f3ab4599c [FIX] FieldStatus: restore trigger get_selection on value change. Was 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 16:12:55 +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
Denis Ledoux 5649e0bbf2 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9770 revid:chs@openerp.com-20140116154645-sy4zhdgqc48xaqbx
bzr revid: dle@openerp.com-20131224112612-5gjit5uu1aaaqstx
bzr revid: dle@openerp.com-20140103094532-mbczi9ssr3gc90o1
bzr revid: dle@openerp.com-20140108105833-gblxqdw3if1gt35k
bzr revid: dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: dle@openerp.com-20140115165506-yuux9km39gbv7k4n
bzr revid: dle@openerp.com-20140116161415-0y9m0kgavcytzj9z
2014-01-16 17:14:15 +01:00
Thibault Delavallée 7416766f6a [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140116110102-6jo2ta5fjkfppu1j
2014-01-16 12:01:02 +01:00
Christophe Simonis 0e870fc7a7 [MERGE] forward port of branch saas-2 up to revid 3897 dle@openerp.com-20140115121441-bskbyxxbc09ubavh
bzr revid: chs@openerp.com-20140115221349-3lw7b0kpo3f2d04l
2014-01-15 23:13:49 +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 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
Vidhin Mehta (OpenERP) 5e5483bde4 [FIX]for dialog box stick to page.
bzr revid: vme@tinyerp.com-20131220073241-xi7v47jecgewapw2
2013-12-20 13:02:41 +05:30
Xavier Morel 1b76c66930 [MERGE] fixes for non-direct IME
bzr revid: xmo@openerp.com-20131218152626-kexq1wudvjwnh962
2013-12-18 16:26:26 +01:00
Kunal Chavda (Open ERP) 3fcd2e2440 [IMP]Improved code for set tooltip placement on top or bottom on the basis of display area.
bzr revid: kch@tinyerp.com-20131217093546-49lg5i0rm1kx9oli
2013-12-17 15:05:46 +05:30
Xavier Morel 21700e5e28 [MERGE] from trunk
bzr revid: xmo@openerp.com-20131213093827-cew27ajx3mlu91h3
2013-12-13 10:38:27 +01:00