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
Xavier Morel
85579973a5
[ADD] large throbber
...
bzr revid: xmo@openerp.com-20140203160237-jlvp70gnkny2fx98
2014-02-03 17:02:37 +01:00
Xavier Morel
e9a3d8bcec
[FIX] enable jsonrpc-auth tests, remove stray log
...
bzr revid: xmo@openerp.com-20140131154147-oi30v8u8h3c3htx7
2014-01-31 16:41:47 +01:00
Xavier Morel
ae3223907b
[FIX] modules initialization when testing
...
broken "adaptation" to single-instance openerp would only initialize the first
set of dependencies, any further module would see its test runs without itself
or its dependencies being guaranteed to be initialized/installed into the
current openerp instance.
bzr revid: xmo@openerp.com-20140131152640-coxqulkdb0xupbvq
2014-01-31 16:26:40 +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
Antony Lesuisse
f051043a26
[MERGE] trunk-website-al
...
bzr revid: al@openerp.com-20140131005202-sjsfy3tc8ys1a325
2014-01-31 01:52:02 +01:00
Antony Lesuisse
698d02e3b5
web disable jsonrpc test
...
bzr revid: al@openerp.com-20140131003956-jo9grgfizich2dlu
2014-01-31 01:39:56 +01:00
Gery Debongnie
1c42440313
[MERGE] merge trunk into local branch
...
bzr revid: ged@openerp.com-20140130155402-h4y6k4ydk6s2yasv
2014-01-30 16:54:02 +01:00
Gery Debongnie
8ed584d1ac
[FIX] simplify a computation of raw_fields to make sure it doesn't crash (_.contains expects a list, and not a string) (addon web)
...
bzr revid: ged@openerp.com-20140130153700-2lno0uefta93ex53
2014-01-30 16:37:00 +01:00
Fabien Meghazi
b0fa27dc7c
[IMP] Quick fix for cros support in webclient
...
bzr revid: fme@openerp.com-20140130151146-twct15ruxq179ryu
2014-01-30 16:11:46 +01:00
Gery Debongnie
2149c1af03
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20140130135056-74l65y4v24ohlwcq
2014-01-30 14:50:56 +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
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
Gery Debongnie
a482809cf9
[FIX] correctly compute the attribute 'length' in a query_group so that the list view properly display groups when grouped by 'date:interval' (addon web)
...
bzr revid: ged@openerp.com-20140129092359-20kw6n3sxqobiqu5
2014-01-29 10:23:59 +01:00
Xavier Morel
1f4bb2d289
[FIX] update CKEditor to 4.3.2, fixes problem of double-escaping of non-ascii characters in widgets
...
bzr revid: xmo@openerp.com-20140128141336-boloxf0cfcrzej03
2014-01-28 15:13:36 +01:00
Martin Trigaux
802d64ca92
[MERGE] [ADD] ways to correctly handle local datetimes in e.g. domains
...
* 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-28 14:37:06 +01:00
jke-openerp
9f8bd865dc
[IMP] Fix css with header of no_form, Fix css for Entypo lin height, Fix js 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-27 18:24:14 +01:00
Christophe Simonis
9af3bf56c0
[ADD] web: add select2 lib
...
bzr revid: chs@openerp.com-20140123151934-0u3yl2rsd0zfq4x1
2014-01-23 16:19:34 +01:00
Xavier Morel
5b7ade9db1
[ADD] ways to correctly handle local datetimes in e.g. domains
...
* 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 16:19:11 +01:00
Xavier Morel
36eedfab43
[ADD] JSONify Date objects to a UTC datetime in OpenERP server format
...
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 14:54:26 +01:00
Gery Debongnie
d0806ed3f7
[FIX] makes the querygroup methods compatible with the 'field:interval' format of groupbys accepted by read_group
...
bzr revid: ged@openerp.com-20140122124449-4nodai5vkoz3eryf
2014-01-22 13:44:49 +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
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
Fabien Meghazi
c0dda700f1
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140116181519-xtzhzm7u98u6xz18
2014-01-16 19:15:19 +01:00
Fabien Meghazi
153df3aeac
[IMP] Moved web client stuff under .openerp
...
bzr revid: fme@openerp.com-20140116165439-wvltptsqr69lv9ee
2014-01-16 17:54:39 +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
Gery Debongnie
66c78675dc
[MERGE] merge trunk into local branch
...
bzr revid: ged@openerp.com-20140116144400-2t13mcnlsnpsez7p
2014-01-16 15:44:00 +01:00
Mohammed Shekha (OpenERP)
f1d96a12b0
[FIX]Re-Fixed the issue of file input widget which is not working in firefox and IE.
...
bzr revid: msh@openerp.com-20140116115247-abzdc5blst8ucfmm
2014-01-16 17:22:47 +05:30
Thibault Delavallée
7416766f6a
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20140116110102-6jo2ta5fjkfppu1j
2014-01-16 12:01:02 +01:00
Fabien Meghazi
6f2f02625a
[IMP] Changed login template for inheritance
...
bzr revid: fme@openerp.com-20140116101554-vvqu8aeim246lj1i
2014-01-16 11:15:54 +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
Fabien Meghazi
84a840a38c
[REM] Removed useless QWeb t-escf and t-rawf
...
bzr revid: fme@openerp.com-20140115182018-d7q3e6elm6uqh0ox
2014-01-15 19:20:18 +01: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
Fabien Meghazi
1783797949
[FIX] database manager link
...
bzr revid: fme@openerp.com-20140115100631-9wrchrrvoei4llo0
2014-01-15 11:06:31 +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
Fabien Meghazi
0275c4ecef
[IMP] Improve login footer
...
bzr revid: fme@openerp.com-20140114145210-omve768o1t50xjdk
2014-01-14 15:52:10 +01:00
Fabien Meghazi
cedc2bd277
[IMP] Better look for login and db selector forms
...
bzr revid: fme@openerp.com-20140114134427-fu1zu5xxce9j8vrl
2014-01-14 14:44:27 +01:00
Fabien Meghazi
dec6f2569e
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140114133953-ku7af6v3z9y7qap2
2014-01-14 14:39:53 +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
Fabien Meghazi
01f3648d3a
[ADD] javascript hooks for LoginForm and debug forwarding
...
bzr revid: fme@openerp.com-20140114111707-ts3ik25p4o2vysxb
2014-01-14 12:17:07 +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
Christophe Matthieu
65583f01ef
[MERGE] Some fix for bootstrap issues
...
bzr revid: chm@openerp.com-20140114094735-ek8y73c7n0llq1hf
2014-01-14 10:47:35 +01:00
jke-openerp
f9b6ff0760
[REF] Refactoring according to the review of CHS
...
bzr revid: jke@openerp.com-20140113174338-4fkx4zs8cw6k20y3
2014-01-13 18:43:38 +01:00
Fabien Meghazi
75e02860c2
[REM] Removed Login from webclient
...
bzr revid: fme@openerp.com-20140113173808-1clqlztx6fs79h2k
2014-01-13 18:38:08 +01:00
Gery Debongnie
c0c686cd15
[FIX] changes test definition to have the correct number of assertions (addon web)
...
bzr revid: ged@openerp.com-20140113080856-7h6cnlh675vgi8s2
2014-01-13 09:08:56 +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
Gery Debongnie
98bd9a3fc3
[FIX] the SearchQuery.add methods now properly removes the 'at' and 'merge' keys before propagating options, so the tests should now pass (addon web)
...
bzr revid: ged@openerp.com-20140110154812-kazqirnie3kwtl4m
2014-01-10 16:48:12 +01:00
Gery Debongnie
716d888aaf
[IMP] separates a facet test into smaller tests to have better information (addon web)
...
bzr revid: ged@openerp.com-20140110150836-xgk11tcimhmgpl9z
2014-01-10 16:08:36 +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
Thibault Delavallée
3d9459ba9d
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20140103151458-8hl5qlmswpxdvd7v
2014-01-03 16:14:58 +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
Mohammed Shekha (OpenERP)
3032f36b88
[FIX]Web: Refixed the issue of context propagation, also removed the view references of current dataset.
...
bzr revid: msh@openerp.com-20131226071228-4qfd2qcz1b5rfji4
2013-12-26 12:42:28 +05:30
Mohammed Shekha (OpenERP)
1496d7a77c
[FIX]Web: Refixed the issue of context propagation, we must not remove search_default and group_bys of current action context, previous fix was removing action context, improved the fix, also added pairs and object function for sake of simplicity.
...
bzr revid: msh@openerp.com-20131224135526-55b4cd3qyt0j5ugi
2013-12-24 19:25:26 +05:30
Mohammed Shekha (OpenERP)
58d1704162
[FIX]Web: Refixed the issue of context propagation, we must not remove search_default and group_bys of current action context, previous fix was removing action context, improved the fix.
...
bzr revid: msh@openerp.com-20131224112403-98cgl6lit285kstw
2013-12-24 16:54:03 +05:30
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
Fabien Pinckaers
6f2e3e118f
[IMP] CSS fix for statusbar misaligned
...
bzr revid: fp@tinyerp.com-20131224082157-o2ncgd7rsd0tpd18
2013-12-24 09:21:57 +01:00
jke-openerp
4a6d2a508e
[IMP] Remove unused library jquery.ui.touch-punch
...
bzr revid: jke@openerp.com-20131220171355-2t77njuxx697mjh5
2013-12-20 18:13:55 +01:00
jke-openerp
0bec0a3ef9
[MERGE] Merge with trunk
...
bzr revid: jke@openerp.com-20131220145133-rgipx3bsh79isnxg
2013-12-20 15:51:33 +01:00
Gery Debongnie
2dffdc7c96
[MERGE] merge from trunk
...
bzr revid: ged@openerp.com-20131219151851-m5av5iz9e3km2s2u
bzr revid: ged@openerp.com-20131220091306-lbsixx9c1robif1m
2013-12-20 10:13:06 +01:00
Fabien Meghazi
90b63ee28c
[FIX] support client_options.action and client_options.post_login_action
...
bzr revid: fme@openerp.com-20131219180628-s95y5ryomnbgvko2
2013-12-19 19:06:28 +01:00
Fabien Meghazi
6754d72a93
[FIX] webclient reference
...
bzr revid: fme@openerp.com-20131219134601-9lgi8d3x7e02umoq
2013-12-19 14:46:01 +01:00
Fabien Meghazi
5d3891835b
[ADD] Client.client_options
...
bzr revid: fme@openerp.com-20131219130445-tvola5kfm86b3blf
2013-12-19 14:04:45 +01:00
Martin Trigaux
07f2a7c1f9
[MERGE] forward port of latest saas-2 until rev 3893 dle@openerp.com-20131218112416-2vtaq442qo8opq4u
...
bzr revid: mat@openerp.com-20131218165033-4djghawrzllkeckg
2013-12-18 17:50:33 +01:00
Xavier Morel
1b76c66930
[MERGE] fixes for non-direct IME
...
bzr revid: xmo@openerp.com-20131218152626-kexq1wudvjwnh962
2013-12-18 16:26:26 +01:00
jke-openerp
e4469e0aeb
[MERGE] Merge with trunk
...
bzr revid: jke@openerp.com-20131218131034-61e6su19shmrgakz
2013-12-18 14:10:34 +01:00
Xavier ALT
9491755b8b
[FIX] web: only show in 'Advanced Search', fields that are actually searcheable and avoid duplicate 'ID' field
...
bzr revid: xal@openerp.com-20131218113547-myl7eihvw5vbzkaa
2013-12-18 12:35:47 +01:00
Denis Ledoux
cb0074ab15
[FIX] web: context propagation was broken on buttons of action and object type.
...
The context on the button must be propagated to the resulting action
bzr revid: dle@openerp.com-20131218112416-2vtaq442qo8opq4u
2013-12-18 12:24:16 +01:00
Xavier Morel
eae8cae9dd
[IMP] update ckeditor to 4.3.1
...
bzr revid: xmo@openerp.com-20131217113003-ave5migr6wecjvch
2013-12-17 12:30:03 +01:00
Martin Trigaux
cfd24d9822
[FIX] view_list_editable: toggle visibility (using force_visibility attribute) for readonly changes, using effective_invisibility instead of invisibility attribute (opw 601970)
...
bzr revid: mat@openerp.com-20131217104111-u9bnqvz7rd5rzwnc
2013-12-17 11:41:11 +01:00
Vidhin Mehta
56a78ab3a4
[FIX]Issue of trunk in website branch.
...
bzr revid: vme@tinyerp.com-20131217073042-13d3aa7vgct4l3xw
2013-12-17 13:00:42 +05:30
Xavier Morel
21700e5e28
[MERGE] from trunk
...
bzr revid: xmo@openerp.com-20131213093827-cew27ajx3mlu91h3
2013-12-13 10:38:27 +01:00
Xavier Morel
0fd50c4750
[REM] leftover logging
...
bzr revid: xmo@openerp.com-20131213093542-sdomq8skpwq5wrgv
2013-12-13 10:35:42 +01:00
Gery Debongnie
edbc4d8927
[MERGE] latest trunk
...
bzr revid: ged@openerp.com-20131212085948-ntl7j40yl6815sye
2013-12-12 09:59:48 +01:00
Christophe Simonis
9241d5f699
[FIX] when executing action received from a button call, set active_id and active_ids if there is one, remove existing if not; always set active_model
...
bzr revid: chs@openerp.com-20131211163609-i3s2mlncf5n91uda
2013-12-11 17:36:09 +01:00
Christophe Simonis
920ba45935
[FIX] filter the context keys only on the result action of the button
...
bzr revid: chs@openerp.com-20131211161810-hetgizet5mv3xkys
2013-12-11 17:18:10 +01:00
Martin Trigaux
585c72abd7
[MERGE] [FIX] Grouped ListView: avoid removing info in row title (such as total) when removing page numbers (if grouped view contains more than 80 elements) (opw 594708)
...
bzr revid: mat@openerp.com-20131211113330-c6mnxwba7yvxaqmc
2013-12-11 12:33:30 +01:00
Martin Trigaux
ad7951214c
[MERGE] [FIX] One2ManyListView: reload line data without saving it when m2o record has changed in edition mode (eg: changing product name in sale order line) (opw #600224 )
...
bzr revid: mat@openerp.com-20131211105009-iylczcepd3a0e61l
2013-12-11 11:50:09 +01:00
jke-openerp
983a706429
[MERGE] Merge with trunk
...
bzr revid: jke@openerp.com-20131210164049-tf0bny53q6tqxfvg
bzr revid: jke@openerp.com-20131211085306-2g4tluf4uqleu7ks
2013-12-11 09:53:06 +01:00
Xavier Morel
fec27404ac
[CHG] replace [Add] button in m2m lists by link in row, similar to o2m
...
Task 4941
Extracted relevant section from One2ManyList which already implemented
it previously, then created and hooked in m2m list using (inheriting
from) extracted code.
bzr revid: xmo@openerp.com-20131210164443-ur44b8g5gdrt8jt1
2013-12-10 17:44:43 +01:00
xmo
762774df37
[FIX] prevent field going to be misplaced when going from readonly to writable in editable list view
...
bzr revid: mat@openerp.com-20131210155703-2mzqa2mch46nxpcj
2013-12-10 16:57:03 +01:00
Xavier Morel
9322b677aa
[FIX] weird behavior when drag&dropping a row during edition in editable listview
...
When dropping, would simultanously stop the edition and try a write
(so 2 writes on the same record) and generally screw up the state of
all the things, ending up with an empty row and a weird (and
incorrect) warning.
This can be fixed by preventing resequencing during the creation or
edition of a record (row) inline.
For simplicity, implemented by looking up .ui-sortable descendants —
there are no utility methods for handling that and, aside from the
class, there's no good way to know if sortability was enabled on a
list body or not (as far as I can see, jquery-ui's sortable has no API
to query that) — and using jquery-ui's sortable API for enabling and
disabling sortable on the fly.
lp bug: https://launchpad.net/bugs/1257753 fixed
bzr revid: xmo@openerp.com-20131210124755-ugr3ehf744qoh1o5
2013-12-10 13:47:55 +01:00
Martin Trigaux
f32b87e14d
[FIX] css: avoid tabs in row below to move when selected (opw 601379)
...
bzr revid: mat@openerp.com-20131210112444-pk9yh8bke1z7eerr
2013-12-10 12:24:44 +01:00
Xavier Morel
029c866b8c
[FIX] issue when tabbing too much at end of editable list row
...
Tabbing is intercepted by keydown_TAB, which — if the current cell is
the last active field of the row — will then call _next:476. _next
then calls save_edition:300 which "takes a lock" (more precisely
serializes access to its body) and within its body checks if an
edition is active (:303) and returns immediately if not (:304).
The problem here is when a second tab event arrives during the
potentially extremely long save_edition body (since for toplevel lists
it needs to perform a complete RPC call): the overall state of the
list has not changed so the second event *also* goes into _next, then
into save_edition. There it's serialized with the ongoing call and
thus inactive until said ongoing call's termination, and reaches the
body after the current edition has been wound down. As a result, the
body of _next (:408) gets the resolution of ``$.when()``, which is
``null`` and the first condition blows up.
There are 3 possible ways to fix this:
* adding a check in keydown_TAB's handler to see whether a _next call
is ongoing. This requires adding a state flag to the object and does
not protect (or cooperate with) _next calls from outside this
specific handler, unless they are modified in turn.
* alter save_edition to *fail* in case there's no ongoing edition:
this part was originally in ensure_saved which does not care whether
a save was necessary or not and does not propagate save information,
so ``$.when()`` made sense. In save_edition, there are really 3
different outcomes: the save succeeded, the save failed (or
potentially part of save's postprocessing failed, for the current
implementation) and the save was unnecessary. But deferred only
provide 1 bit of state (success or failure), so the last state has
to be merged into either success or failure.
Both make sense, to an extent. Changing from one to the other (as
necessary here) could break existing code and have more extensive
effects than expected.
* the simplest and least far-raging change is to just alter the
save_edition().then handler to ignore cases where save_edition()
results in no saveinfo, this can be assumed to be a
bailed-out/unnecessary save call.
For simplicity, the 3rd solution was picked here although with more
extensive tests &al I'd have preferred trying out 2nd.
lp bug: https://launchpad.net/bugs/1253899 fixed
bzr revid: xmo@openerp.com-20131210093055-207fevqc1npy7fwr
2013-12-10 10:30:55 +01:00
Michel Meyer
68aac8e855
[FIX] events handling ordering courtesy of Michel Meyer
...
lead to errors during the validation of rows in list o2ms.
See https://bugs.launchpad.net/openerp-web/+bug/1182101/comments/20
for an extensive description of the events and issue.
bzr revid: xmo@openerp.com-20131209153519-n05bdx15t75dh7gf
2013-12-09 16:35:19 +01:00
Gery Debongnie
6a06f0d0ee
[IMP] properly supports searchbar integration in graph view (addon web_graph)
...
bzr revid: ged@openerp.com-20131206154319-6ci7ljmp2hd9q072
2013-12-06 16:43:19 +01:00
Xavier Morel
b4c121db71
[FIX] bad interaction of editable list with IME
...
IME are ways to input language which can't trivially map to a keyboard
(e.g. CJK language) with a standard-ish keyboard. For japanese IME
this is done by entering text phonetically: text is entered in romaji
and automatically converted to hiragana (or katakana) when it matches
the transcription a japanese syllable (~phoneme?) e.g. to (と). The
text is then split and reprocessed with sequences of hiragana being
converted to kanji (or not), and the possibility to pick the right
kanji when multiple kanji match e.g. for "Tokyo" toukyou -> とうきょう
-> 東京.
But to do the edition, keyboard keys are used. For the japanese IMEs
(tested on Windows, OSX and Linux) [Space] will do the initial
conversion from kana to kanji (and allow selecting an other conversion
or a different kana split) and [Return] will validate the current
conversion (removing the underline marking "unvalidated" kana or kanji
groups).
And that's where the problem hit: IME + browser combinations may or
may not suppress part of all of the event. Firefox will trigger a
keydown of the key which "starts" IME input (e.g. "t") and will
trigger a keyup for the validation key (return), except on Linux where
the initial keydown is suppressed. Inbetween these, it will fire no
keydown, keyup or keypress event but will fire input events (at least
on an input element) every time the displayed text changes.
Meanwhile webkit browsers will, for each press on the keyboard during
IME,
* trigger a keydown with the keyCode 229
* trigger a keyup event with the keycode of the key which was actually
hit
* trigger input events every time the displayed text changes
This include meta-operation uses of [Space] and [Return].
MSIE has the same behavior (including triggering the input event), but
the keydown event is augmented with ``key`` and ``char`` attributes
providing the character matching the key hit to trigger the change.
Although the triggering of the input even is useless for the purpose
of the editable list (especially here, the purpose of validating a
list row with [Return] one fact stands out: keypress is never
triggered during IME operations, hitting the [Return] key outside of
IME will trigger keydow, keypress, keyup but doing so during IME will
only trigger the first and last.
Thus by changing the binding from keyup (return) to keypress (return)
for a line validation, spurious validation during IME text entry
should be avoided. This seems to work correctly on MSIE (Windows),
Firefox (Windows, OSX, Linux), Chrome (Windows, OSX, Linux) and Safari
(OSX), after testing in IE9, IE10, Chrome 31, Firefox 25 and Safari 7,
and a quick test on a task's o2m did not reveal any regression.
note: not all differences between various browser/os combinations were
inspected in details, there may well be further differences which were
not noticed or not relevant to this precise issue.
bzr revid: xmo@openerp.com-20131206124431-q4a9l1gn9wjtmlvz
2013-12-06 13:44:31 +01:00
Gery Debongnie
15547d9267
[REF] refactors the event handling code and prepare the way for supporting col_groupby and groupby in the searchbar (addon web_graph)
...
bzr revid: ged@openerp.com-20131205100710-5owdxv0m971ymwbs
2013-12-05 11:07:10 +01:00
Antony Lesuisse
d699b9253a
[MERGE] trunk
...
bzr revid: al@openerp.com-20131203192151-szbvhmanml37a9si
2013-12-03 20:21:51 +01:00
Christophe Simonis
7e8a5f7697
[FIX] web: openerpframework.js: do not use _.str
...
openerpframework.js can be used as standalone library (im_livechat uses
it this way) and do not depend on underscore.string.js
bzr revid: chs@openerp.com-20131203132937-ss7hx1gligzai5ch
2013-12-03 14:29:37 +01:00
Mohammed Shekha (OpenERP)
b3391cd7fe
[FIX]Web: Fixed the issue of immediate update of many2one field when many2one object name has been changed from follow button popup, reloaded the record from database forcefull to update dataaset, do not call form-blur when follow button is clicked, also do not evict record when record is still not created.
...
bzr revid: msh@openerp.com-20131203123856-gce4li1igo9k1mak
2013-12-03 18:08:56 +05:30
Mohammed Shekha (OpenERP)
a4bca7c775
[FIX]Web: Fixed the issue of group and search_default propagated in context to next action while executing button action.
...
bzr revid: msh@openerp.com-20131203084821-0amelfix4bji3wr6
2013-12-03 14:18:21 +05:30
Christophe Matthieu
bab3b3b8d4
[IMP] css small change for bootstrap
...
bzr revid: chm@openerp.com-20131202162839-9fa0jc7vhyxltje3
2013-12-02 17:28:39 +01:00
Antony Lesuisse
da6fee2ac1
[FIX] session expired
...
bzr revid: al@openerp.com-20131202154206-6efsbeeg0mq7s67z
2013-12-02 16:42:06 +01:00
Christophe Matthieu
60a55f1077
[MERGE] sync with trunk (to rev 3893)
...
bzr revid: chm@openerp.com-20131202151847-4sf0ww58meql0e4z
2013-12-02 16:18:47 +01:00
Xavier Morel
ef08d834f6
[IMP] add warning re. changed behavior of backbone which may be changed in the client
...
bzr revid: xmo@openerp.com-20131202151838-z26qnz0xpt3tigrd
2013-12-02 16:18:38 +01:00
Xavier Morel
0dff8277cc
[FIX] breakage due to backbone change: in 1.0+, this.reset() will call this.add()
...
in 0.9, this.add would only be called if items were provided to
reset(), changed in commit cf6e862.
bzr revid: xmo@openerp.com-20131202151037-xxmvu5790p2jsxz6
2013-12-02 16:10:37 +01:00
jke-openerp
fb9fed536c
[Merge] Merge with trunk
...
bzr revid: jke@openerp.com-20131202142423-mpg3wg6dlr6wxxmp
2013-12-02 15:24:23 +01:00
Antony Lesuisse
753cb31804
[IMP] upgrade backbone to 1.1.0
...
bzr revid: al@openerp.com-20131202142240-ifh2rua2oiennfao
2013-12-02 15:22:40 +01:00
Antony Lesuisse
9b40c572ae
[REM] gravatar support
...
bzr revid: al@openerp.com-20131202135414-kkm0wz06naitbp4y
2013-12-02 14:54:14 +01:00
Antony Lesuisse
e057a64a02
[IMP] update fontawseome to 4.0.3
...
bzr revid: al@openerp.com-20131202133803-1muybwahwjo9e5sm
2013-12-02 14:38:03 +01:00
Antony Lesuisse
d6c6f31231
[MERGE] boostrap3 manually merged
...
bzr revid: al@openerp.com-20131202131943-b01fb56u0qsgcs53
2013-12-02 14:19:43 +01:00
Christophe Matthieu
e468eeb9b3
[FIX] web_form: FieldMany2ManyBinaryMultiFiles error when rendering twice (with an onchange for e.g.)
...
bzr revid: chm@openerp.com-20131128134607-2fisdnoq0qgpvibx
2013-11-28 14:46:07 +01:00
jke-openerp
2a2c63481f
[MERGE] Merge with trunk
...
bzr revid: jke@openerp.com-20131127175544-x83mqqo5uo87f75b
2013-11-27 18:55:44 +01:00
Thibault Delavallée
727b188eac
[IMP] form_view: statusbar widget: folded back as an option.
...
The widget option 'fold_field' allows to tell the widget to use this field on
the model used for stages to compute the folded selection.
If not set, no stage is folded.
bzr revid: tde@openerp.com-20131127095037-me1cvl272ex1e6r9
2013-11-27 10:50:37 +01:00
Christophe Simonis
9f52ab382b
[MERGE] forward port of branch saas-2 up to revid 3887 chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
...
bzr revid: chs@openerp.com-20131125160506-30uia4pdwzpp54gj
2013-11-25 17:05:06 +01:00
Christophe Simonis
162dd9ad17
[MERGE] forward port of branch 7.0 up to revid 4075 chs@openerp.com-20131122170316-lbuxddprrgz1are3
...
bzr revid: chs@openerp.com-20131122131553-i22dj95bvofb7aeu
bzr revid: chs@openerp.com-20131122172422-tsd8wzqkbqknrw1w
2013-11-22 18:24:22 +01:00
Christophe Simonis
1be71fdae6
[REVERT] revert previous commit which:
...
1. is wrong
2. break runbot
bzr revid: chs@openerp.com-20131122170316-lbuxddprrgz1are3
2013-11-22 18:03:16 +01:00
Frédéric van der Essen
0a76694628
[IMP] webclient: Introducing SimpleIndexedDB, a key value wrapper around IndexedDB
...
bzr revid: fva@openerp.com-20131122140048-goaplzrx26jvcmmu
2013-11-22 15:00:48 +01:00
Frédéric van der Essen
5c080a1634
[IMP] webclient: Introducing the FullscreenWidget, enabling fullscreen behavior and fixed zoomlevels on mobile devices
...
bzr revid: fva@openerp.com-20131122135959-ezv9cmgwp2zfkt00
2013-11-22 14:59:59 +01:00
Christophe Simonis
e555872646
[FIX] web: view list: ensure that the mutex of synchronized method `reload_content` is always released.
...
bzr revid: chs@openerp.com-20131122131037-sqxs1fdh4al32eh2
2013-11-22 14:10:37 +01:00
Christophe Simonis
8721307dae
[IMP] web: avoid double reload() when clicking on a button on a editable form view.
...
bzr revid: chs@openerp.com-20131120185337-w8857fmwosa36r4d
2013-11-20 19:53:37 +01:00
Xavier Morel
f39d4398b8
[ADD] custom build of CKEditor 4.3 final
...
bzr revid: xmo@openerp.com-20131120080111-vvtfcpjlxhz66wn2
2013-11-20 09:01:11 +01:00
Antony Lesuisse
584d21a26f
[FIX] field statusbar css color between stages
...
bzr revid: al@openerp.com-20131118182416-picnqdmcwbqalk2y
2013-11-18 19:24:16 +01:00
Antony Lesuisse
7c9be80f95
[FIX] jquery browser detection fix
...
bzr revid: al@openerp.com-20131118180642-xa39ja4o8zt8zd5o
2013-11-18 19:06:42 +01:00
Fabien Meghazi
7c934d3969
[MERGE] upstream
...
bzr revid: xmo@openerp.com-20131115105349-0b1bifqe3v9159w2
bzr revid: fme@openerp.com-20131118124023-68c4armtmlx2dybz
2013-11-18 13:40:23 +01:00
Fabien Meghazi
5f40fc7c08
[ADD] return_label & return_url in action_manager#load_state for breadcrumbs
...
bzr revid: fme@openerp.com-20131118123808-85i8csvgodgjei18
2013-11-18 13:38:08 +01:00
Fabien Meghazi
9ded116baf
[ADD] return_label & return_url in action_manager#load_state for breadcrumb
...
bzr revid: fme@openerp.com-20131118112211-q15p0d7cc8wpku5n
2013-11-18 12:22:11 +01:00
Fabien Meghazi
bb9c83714a
[FIX] Avoid rpc errors on actions.act.url@target='self'
...
bzr revid: fme@openerp.com-20131118102112-znm2mza36md6896n
2013-11-18 11:21:12 +01:00
Christophe Simonis
36b3ea41d8
[MERGE] forward port of branch saas-1 up to revid 3751 chs@openerp.com-20131115104909-3u3mu40g9xnler88
...
bzr revid: chs@openerp.com-20131115112311-mq197ugcdc38gjnw
2013-11-15 12:23:11 +01:00
Christophe Simonis
993bff902e
[MERGE] forward port of branch 7.0 up to revid 4067 chs@openerp.com-20131114142639-ng7wzfjwvvel2nhv
...
bzr revid: dle@openerp.com-20131112134311-h1vsux0ge17bsqkc
bzr revid: chs@openerp.com-20131114134731-n324awyon0spq624
bzr revid: chs@openerp.com-20130823145204-xwpnlwg0gg2259f6
bzr revid: chs@openerp.com-20130906170157-e7m4pjskyi47q82o
bzr revid: dle@openerp.com-20130909170408-wxgoduzggap6o4ng
bzr revid: dle@openerp.com-20130919141212-ridtrvvfwvu6calr
bzr revid: dle@openerp.com-20131018120136-fvoq337kgx74njsy
bzr revid: dle@openerp.com-20131023103308-18pj2gqq3imrcir7
bzr revid: chs@openerp.com-20131030180528-hqsztaujjjqev8ky
bzr revid: dle@openerp.com-20131106100128-mx8mnguvp321wick
bzr revid: chs@openerp.com-20131115104909-3u3mu40g9xnler88
2013-11-15 11:49:09 +01:00
Christophe Simonis
1e4b2695d5
[MERGE][FIX] web: fix race condition in BufferedDataset.
...
Backport of saas-2 commit 3867 nicolas.vanhoren@openerp.com-20131107112017-7omd01ocvnbzx9m6
lp bug: https://launchpad.net/bugs/1248531 fixed
bzr revid: chs@openerp.com-20131114142639-ng7wzfjwvvel2nhv
2013-11-14 15:26:39 +01:00
Christophe Simonis
e5ca5a170c
[FIX] web: list views: bubble up failed deferreds.
...
[FIX] web: list view group: always call post_render method
lp bug: https://launchpad.net/bugs/1248531 fixed
bzr revid: chs@openerp.com-20131114110847-nn382fc60s7u7wp1
2013-11-14 12:08:47 +01:00
Christophe Simonis
b61997e716
[FIX] web: correct url matching in tests
...
bzr revid: chs@openerp.com-20131114094624-588lvc9vunwa99d8
2013-11-14 10:46:24 +01:00
Christophe Simonis
e9c633cb7e
[IMP] web: call call_kw with full route to help debugging
...
bzr revid: chs@openerp.com-20131113184000-3k3dnwl5ftllq2rv
2013-11-13 19:40:00 +01:00
Xavier Morel
a3e4cdef51
[ADD] hacky abort() proxy for json requests
...
bzr revid: xmo@openerp.com-20131113151911-l4f7vlzkcht38nuc
2013-11-13 16:19:11 +01:00
Gery Debongnie
30e6eadf42
[FIX] fixes a problem in pyeval catching all exceptions silently
...
bzr revid: ged@openerp.com-20131113102204-m0gox7odwgkmon4o
2013-11-13 11:22:04 +01:00
niv-openerp
4476cd6701
[FIX] problem when clicking too fast on pagers in the form view
...
lp bug: https://launchpad.net/bugs/1238569 fixed
bzr revid: nicolas.vanhoren@openerp.com-20131113152107-5zwsbntil4wihoh4
2013-11-13 16:21:07 +01:00
Martin Trigaux
8c3cdce539
[MERGE] view form: reduce the number of result in 'search more' view opening to 160 records (performances improvement, not filtering every possible record) (opw 593963)
...
bzr revid: mat@openerp.com-20131113082806-me6uy7cjj6holn56
2013-11-13 09:28:06 +01:00
Christophe Simonis
6cfb4a0370
[FIX] web: do not enforce width of dropdown links
...
bzr revid: chs@openerp.com-20131112143746-svdfuqvzvvis6vpy
2013-11-12 15:37:46 +01:00
Christophe Simonis
61a8a22f60
[FIX] web: match base.sass against changes made in base.css in revid 4014 mat@openerp.com-20130821080933-fiq3zvccgzop02on
...
bzr revid: chs@openerp.com-20131112143635-ek6yhfifb6ycynku
2013-11-12 15:36:35 +01:00
Xavier Morel
32b20f5ed6
[IMP] add separators between all completion sections
...
Depending on the way the search view is setup, a single item
(e.g. "Search foo for bar") can follow a list of a bunch of
completions. In that case, it is hard to notice that it's not just one
more item of said list.
Add a marker on the first of every completion list in order to catch
1-item lists (or lists without titles/categories) and prepend a small
border every time, so that single-element completions following
lists-with-titles can be noticed.
bzr revid: xmo@openerp.com-20131107112858-1xyvcesize0doblz
2013-11-07 12:28:58 +01:00
jke-openerp
e6baeb0ff1
[IMP] Replace from web_calendar dx Calendar by jQ fullCalendar. Add lib for touchscreen (to test) in web
...
bzr revid: jke@openerp.com-20131107111957-139ny2sz899xx3tl
2013-11-07 12:19:57 +01:00
Xavier Morel
fb911b1d43
[FIX] don't provide autocompletion to m2o fields when a custom operator or filter_domain is provided
...
bzr revid: xmo@openerp.com-20131107111231-nkrllqv0afqdmix6
2013-11-07 12:12:31 +01:00
niv-openerp
d0079fbada
[FIX] Changed the url of the openerp logo to tarket /web instead of /.
...
bzr revid: nicolas.vanhoren@openerp.com-20131107104443-qx6is5y8yovyiz6c
2013-11-07 11:44:43 +01:00
jke-openerp
031d097e72
[MERGE] merge with trunk web
...
bzr revid: jke@openerp.com-20131107083828-njr0defg32w4x4rp
2013-11-07 09:38:28 +01:00
niv-openerp
1feb385700
[FIX] Changed the url redirect from / to /web in the db selector. It was not working correctly if the / url redirects on something else than the web admin.
...
bzr revid: nicolas.vanhoren@openerp.com-20131106143602-gwyn4jjvn5zwztif
2013-11-06 15:36:02 +01:00
Mohammed Shekha (OpenERP)
ed7ee33cf7
[FIX]Re-fixed the issue of pager on group by view, last element of the row removes total value.
...
bzr revid: msh@openerp.com-20131106134929-zn3x03sksy4nruns
2013-11-06 19:19:29 +05:30
Christophe Simonis
3213ad4ddd
[FIX] web: instance.web.DataSetSearch.get_domain() returns the domain.
...
lp bug: https://launchpad.net/bugs/1195631 fixed
bzr revid: chs@openerp.com-20131105121843-rqplhk83fczxww0t
2013-11-05 13:18:43 +01:00
Fabien Meghazi
9a281f829b
[ADD] redirect on login and logout controller
...
bzr revid: fme@openerp.com-20131104171530-96irkaom2vjsj9s5
2013-11-04 18:15:30 +01:00
ajay javiya (OpenERP)
c1adcc80a0
[MERGE] : with trunk
...
bzr revid: aja@tinyerp.com-20131101053013-l6k5qkofxvfdedcs
2013-11-01 11:00:13 +05:30
Christophe Simonis
88292396c7
[MERGE] forward port of branch saas-2 up to revid 3865 chs@openerp.com-20131031111945-u3wi11e4rykpslme
...
bzr revid: chs@openerp.com-20131030183314-d75tbpxjjk3u79er
bzr revid: chs@openerp.com-20131031144026-09f3eqfwfj2bcefs
2013-10-31 15:40:26 +01:00
Christophe Simonis
8214e291a9
[FIX] web: correct date and datetime parsing.
...
When creating a new Date object at a specific date, this date is treated as a UTC datetime
then normalized to the browser timezone. This can lead to a change of Year/Month/Day depending
of the chosen date. Using a date of a leap year date for date parsing and forcing UTC date for
datetime parsing correct the month-switch errors in all timezones
bzr revid: chs@openerp.com-20131031133920-yl5z4oz939smwvz8
2013-10-31 08:39:20 -05:00
Christophe Simonis
2d1765e9f0
[MERGE] forward port of branch 7.0 up to revid 4062 chs@openerp.com-20131112143746-svdfuqvzvvis6vpy
...
bzr revid: chs@openerp.com-20131112155210-nfuenyb7zyus9ues
2013-11-12 16:52:10 +01:00
Christophe Simonis
be7084b988
[FIX] web: do not declare variables inside if() scope
...
bzr revid: chs@openerp.com-20131108160747-1jrpihb66y6vtov5
2013-11-08 17:07:47 +01:00
Christophe Simonis
5311db325c
[FIX] web: filter context before executing actions triggered by buttons in views
...
bzr revid: chs@openerp.com-20131108160627-osiigir6tsr2k783
2013-11-08 17:06:27 +01:00
Christophe Simonis
1ec1125349
[UPD] update underscore and underscore.string libraries to latests versions
...
bzr revid: chs@openerp.com-20131108134931-muit7ym8q7g3ck1u
2013-11-08 14:49:31 +01:00
Christophe Simonis
c12c482347
[MERGE] deprecate fold feature of statusbar form widget
...
bzr revid: chs@openerp.com-20131107194316-b1boyw5vopedhi2x
2013-11-07 20:43:16 +01:00
Christophe Simonis
a48e793355
[FIX] web: correct cookie parsing.
...
avoid reading wrong cookie by matching the whole cookie name
bzr revid: chs@openerp.com-20131107143212-50hrpvkaw3gxxlop
2013-11-07 15:32:12 +01:00
niv-openerp
db75733848
[FIX] rare race condition in BufferedDataset
...
lp bug: https://launchpad.net/bugs/1248531 fixed
bzr revid: nicolas.vanhoren@openerp.com-20131107112017-7omd01ocvnbzx9m6
2013-11-07 12:20:17 +01:00
Christophe Simonis
aabbb0b1c3
[MERGE] forward port of branch 7.0 up to revid 4055 chs@openerp.com-20131105121843-rqplhk83fczxww0t
...
bzr revid: chs@openerp.com-20131105125947-2q11suxxpxh18hyc
2013-11-05 13:59:47 +01:00
Thibault Delavallée
0ff21fc5e8
[REV] view_form: statusbar widget: indentation issue + reverted some more changes
...
bzr revid: tde@openerp.com-20131104120324-2h2j6huhgwc134c9
2013-11-04 13:03:24 +01:00
Thibault Delavallée
4c460dfa4e
[REV] Reverted most changes, to lessen the number of
...
changed in a stable branch.
bzr revid: tde@openerp.com-20131104115909-exhujer0lqqr4xk5
2013-11-04 12:59:09 +01:00
Thibault Delavallée
07e19391bb
[MERGE] Sync with saas-2 branch
...
bzr revid: tde@openerp.com-20131104105814-pnynijso7eji0hwh
2013-11-04 11:58:14 +01:00
Christophe Simonis
12e262e5c9
[FIX] web: correct "date(time) on 31" tests
...
bzr revid: chs@openerp.com-20131031111945-u3wi11e4rykpslme
2013-10-31 12:19:45 +01:00
Christophe Simonis
d9ca536396
[FIX] web: correct date and datetime parsing at end of month.
...
As `new Date()` return the current date, when we are the 31,
setting the month to a month with less than 31 days will change
the date to next day (1st of next month). This result to a date(time)
object one month ahead of the wanted date(time).
bzr revid: chs@openerp.com-20131031103333-vt68132ptj9sbr04
2013-10-31 11:33:33 +01:00
Christophe Simonis
062d075f36
[MERGE] forward port of branch saas-1 up to revid 3749 chs@openerp.com-20131030180528-hqsztaujjjqev8ky
...
bzr revid: chs@openerp.com-20131030180941-7409ksn29hrtavzm
2013-10-30 19:09:41 +01:00
Christophe Simonis
a237b0525d
[FIX] web: allow grouping on fields not present in list view
...
[FIX] web,web_kanban: read_group: ensure read grouping fields
bzr revid: chs@openerp.com-20131030180242-rxxlawffv13ll5s1
2013-10-30 19:02:42 +01:00
Martin Trigaux
9edf16f669
[FIX] list: force recompute the selection as closing group reset properties (opw #599969 )
...
bzr revid: mat@openerp.com-20131028141647-j6wkvl6plwblh077
2013-10-28 15:16:47 +01:00
niv-openerp
7c3ae6a157
[FIX] Rare problem in select fields related to previous improvement in that widget.
...
Sometimes, the value of the field was resetted to false.
bzr revid: nicolas.vanhoren@openerp.com-20131028150019-i0nllpqu1i7wpxbr
2013-10-28 16:00:19 +01:00
xmo
d524b95172
[FIX] list view: serialize concurrent calls when loading files and ensure consistency of variables (prevent selection of items in list view lost, opw #599969 )
...
bzr revid: mat@openerp.com-20131025145519-jio03azp64ppi5ro
2013-10-25 16:55:19 +02:00
Mohammed Shekha (OpenERP)
447bec133b
[FIX]Web-Pager: Refixed the issue of Pager, there is inconsistency with pager, display of next page is impossible if records are deleted such that dataset size becomes less than or equals to limit, also if all records of current page is deleted then it does not navigate to previous page.
...
bzr revid: msh@openerp.com-20131025120829-e4kqey0mpz43537c
2013-10-25 17:38:29 +05:30
Thibault Delavallée
833c1f2072
[IMP] view_form: fieldstatus: deprecated folded on widget
...
bzr revid: tde@openerp.com-20131023120804-vx7etkzewkgx9sk0
2013-10-23 14:08:04 +02:00
Thibault Delavallée
b7a7cf5fb9
[MERGE] Sync with saas-2
...
bzr revid: tde@openerp.com-20131021104729-8c39qu7pr431cb51
bzr revid: tde@openerp.com-20131023113825-u1uqcu07bt6i17rk
2013-10-23 13:38:25 +02:00
Denis Ledoux
6bf5d02627
[MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 3859 rev-id: dle@openerp.com-20131023110926-tc2n3oqg0l2ga138
...
bzr revid: dle@openerp.com-20131023113414-mlwppd4d7vyh1tyj
2013-10-23 13:34:14 +02:00
Denis Ledoux
3279b24128
[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 3748 rev-id: dle@openerp.com-20131023103308-18pj2gqq3imrcir7
...
bzr revid: dle@openerp.com-20131023110926-tc2n3oqg0l2ga138
2013-10-23 13:09:26 +02:00
Denis Ledoux
4e0530f16c
[FIX]web: test testing the customer filter save was wrong, was using wrong method text() instead of val() to set the filter name
...
bzr revid: dle@openerp.com-20131022165318-2imkhgb6iecalbbi
2013-10-22 18:53:18 +02:00
Denis Ledoux
752341f0cb
[FIX]web: filter name input for custom filters in search dropdown is now required
...
bzr revid: dle@openerp.com-20131022162519-u03cn5k5od8jg6ka
2013-10-22 18:25:19 +02:00
niv-openerp
55ac10cd3d
[FIX] Bug in form view. When a on_change alters the domain of a field, the view_content_has_changed event is
...
triggered *before* we alter the domain of the field. So, it is not possible for the fields to really know
when they have to re-calculate their domain.
bzr revid: nicolas.vanhoren@openerp.com-20131022133432-l0m36mfiwx8z6014
2013-10-22 15:34:32 +02:00
niv-openerp
02177329c9
fix
...
bzr revid: nicolas.vanhoren@openerp.com-20131022131510-zvqt6xgsln0bk6zp
2013-10-22 15:15:10 +02:00
niv-openerp
48e9bbff2b
wip
...
bzr revid: nicolas.vanhoren@openerp.com-20131022131323-jicyw0pchzs5x38t
2013-10-22 15:13:23 +02:00
niv-openerp
d0145bd0ec
Now selection fields on m2o query the records directly
...
bzr revid: nicolas.vanhoren@openerp.com-20131022121952-piye1e3k80w217r0
2013-10-22 14:19:52 +02:00
ajay javiya (OpenERP)
2d78686db7
[REF]: Refector many2many_tags
...
bzr revid: aja@tinyerp.com-20131021135004-rmxft7jrvbixhekx
2013-10-21 19:20:04 +05:30
Thibault Delavallée
a28c14a8cc
[REV] StatusField: reverted changes about bar widget color and thing slike that.
...
bzr revid: tde@openerp.com-20131021104708-vrax9zhpjwyjq6ns
2013-10-21 12:47:08 +02:00
niv-openerp
ebeeae0ed4
[MERGE] saas2
...
bzr revid: nicolas.vanhoren@openerp.com-20131018134149-yveqfs6tqwnjo6xt
2013-10-18 15:41:49 +02:00
Thibault Delavallée
fa9f367687
[IMP] form_view: statusbar improvements
...
It now uses the bar_fold field instead of the fold field
to hide the stage.
It now uses bar_color to personnalize the stage.
Added css for oe_bar_1 (still WIP, just for testing purpose)
bzr revid: tde@openerp.com-20131018132259-2kip8723ibr296ri
2013-10-18 15:22:59 +02:00
Denis Ledoux
c348a2f4cd
[MERGE] Forward-port of latest saas-1 bugfixes, up to rev. 3747 rev-id: dle@openerp.com-20131018120136-fvoq337kgx74njsy
...
bzr revid: dle@openerp.com-20131018123253-pvf2tg747vflfp6x
2013-10-18 14:32:53 +02:00
niv-openerp
53491703c3
[MERGE] website-al improvements to web addon
...
bzr revid: nicolas.vanhoren@openerp.com-20131018104302-ltt3dt0xqa0csoc3
2013-10-18 12:43:02 +02:00
niv-openerp
e080294dc0
[MERGE] saas2
...
bzr revid: nicolas.vanhoren@openerp.com-20131018103631-vennug4iy21zhp3x
2013-10-18 12:36:31 +02:00
Christophe Simonis
3853f642ff
[FIX] web: correct StatusField widget to use dropdown menu
...
bzr revid: chs@openerp.com-20131018094336-3s8s3uggs60jwkl0
2013-10-18 11:43:36 +02:00
Christophe Simonis
685c4f4d4c
[FIX] dropdown menu: compute document width *before* showing the dropdown menu
...
bzr revid: chs@openerp.com-20131018093307-plgk3y4qugv4o784
2013-10-18 11:33:07 +02:00
Mohammed Shekha (OpenERP)
1e95365d84
[FIX]Refixed the issue of pager, does not navigate to previous page when all records of current page deleted.
...
bzr revid: msh@openerp.com-20131018053656-4tcklfcwqfeit4bb
2013-10-18 11:06:56 +05:30
Mohammed Shekha (OpenERP)
e578e2af78
[FIX]Fix the issue of page navigation when all records of current page are deleted, currently it does not go to previous page instead displays blank list, expected behavior: it should navigated to previous page when all records of the current page deleted.
...
bzr revid: msh@openerp.com-20131017130217-dtpukpq27fdmsvd9
2013-10-17 18:32:17 +05:30
Thibault Delavallée
3333c5c329
[IMP] data_export: when exporting on active_domain instead of
...
selected ids, display a message to tell the user what
he is doing.
bzr revid: tde@openerp.com-20131017094457-q1b7j3927eeoy4fo
2013-10-17 11:44:57 +02:00
Thibault Delavallée
eb98ba3fd6
[FIX] list_view: when composing the active_domain
...
in list view because of the list header being checked,
also take into account the current action domain;
bzr revid: tde@openerp.com-20131017094355-murxot4rqirw3g68
2013-10-17 11:43:55 +02:00
niv-openerp
476a6f8353
[IMP] enabled sorting in o2m in list view
...
bzr revid: nicolas.vanhoren@openerp.com-20131016155200-ojmuj844yd5sx40b
2013-10-16 17:52:00 +02:00
Xavier Morel
777716d443
[MERGE] from trunk again
...
bzr revid: tde@openerp.com-20131002143826-xtzkkfr0rratuyxf
bzr revid: tde@openerp.com-20131004092146-vp406nv0xb0hdav9
bzr revid: tde@openerp.com-20131007081238-j860nrdzx8ldspto
bzr revid: tde@openerp.com-20131011075756-utfeqy4ws0linucc
bzr revid: xmo@openerp.com-20131015110940-8wkrblhf576h3cbj
bzr revid: xmo@openerp.com-20131015112458-vtukdpa6svjc19w3
2013-10-15 13:24:58 +02:00
Xavier Morel
7040fb35dd
[FIX] double-escaping of section labels in m2o completion
...
bzr revid: xmo@openerp.com-20131015085523-5s5f587486gaa9zj
2013-10-15 10:55:23 +02:00
Xavier Morel
7d2938394f
[FIX] null >= 0 is true...
...
bzr revid: xmo@openerp.com-20131014155709-9cg4bzof02bhtyts
2013-10-14 17:57:09 +02:00
niv-openerp
6475f3225d
Removed jsonprpc2 test because it fails in phantomjs
...
bzr revid: nicolas.vanhoren@openerp.com-20131011133208-gjz0iprk63447qub
2013-10-11 15:32:08 +02:00
niv-openerp
083d3fc91e
Added tests about timeouts and implemented it in jsonprpc2
...
bzr revid: nicolas.vanhoren@openerp.com-20131011133054-0dx3wxqcqbdocnlf
2013-10-11 15:30:54 +02:00
niv-openerp
e059b1c5c0
Added test with openerp sessions
...
bzr revid: nicolas.vanhoren@openerp.com-20131011123416-wsfr0g1pusa0wftp
2013-10-11 14:34:16 +02:00
niv-openerp
cfcafee87c
[IMP] Added some documentation in the framwork.
...
bzr revid: nicolas.vanhoren@openerp.com-20131011095424-midppkv5czebt1f2
2013-10-11 11:54:24 +02:00
niv-openerp
ffe8490aef
Enabled sort in o2m
...
bzr revid: nicolas.vanhoren@openerp.com-20131010091125-0t1v8wmkrn8bnc5y
2013-10-10 11:11:25 +02:00
niv-openerp
877d9f1914
[IMP] added new field x2many_counter
...
bzr revid: nicolas.vanhoren@openerp.com-20131008135238-jylu7il2qadzjf9r
2013-10-08 15:52:38 +02:00
niv-openerp
8b0193a3bc
added doc
...
bzr revid: nicolas.vanhoren@openerp.com-20131008135143-8qjqwi3s23ld0wks
2013-10-08 15:51:43 +02:00
niv-openerp
8d2f37ec8b
wip
...
bzr revid: nicolas.vanhoren@openerp.com-20131007115638-9b82rw1azwjtp5fr
2013-10-07 13:56:38 +02:00
niv-openerp
dc8f0ca96e
corrected problems
...
bzr revid: nicolas.vanhoren@openerp.com-20131004154534-b3x46pmbybtza1cs
2013-10-04 17:45:34 +02:00
niv-openerp
63c0220d31
still some problems
...
bzr revid: nicolas.vanhoren@openerp.com-20131004153734-rxdt32qvu3gcxip2
2013-10-04 17:37:34 +02:00
Thibault Delavallée
6ea427eb9f
[FORWARD] Forward port of saas-2 branch until revision 3845 revision tde@openerp.com-20131003090049-88q0o69970eahb2h
...
bzr revid: tde@openerp.com-20131004084618-pjv4ya68mvzfqreb
2013-10-04 10:46:18 +02:00
Thibault Delavallée
6e6977e0f2
[FIX] web: form_view: FieldStatus widget: fixed hidden states/stages not appearing because behind displayed sheet.
...
bzr revid: tde@openerp.com-20131003090049-88q0o69970eahb2h
2013-10-03 11:00:49 +02:00
niv-openerp
5a70bc038a
Changed base url
...
bzr revid: nicolas.vanhoren@openerp.com-20131002143740-jr8xz6j4qgs97ztp
2013-10-02 16:37:40 +02:00
Christophe Simonis
58281701e9
[FIX] web: remove firefox css fix for view switch icons
...
bzr revid: chs@openerp.com-20131002094634-9g7b20vs7n5yw4kh
2013-10-02 11:46:34 +02:00
niv-openerp
fb17860c41
[IMP] doc
...
bzr revid: nicolas.vanhoren@openerp.com-20131001160754-w47z24xf3wtkqioh
2013-10-01 18:07:54 +02:00
Fabien Meghazi
4aad26f5c2
[ADD] es5-shim
...
bzr revid: fme@openerp.com-20130926164902-5ioas0np4tb9qnge
2013-09-26 18:49:02 +02:00
niv-openerp
38e3daed00
wip
...
bzr revid: nicolas.vanhoren@openerp.com-20130925144556-97abdprnibq631sc
2013-09-25 16:45:56 +02:00
Fabien Meghazi
3ddeaee79c
[MERGE] upstream
...
bzr revid: fme@openerp.com-20130814164422-l0h0ueue0fwk94uu
bzr revid: chm@openerp.com-20130828165815-a901l9gx66lj0pj1
bzr revid: fme@openerp.com-20130924125103-65bngr3rnm6k7u3a
2013-09-24 14:51:03 +02:00
Denis Ledoux
14a8b64f02
[FIX]web base: when kanban view was setted after the tree view in the views sequence, the form view was located in the footer of the web page.
...
bzr revid: dle@openerp.com-20130919135517-5e3pvtbyvz13vn31
2013-09-19 15:55:17 +02:00
niv-openerp
6d411f7065
[FIX] really solve reload problem
...
lp bug: https://launchpad.net/bugs/1214814 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130913124026-yhchgik5yznkme19
2013-09-13 14:40:26 +02:00
niv-openerp
56382a450a
[FIX] problem with page reload after installing a module
...
lp bug: https://launchpad.net/bugs/1214814 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130913104026-rxtl7h1u7vuixyvm
2013-09-13 12:40:26 +02:00
Frédéric van der Essen
a590fbaf43
[MERGE] point_of_sale: various fixes and improvements
...
bzr revid: chs@openerp.com-20130910125223-5iu0tohmourxcz64
bzr revid: fva@openerp.com-20130911155921-xyqskhjx9r9pgw9c
2013-09-11 17:59:21 +02:00
Martin Trigaux
63a2e35cd8
[MERGE] [FIX] pass context for 2many fields in views
...
bzr revid: mat@openerp.com-20130909085809-qwtvig71g8re40fa
2013-09-09 10:58:09 +02:00
Olivier Dony
a382a62555
[FIX] Revert data.js test that was not reverted along with the corresponding patch in previous commit
...
See also reverted commit revid:nicolas.vanhoren@openerp.com-20130805130458-21w806v9wc456oq4
bzr revid: odo@openerp.com-20130906154422-jkdf2v2stgcd6akx
2013-09-06 17:44:22 +02:00
Xavier Morel
4a1d3f16ce
[FIX] broken pager
...
Turns out when code looks somewhat odd there may well be a good reason
for it, and changing it without wondering breaks the pager.
In this case, `/web/dataset/search_read` has a significant difference
with Model.search_read: it returns the records slice specified by
(``limit``, ``offset``) but it also returns the *total number of
records* for ``domain`` which is sort-of useful to generating the
pager.
lp bug: https://launchpad.net/bugs/1218266 fixed
bzr revid: xmo@openerp.com-20130906150101-2qb349fzaz6rye36
2013-09-06 17:01:01 +02:00
Anael Closson
dbedded58e
[FIX] OPW 597162 : context not properly retreived and therefore not sent when retreiving o2m and m2m lines
...
lp bug: https://launchpad.net/bugs/1217374 fixed
bzr revid: acl@openerp.com-20130905155817-llmjnsmd252q3286
2013-09-05 17:58:17 +02:00
Anael Closson
1bd6608df9
[FIX] OWP 593963 : limit results when opening "search more" as it's really slow when lot of records in database
...
bzr revid: acl@openerp.com-20130905092122-47ynnssvvvo4aef2
2013-09-05 11:21:22 +02:00
niv-openerp
ca234ac7c6
[FIX] problem with statusbar in form view that has a higher z-index for no reason, it makes it appear on top of the instant messaging search bar
...
bzr revid: nicolas.vanhoren@openerp.com-20130904132430-5cqmw44aevqkgcso
2013-09-04 15:24:30 +02:00
niv-openerp
599602bb76
[FIX] potential bug in application initialization
...
bzr revid: nicolas.vanhoren@openerp.com-20130902173629-be1r67o5vtbgb9yp
2013-09-02 19:36:29 +02:00
niv-openerp
1cb5d9ff8c
[FIX] boring bug that throws an exception in some cases when we use the middle-click
...
bzr revid: nicolas.vanhoren@openerp.com-20130902142133-odxuddgbar4so3v7
2013-09-02 16:21:33 +02:00
Martin Trigaux
78c82fc0c6
[FIX] tree views: rename variable parent-id to avoid conflicts with record fields name (eg: account.account)
...
bzr revid: mat@openerp.com-20130829124448-xr89v0gsuoukqhao
2013-08-29 14:44:48 +02:00
Christophe Simonis
b86eee378e
[MERGE] forward port of branch saas-1 up to revid 3743 chs@openerp.com-20130823145204-xwpnlwg0gg2259f6
...
bzr revid: chs@openerp.com-20130823145527-fz58kta3qpup4sb2
2013-08-23 16:55:27 +02:00
Martin Trigaux
4d87d76e43
[FIX] tree view: correct toggeling of hierarchic tree, correctly pass ids
...
bzr revid: mat@openerp.com-20130823081256-ab12551kejhjcqbv
2013-08-23 10:12:56 +02:00
niv-openerp
4cc2766b2e
[IMP] added possibility to desactivate quick create in m2o
...
bzr revid: nicolas.vanhoren@openerp.com-20130822100030-39ipz56hkrtq8pw0
2013-08-22 12:00:30 +02:00
Martin Trigaux
cd99b9ffac
[MERGE] [FIX] reload form if button has option reload_on_button
...
bzr revid: mat@openerp.com-20130821085342-8k6q1d2886tmwffm
2013-08-21 10:53:42 +02:00
Martin Trigaux
d2f220adf6
[FIX] vertical alignment of fields on firefox (opw #590181 )
...
bzr revid: mat@openerp.com-20130821080933-fiq3zvccgzop02on
2013-08-21 10:09:33 +02:00
niv-openerp
3210d02d8f
[REVERT] reverted 3812 because it's an incorrect way to upgrade an external dependency of OpenERP
...
bzr revid: nicolas.vanhoren@openerp.com-20130819092940-9vqh5036p7rf2azv
2013-08-19 11:29:40 +02:00
niv-openerp
a0bac10130
[IMP] added minor feature in Widget to ease development
...
bzr revid: nicolas.vanhoren@openerp.com-20130819092408-rdi91pokwuuy3f5e
2013-08-19 11:24:08 +02:00
Fabien Meghazi
81e028b791
[ADD] QWeb: add async api (backward compatible)
...
bzr revid: fme@openerp.com-20130814164322-cny24d0i6tg4ftvn
2013-08-14 18:43:22 +02:00
Fabien Meghazi
18acfa505a
[MERGE] upstream
...
bzr revid: fme@openerp.com-20130814082058-8hckb7bew6j3wtrg
2013-08-14 10:20:58 +02:00
niv-openerp
ba782d1acd
[FIX] removed last password feature
...
lp bug: https://launchpad.net/bugs/1211795 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130813142738-bm27qu6jnr3e5y72
2013-08-13 16:27:38 +02:00
niv-openerp
a9ffb0061b
[FIX] remove password storing in localstorage
...
lp bug: https://launchpad.net/bugs/1211795 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130813141651-b5f9eegs2edz4mny
2013-08-13 16:16:51 +02:00
niv-openerp
a07da01457
[FIX] remove last password saving feature
...
lp bug: https://launchpad.net/bugs/1211795 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130813142011-osv12ybmwvjj5dso
2013-08-13 16:20:11 +02:00
niv-openerp
2e6d38f068
[IMP] Moved the date formatting functions in openerpframework.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130808134520-v0n2b29vuffstyu0
2013-08-08 15:45:20 +02:00
Thibault Delavallée
a5c6872150
[FIX] views: fixed form view not being able to launch any sidebar action
...
bzr revid: tde@openerp.com-20130808104733-gg0vpwxzy631pj0x
2013-08-08 12:47:33 +02:00
Fabien Meghazi
11fb809e60
[MERGE] upstream
...
bzr revid: fme@openerp.com-20130807100643-0olinq3584kzc3we
2013-08-07 12:06:43 +02:00
niv-openerp
1f726f7826
[FIX] regression that made the qweb modules be loaded 2 times
...
bzr revid: nicolas.vanhoren@openerp.com-20130807095457-gdm1ixzk0rcev2sg
2013-08-07 11:54:57 +02:00
niv-openerp
8b963ce64f
[FIX] Fixed regression that made the debug mode unavailable
...
bzr revid: nicolas.vanhoren@openerp.com-20130807092232-jgkap3b3cfa2grfq
2013-08-07 11:22:32 +02:00
niv-openerp
8039768fc8
[IMP] added doc
...
bzr revid: nicolas.vanhoren@openerp.com-20130806132807-rbiafmcqvbh1o79y
2013-08-06 15:28:07 +02:00
niv-openerp
d3a2c47fb1
[IMP] Moved Mutex class to openerpframework.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130806131746-l43mz6aos7eupehm
2013-08-06 15:17:46 +02:00
niv-openerp
e6e5fcde1e
[IMP] Improved shim for function.bind
...
bzr revid: nicolas.vanhoren@openerp.com-20130806130734-lov3aq0m4b1r4sto
2013-08-06 15:07:34 +02:00
niv-openerp
baef37aec6
[IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons.
...
bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
2013-08-06 14:50:22 +02:00
niv-openerp
c63a86c593
[IMP] Merged corelib.js and coresetup.js into core.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130806122623-pq6bpkjk65jx0fnp
2013-08-06 14:26:23 +02:00
niv-openerp
cb55e11c70
Put everything in the framework directly in the openerp namespace instead of the openerp.web namespace.
...
bzr revid: nicolas.vanhoren@openerp.com-20130806085812-ek8v8k0x4m7ocu4f
2013-08-06 10:58:12 +02:00
niv-openerp
034e4893d5
Some commas
...
bzr revid: nicolas.vanhoren@openerp.com-20130805151544-pdaebd2o8bh70z7z
2013-08-05 17:15:44 +02:00
niv-openerp
1bd4b62142
Perfected translations integration in the framework
...
bzr revid: nicolas.vanhoren@openerp.com-20130805151012-wnc7wkyiz0eay5oh
2013-08-05 17:10:12 +02:00
niv-openerp
38699e04cf
Copied a part of translation database to openerpframework.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130805145514-uuywlhleyfz2xoj4
2013-08-05 16:55:14 +02:00
niv-openerp
b3c4d02590
Improved translation controller to be more flexible
...
bzr revid: nicolas.vanhoren@openerp.com-20130805144431-ycv6gwv99c5bh1p1
2013-08-05 16:44:31 +02:00
niv-openerp
ab4d080450
Desactivated some tests that, once again, do not work in the runbot
...
bzr revid: nicolas.vanhoren@openerp.com-20130805140404-x15shdy1a4b3zqvk
2013-08-05 16:04:04 +02:00
niv-openerp
07617fef45
Added tests for the models
...
bzr revid: nicolas.vanhoren@openerp.com-20130805134548-n6j48iv7823u3eh7
2013-08-05 15:45:48 +02:00
niv-openerp
76ef945c96
Corrected some stuff in openerp.web.Model
...
bzr revid: nicolas.vanhoren@openerp.com-20130805134059-3ayw6b0tqqberkaw
2013-08-05 15:40:59 +02:00
niv-openerp
d256d16e3a
Fixed potential security issue + some details
...
bzr revid: nicolas.vanhoren@openerp.com-20130805133309-jds80qa5j5lgwslq
2013-08-05 15:33:09 +02:00
niv-openerp
226b142ac6
Simplified a little the Query class by removing a reference to a controller and using call_kw instead
...
bzr revid: nicolas.vanhoren@openerp.com-20130805130458-21w806v9wc456oq4
2013-08-05 15:04:58 +02:00
niv-openerp
70e3af6312
Desactivated some tests because the phantomjs runner crashed
...
bzr revid: nicolas.vanhoren@openerp.com-20130805125045-q1x1bciwcdyabg8v
2013-08-05 14:50:45 +02:00
niv-openerp
affb4f0589
Ported model to the framework
...
bzr revid: nicolas.vanhoren@openerp.com-20130805123916-s62upxq3jwqjygt0
2013-08-05 14:39:16 +02:00
niv-openerp
14fccd0a4e
Even more tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130805114034-7xcpjmses5aodjhr
2013-08-05 13:40:34 +02:00
niv-openerp
a6ea300848
Added some tests about authentication
...
bzr revid: nicolas.vanhoren@openerp.com-20130805113928-yldn5qh2lm0vc8j9
2013-08-05 13:39:28 +02:00
niv-openerp
22c56b1dd8
Ported some authentication methods to the Session class
...
bzr revid: nicolas.vanhoren@openerp.com-20130805111250-ws23n3b6os54qsp3
2013-08-05 13:12:50 +02:00
niv-openerp
85b2238472
minor improvements
...
bzr revid: nicolas.vanhoren@openerp.com-20130805101849-rqqx4jcmbymv5hfl
2013-08-05 12:18:49 +02:00
niv-openerp
bd8519abb5
Make it a little bit cleaner to fetch the session_id
...
bzr revid: nicolas.vanhoren@openerp.com-20130802152432-stvg9eed7f6juvq9
2013-08-02 17:24:32 +02:00
niv-openerp
ab03d9c280
Make the three jsonrpc protocols work correctly with and without session overriding and added tests for all the cases.
...
That's one small step for a man, a giant leap for all the poor programmers that would have to use that shit one day.
bzr revid: nicolas.vanhoren@openerp.com-20130802150815-k2yuf0b3ku5fvx7a
2013-08-02 17:08:15 +02:00
niv-openerp
adc722348c
Made the 2-steps jsonp rpc work more or less
...
bzr revid: nicolas.vanhoren@openerp.com-20130802143223-49mf5dayd8ape1a5
2013-08-02 16:32:23 +02:00
niv-openerp
cc04d9463e
Added more tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130801164207-wwv34s2fgtlxbzxz
2013-08-01 18:42:07 +02:00
niv-openerp
49f20eb39e
Added some tests for jsonrpc
...
bzr revid: nicolas.vanhoren@openerp.com-20130801163221-uat5w2j1p5t9m5ve
2013-08-01 18:32:21 +02:00
niv-openerp
f6318cc753
Yiiiiha! This day was shitty but that damn tests finally work.
...
bzr revid: nicolas.vanhoren@openerp.com-20130801160847-tcx6va9x1kp0q7eo
2013-08-01 18:08:47 +02:00
niv-openerp
9ce24aea39
Merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130801125845-2aoeb7l6bicdmk59
2013-08-01 14:58:45 +02:00
Christophe Matthieu
be7b1239c3
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20130801123959-479vo299lm5inrli
2013-08-01 14:39:59 +02:00
Xavier Morel
adfe3e7ec9
[FIX] reinstate basic grouping test, replace strictEqual call on widgets by ok(===)
...
There seems to be a problem with QUnit's serialization routines when
applied to complex widgets (the view here) while running inside
PhantomJS. It does not seem to be cycles in datastructures (that is
handled) but looks related to complex objects linked from multiple
"children" (skipping any object already serialized makes the issue
disappear).
The bug leads to unbounded memory growth, and on runbot to the process
being summarily terminated (likely by the OOM killer) not even
resulting in an OOM error (which is displayed locally). The issue can
not be observed within browsers. This may be a difference in GC
strategy.
The serialization is applied by the driver on high-level comparison
methods (e.g. strictEqual) so the caller can display the structures if
desired.
Replace the strictEqual(a, b) call by ok(a === b) to avoid any risk of
such serialization.
bzr revid: xmo@openerp.com-20130801091326-u2q9e163zls4k8ad
2013-08-01 11:13:26 +02:00
Xavier Morel
cdee92f984
[IMP] update QUnit to 1.12.0 (doesn't fix issue, adds features)
...
bzr revid: xmo@openerp.com-20130801091239-6lz0ya595i226l85
2013-08-01 11:12:39 +02:00
Xavier Morel
e57e50fdfa
[FIX] unneeded & dangerous start call in async test
...
bzr revid: xmo@openerp.com-20130801091130-vx7ow7vxifu7ak84
2013-08-01 11:11:30 +02:00
niv-openerp
dae87b4535
Try to reimplement jsonrpc with niv's methods, still a lot of tests fail
...
bzr revid: nicolas.vanhoren@openerp.com-20130731163415-v6ec0nqsr0qj91a6
2013-07-31 18:34:15 +02:00
niv-openerp
a51e042400
Removed some more references to _.str
...
bzr revid: nicolas.vanhoren@openerp.com-20130731151958-bgc0w02et69mf1ok
2013-07-31 17:19:58 +02:00
niv-openerp
9fef7daead
Added niv's functions to make jsonrpc and removed some references to _.str
...
bzr revid: nicolas.vanhoren@openerp.com-20130731151720-1iiohpkc1f6jqv3o
2013-07-31 17:17:20 +02:00
niv-openerp
d7a9a596a7
Put JSONRpc class in openerpframework
...
bzr revid: nicolas.vanhoren@openerp.com-20130731145623-lxac6w12ocoh2e8e
2013-07-31 16:56:23 +02:00
niv-openerp
aa5c781d90
Removed dependency to underscore.string in openerpframework.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130731144805-9hbxxfbrweb0clhx
2013-07-31 16:48:05 +02:00
niv-openerp
c8142aa421
Updated qweb
...
bzr revid: nicolas.vanhoren@openerp.com-20130731141139-7ssepci9vxnp9hpf
2013-07-31 16:11:39 +02:00
niv-openerp
46869ba52d
[FIX] desactivated test creating random false positive
...
bzr revid: nicolas.vanhoren@openerp.com-20130731133504-vt2fx11jziyad47e
2013-07-31 15:35:04 +02:00
niv-openerp
4ec2906626
[FIX] attempt to solve false-positive in js tests on the runbot
...
bzr revid: nicolas.vanhoren@openerp.com-20130731131933-ur5vdahgnbjsj16o
2013-07-31 15:19:33 +02:00
niv-openerp
e4acf6c902
[IMP] now uses bower for some libs
...
bzr revid: nicolas.vanhoren@openerp.com-20130731131731-9yq9deun2b5q6sxv
2013-07-31 15:17:31 +02:00
Olivier Dony
cf9d7aaa5f
[MERGE] Forward-port of latest bugfixes from 7.0 up to rev 4007 (launchpad_translations_on_behalf_of_openerp-20130730045810-58du4wi80axs0t81)
...
bzr revid: dle@openerp.com-20130627115936-iw2x6yjejabkc8ys
bzr revid: chs@openerp.com-20130702141958-zxkppo4c6zvpo0uf
bzr revid: odo@openerp.com-20130731072914-0uk62hnao5x502hh
2013-07-31 09:29:14 +02:00
niv-openerp
e817310ce6
merge trunk
...
bzr revid: nicolas.vanhoren@openerp.com-20130729141149-63jsx00l9zqckmkv
2013-07-29 16:11:49 +02:00
niv-openerp
80df99fa18
cosmetic
...
bzr revid: nicolas.vanhoren@openerp.com-20130729093657-p0xdm0nyhg4jn3i7
2013-07-29 11:36:57 +02:00
niv-openerp
22ac3304e1
Added strict mode and es3 mode to framework and corrected some problems
...
bzr revid: nicolas.vanhoren@openerp.com-20130729092512-1ip4abjrypf74qr2
2013-07-29 11:25:12 +02:00
niv-openerp
95599aefd4
Corrected class tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130726160845-z2ug9cwp41y1h9yj
2013-07-26 18:08:45 +02:00
niv-openerp
e01b96e762
Put class and widgets tests in framework.js
...
bzr revid: nicolas.vanhoren@openerp.com-20130726160715-adjyalkubyismvao
2013-07-26 18:07:15 +02:00
niv-openerp
89a9ab8cd0
Now uses only openerpframework in widget's tests
...
bzr revid: nicolas.vanhoren@openerp.com-20130726160315-l60r6z706urv2hga
2013-07-26 18:03:15 +02:00
niv-openerp
a02da32a08
Changed some testing code creating side effects and making other tests crash
...
bzr revid: nicolas.vanhoren@openerp.com-20130726143647-rz01o0cnwm2a1gyo
2013-07-26 16:36:47 +02:00
niv-openerp
0c79e1b079
Fixed multiple side effects related to the session
...
bzr revid: nicolas.vanhoren@openerp.com-20130726142707-eyfq5hmubm38slk1
2013-07-26 16:27:07 +02:00
Christophe Matthieu
25f117a056
[MERGE] from trunk
...
bzr revid: chm@openerp.com-20130726141841-a30nn35b63p2l3uh
2013-07-26 16:18:41 +02:00
niv-openerp
38bc6817d6
Fixed problem with parsing functions tests that created side effects
...
bzr revid: nicolas.vanhoren@openerp.com-20130726133550-96zyro1znep8ip6x
2013-07-26 15:35:50 +02:00
niv-openerp
5c7b6cffde
Fixed some problems about testing framework
...
bzr revid: nicolas.vanhoren@openerp.com-20130726131805-wstt1de2qqq7w7hx
2013-07-26 15:18:05 +02:00
niv-openerp
c94c4599b2
Moved proxy()
...
bzr revid: nicolas.vanhoren@openerp.com-20130726124837-yze64evp7r70uv5y
2013-07-26 14:48:37 +02:00
niv-openerp
99e07f1e3e
Put some qweb globals in the framework
...
bzr revid: nicolas.vanhoren@openerp.com-20130726124446-6z3xpm1mu22mgep3
2013-07-26 14:44:46 +02:00