Commit Graph

4987 Commits

Author SHA1 Message Date
Xavier Morel 4bb3995680 [IMP] replace literal values by symbolic ones for node types dispatching
bzr revid: xmo@openerp.com-20130516110335-dk803tjn1qpqd0ro
2013-05-16 13:03:35 +02:00
Xavier Morel 5cf564e4e6 [FIX] handling of multiline strings during qweb translation
Javascript regexps don't provide a DOTALL flag (to make `.` match
newlines) so have to replace `.` by `[\s\S]` hack, as *that* will
match newlines as well as all other characters.

Note: the `m` flag has a different meaning, it makes `^` and `$` match
      the start and end of lines rather than the start and end of the
      string itself.

bzr revid: xmo@openerp.com-20130516105908-exgtwwf785hrmedo
2013-05-16 12:59:08 +02:00
niv-openerp 90d278a6a6 changed encodings
bzr revid: nicolas.vanhoren@openerp.com-20130515095413-tdvyurv8dwgvj0vd
2013-05-15 11:54:13 +02:00
Martin Trigaux eb90dd9370 [IMP] clean permissions and shebang in files
bzr revid: mat@openerp.com-20130514103736-kfuk3nutvezyo7l0
2013-05-14 12:37:36 +02:00
Christophe Matthieu 42ad806345 [FIX] needaction: issue 592134 'Uncaught TypeError: Cannot call method 'do_reload_needaction' of undefined'
bzr revid: chm@openerp.com-20130513112202-32sko79k23v5seq2
2013-05-13 13:22:02 +02:00
Mohammed Shekha d8dd8fc14b [FIX]Fixe the issue of listview record re-ordering which is not working due to revision 3898.
bzr revid: msh@openerp.com-20130509085102-ln4lidp7caqw25ur
2013-05-09 14:21:02 +05:30
Anael Closson 9db02eae90 [FIX] typo & imp
bzr revid: acl@openerp.com-20130507152103-0gm36pnuc4pp6wet
2013-05-07 17:21:03 +02:00
Anael Closson 74dcc49bd8 [FIX] OPW 590091 : not searchable functional fields aren't removed from advanced search
bzr revid: acl@openerp.com-20130507092734-zmmm0g5c1t8va1dl
2013-05-07 11:27:34 +02:00
Olivier Dony ce57acd302 [FIX] do_load_needaction: properly reject `falsy` menu_ids
bzr revid: odo@openerp.com-20130506135031-4y9qydjc67rugq60
2013-05-06 15:50:31 +02:00
Olivier Dony f6f575543f [FIX] need_action: avoid reloading needaction counters when there is no menu
- guard do_load_needaction to prevent exceptions when
  there is no menu to load
- avoid calling do_load_needaction where there is no
  menu to reload in the first place

bzr revid: odo@openerp.com-20130503102248-vjl1b8xju9uwfq97
2013-05-03 12:22:48 +02:00
Thibault Delavallée 1088554b40 [REV] Removed code changed not related to this branch.
bzr revid: tde@openerp.com-20130426075650-jxzw3h52idj2zp7y
2013-04-26 09:56:50 +02:00
Thibault Delavallée 5cafebd48a [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130425143838-cl9k0fpml5r0q6bi
bzr revid: tde@openerp.com-20130426074530-16h0doe2cju6xkug
2013-04-26 09:45:30 +02:00
Vidhin Mehta 2d07136d6f [FIX]Remove extra duplicate method,show valid error msg when invalid db to drop, do_render method call after resolving fetch_langs and call always after fetch_db.
lp bug: https://launchpad.net/bugs/1166856 fixed

bzr revid: vme@tinyerp.com-20130423104647-8xvrthahdzk42r08
2013-04-23 16:16:47 +05:30
Xavier Morel d4977dd3bb [FIX] missing translation mark in error message
lp bug: https://launchpad.net/bugs/1125159 fixed

bzr revid: xmo@openerp.com-20130418125640-87g9sdowig7w565d
2013-04-18 14:56:40 +02:00
Olivier Dony dc24794855 [FIX] web: support integer/float fields in search view via auto-completion + tests
integer/float fields were not offering auto-completion in search views,
making them unsearchable except via advanced search.
This patch adds the missing complete() function and removes the incorrect
value_from() function that did not conform to the 7.0 search view API.
It seemed to be a leftover of the 6.1 search field implementation
of get_value(), wrongly renamed for 7.0.

Also includes corresponding tests.

bzr revid: odo@openerp.com-20130418112001-388op1t8ugr0rhfn
2013-04-18 13:20:01 +02:00
Christophe Matthieu 027bf19a7a [IMP] ir_ui_menu: trunk to 7.0 dynamic counters
bzr revid: chm@openerp.com-20130417133438-1g8h8hezbn1vtjj1
2013-04-17 15:34:38 +02:00
Xavier Morel c19bc50648 [FIX] ids of deleted records living in shared dataset when clicking on list row
When a record is activated, the listview will do some jiggling around
assigning the ids of internal dataset to the one shared between all
views, this is mostly for the case where one switches from a "grouped"
list view, so the form view only cycles on the "current" group.

Problem is, that internal dataset is not correctly synchronized with
the shared one, so when the id is removed from the shared dataset it
is *not* removed from the internal one(s), and when the switch is made
the ids from the internal dataset are set on the shared one and
reintroduce the deleted record, leading to the form view's incorrect
state.

Fix the issue by updating the dataset's ids list when a record is
deleted from the records tree.

Also extracted some stuff from DataSetSearch's unlink callback so it
can be overridden and is more stable across datasets.

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

bzr revid: xmo@openerp.com-20130416152000-06dbwkgdb8zlf9pc
2013-04-16 17:20:00 +02:00
Xavier Morel a455d6c2b2 [FIX] correctly handle group_by_no_leaf when no grouping applied
If there are no grouping field specified *but* group_by_no_leaf is
specified, should call read_group with no grouping fields: will
generate a single group (which can not be opened) for all of the
model.

Necessary for analysis views since individual "records" make no sense.

bzr revid: xmo@openerp.com-20130416092344-2pqog8f7xprn6hsh
2013-04-16 11:23:44 +02:00
Fabien Meghazi 428fdca40a [FIX] FormRenderingEngine: allow class propagation to group cells
bzr revid: fme@openerp.com-20130411163238-qy377cdnn9enax34
2013-04-11 18:32:38 +02:00
Anael Closson 543c6012da [FIX] Multiline texts could not be matched for tranlations
bzr revid: acl@openerp.com-20130411162035-ij47tyulejkqqz4t
2013-04-11 18:20:35 +02:00
Frédéric van der Essen 174ef7b490 [MERGE] adding a rounding method that is compliant with the server side rounding method
bzr revid: fva@openerp.com-20130409154129-gul9hkn0p4nt24md
2013-04-09 17:41:29 +02:00
Frédéric van der Essen a5e4d757a1 [FIX] add a correct rounding algorithm to be able to duplicate server-side financial computations
lp bug: https://launchpad.net/bugs/1157761 fixed

bzr revid: fva@openerp.com-20130409144414-nqnmkny5cxrmyru1
2013-04-09 16:44:14 +02:00
Mohammed Shekha e8a7d4fef5 [FIX]Fixed the issue of cleditor, on window resize blur event not triggered except firefox so due to which value disappears from the container.
bzr revid: msh@openerp.com-20130409124857-gqqb87zc6mqk65gy
2013-04-09 18:18:57 +05:30
Fabien Meghazi 905d13671b [FIX] Do not autofocus Notebook pages by default
bzr revid: fme@openerp.com-20130409122852-f4ikugl83otx8423
2013-04-09 14:28:52 +02:00
Fabien Meghazi 30cce00296 [FIX] Date[time] widget width issues on OSX
bzr revid: fme@openerp.com-20130404102306-hrinhnldt5dxqcy7
2013-04-04 12:23:06 +02:00
Fabien Meghazi 8a20760fc8 [FIX] DataSet#size() problem + FormView#on_button_delete() shall pop breadcrumb on empty dataset
bzr revid: fme@openerp.com-20130404101459-m9q90e32qwf068lw
2013-04-04 12:14:59 +02:00
Christophe Matthieu f3ce4dedf3 [FIX] view_form: Fixed the issue of attachment was not added in any other language, because action URL was getting translated.
bzr revid: chm@openerp.com-20130402144039-y0xoaijds4ipw7g0
2013-04-02 16:40:39 +02:00
Fabien Meghazi cea7a7a0ab [FIX] m2o does not use @alive()
lp bug: https://launchpad.net/bugs/1160192 fixed

bzr revid: fme@openerp.com-20130402133952-xz2qaoygg83ks3tx
2013-04-02 15:39:52 +02:00
Mohammed Shekha b5793bc85b [FIX]Fixed the issue of file input widget which is not working in firefox and IE.
bzr revid: msh@openerp.com-20130401053500-q8tsnnr59u2aqawt
2013-04-01 11:05:00 +05:30
Darshan Kalola (OpenERP Trainee) 6073d6b642 [FIX]Bad view O2M with attribute delete
lp bug: https://launchpad.net/bugs/1126027 fixed

bzr revid: darshankalola@gmail.com-20130329122741-pqj62e06oivq5cjs
2013-03-29 17:57:41 +05:30
Dharti Ratani (Open ERP) ec1c8323ef [MERGE]Merged with 7.0
bzr revid: dhr@tinyerp.com-20130329084854-77byxjrf7x4pf58z
2013-03-29 14:18:54 +05:30
Dharti Ratani (Open ERP) 0e664c9e93 [FIX]Fix the issue of editing inline many2one values doesn't show up with field name legth
bzr revid: dhr@tinyerp.com-20130329084528-a3ppzy7paww97yc7
2013-03-29 14:15:28 +05:30
Fabien Meghazi c94c81c8ac [FIX] Remove dirty flag on save
lp bug: https://launchpad.net/bugs/1099380 fixed

bzr revid: fme@openerp.com-20130328210718-85lemijdjc79hhea
2013-03-28 22:07:18 +01:00
Olivier Dony 35d61bbd8b [FIX] web search: correct previous fix to properly handle searching for 0 on number fields
Also removed useless HTML escaping and added basic tests.

bzr revid: odo@openerp.com-20130328153502-v71q2m60wh37ganq
2013-03-28 16:35:02 +01:00
Olivier Dony 300d5be0e6 [FIX] web: int/float fields were not offering auto-completion in search views, making them un-searchable except via advanced search
Added the missing complete() function and removed the incorrect
value_from() override that seemed to be a leftover remnant
of the 6.1 search field implementation of get_value(), wrongly
renamed for 7.0.

bzr revid: odo@openerp.com-20130328120337-lao4o9i0owsbpysi
2013-03-28 13:03:37 +01:00
chirag patel 4f8f192df0 [FIX] Fixed autocomplete of search view hide behind overlay.
bzr revid: cpa@tinyerp.com-20130328063346-1aib1n3on9pdr81u
2013-03-28 12:03:46 +05:30
bth 876c790077 [FIX] Put arrow on or.
bzr revid: bth@bth-laptop-20130326094432-rq3rnxw60r6e00bv
2013-03-26 15:14:32 +05:30
bth 3a971d10a6 [MERGE] Merge lp:openerp-web/7.0.
bzr revid: bth@bth-laptop-20130326093643-746n0kzeu3nlwfe2
2013-03-26 15:06:43 +05:30
niv-openerp ab154e8cbc [FIX] small code problem in set defaults feature
lp bug: https://launchpad.net/bugs/1112232 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130322163935-557zk749eiuswpcg
2013-03-22 17:39:35 +01:00
niv-openerp 13863aaa99 [FIX] deferred problems when clicking too quickly on some menu items
lp bug: https://launchpad.net/bugs/1100280 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130322162310-135hd0hoak8k5oq6
2013-03-22 17:23:10 +01:00
Xavier Morel 03330ea230 [FIX] minor presentational offset issue
missed mis-handling of oe_selected in xmo@openerp.com-20130321155123-211iht7c6zme712e

bzr revid: xmo@openerp.com-20130322103606-60ayhrsn5gmgyu2h
2013-03-22 11:36:06 +01:00
dle@openerp.com 6311e080ac [FIX]testing.js: replace testing.case by testing['case'] for compatibility (IOS < 5, IE8)
bzr revid: dle@openerp.com-20130322101606-u8v8lyh59r3qnnk1
2013-03-22 11:16:06 +01:00
Fabien Meghazi 2b40c8ba9e [FIX] Fix FormFields#focus()
The focus() of AbstractFormField should return false if field
is not focusable otherwise it breaks FormView's#autofocus()

Also added checks of existance of the element to focus.
Those errors makes it harder to find other bugs

bzr revid: fme@openerp.com-20130321220636-1pja2ahsdstyl8kz
2013-03-21 23:06:36 +01:00
Xavier Morel 839ceca3e4 [FIX] visible text in Chrome on Linux after applying text-to-icon
@include text-to-icon makes the text invisible (and adds an icon), but
some platform apparently don't apply the text's transparency (or
visibility) to its shadow, leading to the invisible text's shadow
still being noticeably visible (an interesting literary idea, an
"invisible" man who still casts a shadow?) as if the text had not been
erased. Furthermore, combined with the 1px font size it made the text
look like some sort of screen smudge or glitch.

Fix by erasing the text-shadow as well as the text.

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

bzr revid: xmo@openerp.com-20130321164741-iakau7g1kfq2mqu4
2013-03-21 17:47:41 +01:00
Xavier Morel 3c5d38918b [FIX] filter preceded by an invisible filter in the same group
On click on a filter in the drawer, FilterGroup would just match the
offset of the filter in the group's DOM with an index in the internal
#filters array. 

This worked until invisible fields, and then again only for filters
*preceded* by an invisible sibling in the same group: invisible
filters are not rendered in the DOM, so the indexes would get out of
sync.

Fix by using explicit indexes stored in a filter's @data-index and
using that to get the filter object/node.

An alternative fix (but hackier I think): instead of not rendering
invisible filters, render them with display: none. Remains an option
in the future if needed...

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

bzr revid: xmo@openerp.com-20130321155123-211iht7c6zme712e
2013-03-21 16:51:23 +01:00
Xavier Morel 3b2e26af18 [FIX] incorrect array joins
Array#join() is equivalent to Array.join(', '), not Array.join('') as in Python.

For some reason the tests didn't break, but...

bzr revid: xmo@openerp.com-20130321155105-dwgprqldk39r3xk2
2013-03-21 16:51:05 +01:00
Fabien Meghazi f4a98e143b [MERGE] Date Picker is not translated into local language
lp bug: https://launchpad.net/bugs/1101072 fixed

bzr revid: fme@openerp.com-20130321115330-cz7gk7il6hkvntw9
2013-03-21 12:53:30 +01:00
Olivier Dony 57ca8fb11a [FIX] base.xml: improve backwards compatibility of SearchView.filters template to resolve JS errors on OpenERP Apps where 2 different versions of the web client frameworm can be mixed
The incompatible change was introduced at revision
 rev. 3803 revid:xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1.

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

bzr revid: odo@openerp.com-20130321112020-l9fwle08s37z4oqi
2013-03-21 12:20:20 +01:00
Fabien Meghazi c20977eed8 [FIX] Form binary fields 'Select' and 'Save as' buttons does not work under IE9
lp bug: https://launchpad.net/bugs/1092869 fixed

bzr revid: fme@openerp.com-20130321103407-nh0ncw0vrqba7zfm
2013-03-21 11:34:07 +01:00
Christophe Simonis 8fd08f900f [FIX] web: Fix old versions of Webkit (such as ones used on iOS < 6 or PhantomJS <= 1.7)
which does not have Function.prototype.bind function

bzr revid: chs@openerp.com-20130320143652-xqglvte5kwvtwl5i
2013-03-20 15:36:52 +01:00
Paramjit Singh Sahota 3d545a4530 [IMP] Set position, width and top for hover on 'or' in Advance search to inhibits the excution of CURSOR on hover.
bzr revid: psa@tinyerp.com-20130320103207-6vbrf4dqnwo2s1u8
2013-03-20 16:02:07 +05:30
Paramjit Singh Sahota 6c8be94ab7 [IMP] Set cursor on 'or' in Advance search.
bzr revid: psa@tinyerp.com-20130320101528-0i90ne0dzqr5adgc
2013-03-20 15:45:28 +05:30
Fabien Meghazi d2076aece3 [FIX] webclient returns to database manager after 1st database creation
lp bug: https://launchpad.net/bugs/1151767 fixed

bzr revid: fme@openerp.com-20130319154345-9xal244vuehl9vbw
2013-03-19 16:43:45 +01:00
niv-openerp c55de6996f [FIX] small problem with m2o, does not uses context when opening them in read-only mode
bzr revid: nicolas.vanhoren@openerp.com-20130319102719-0gdwvmix4d3x8th5
2013-03-19 11:27:19 +01:00
niv-openerp a6a8d71a0e [FIX] calls to fields_view_get do not pass the correct context, fails in o2m
lp bug: https://launchpad.net/bugs/1091204 fixed

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

bzr revid: odo@openerp.com-20130318155618-z9s2izahnv1j2no6
2013-03-18 16:56:18 +01:00
Xavier Morel ac5008abc9 [FIX] pyeval: argspec of relativedelta
bzr revid: xmo@openerp.com-20130318105244-qkgvi69do0219lkk
2013-03-18 11:52:44 +01:00
Antony Lesuisse 4f6e61a05e [MERGE] base.sass infobox and url text attribute
bzr revid: al@openerp.com-20130314222838-xjf3p76o1n1u2y93
2013-03-14 23:28:38 +01:00
Fabien Meghazi ac64a4fcb8 [IMP] Improved box_info box_warning css
bzr revid: fme@openerp.com-20130314222616-gz7f0zpnpz0skq88
2013-03-14 23:26:16 +01:00
Christophe Simonis ddd252b5d1 [FIX] EmbeddedClient.do_action() forward all arguments
bzr revid: chs@openerp.com-20130314144503-e5ewicf13er2clh8
2013-03-14 15:45:03 +01:00
Christophe Simonis 089bec0d9a [MERGE] [ADD] `hide_breadcrumb` option
bzr revid: chs@openerp.com-20130314144416-v3eb8czyr44qiub8
2013-03-14 15:44:16 +01:00
niv-openerp 3d53abcc8e [FIX] corrected small problem that made appear "false" in empty field text
bzr revid: nicolas.vanhoren@openerp.com-20130314135141-lnifcsa405qzjp0j
2013-03-14 14:51:41 +01:00
Fabien Meghazi ae24f3fb71 [FIX] Do not restraint info box width
bzr revid: fme@openerp.com-20130314115055-7vv9nw51hf284lz3
2013-03-14 12:50:55 +01:00
Fabien Meghazi 1bc43748ee [ADD] `hide_breadcrumb` option
bzr revid: fme@openerp.com-20130314105213-13dtn26c773qsu7a
2013-03-14 11:52:13 +01:00
Quentin (OpenERP) d4181a6625 [MERGE] view_form.js: fixing the statusbar. if there is no domain defined, the statusbar mustn't try to concat with ('|',('id','=',...)) because it is creating a syntactically invalid domain
bzr revid: qdp-launchpad@openerp.com-20130314103233-icm1b664xrisy66k
2013-03-14 11:32:33 +01:00
Fabien Meghazi f6f5b20d96 [FIX] missing oe_page_only class
bzr revid: fme@openerp.com-20130313162032-5jhh4nhk16z7qh1n
2013-03-13 17:20:32 +01:00
Fabien Meghazi bed679f1c8 [ADD] Added form view infobox styling
bzr revid: fme@openerp.com-20130313154429-yjrbj0oklt7hd0qw
2013-03-13 16:44:29 +01:00
Fabien Meghazi fe758caa05 [ADD] Added @text attribute to fields@widget=url
bzr revid: fme@openerp.com-20130313154345-6y8s7k5s0vyc3cc8
2013-03-13 16:43:45 +01:00
Cedric Snauwaert ca7aa3ef8d [FIX]view_form : fix invalid domain in widget statusbar when using m2o fields
bzr revid: csn@openerp.com-20130313142554-7k6xgpeq20s8sqru
2013-03-13 15:25:54 +01:00
Thibault Delavallée 408144864b [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130313101756-r0b41kr2c4sxzfm8
2013-03-13 11:17:56 +01:00
Mohammed Shekha 9fea2be12d [FIX]Fixed the issue of attachment was not added in any other language, because action URL was getting translated.
bzr revid: msh@openerp.com-20130313061416-rmauiz7bqe2omecx
2013-03-13 11:44:16 +05:30
Mohammed Shekha 8cb9a216f0 [FIX]Refixed the issue of reload whole record from one2many.
bzr revid: msh@openerp.com-20130313051042-4nqv5abjf9odi2bh
2013-03-13 10:40:42 +05:30
Antony Lesuisse cb9106d99f [FIX] IE9 db creation, better monodb
bzr revid: al@openerp.com-20130312230344-uasy5dx2e8n5ytlr
2013-03-13 00:03:44 +01:00
niv-openerp e35e199064 [FIX] small error, probably due to refactoring, that disabled feature of form buttons.
The feature was to disable button automatically buttons in unsaved o2m to avoid errors.

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

bzr revid: nicolas.vanhoren@openerp.com-20130312170515-qt74ceqm50uscupu
2013-03-12 18:05:15 +01:00
Mohammed Shekha 1289a23782 [FIX]Fixed the issue of reload whole record when new record is created for one2many from wizard, so by default only that record is reloaded but as wizard creates new record in one2many so we have reload whole record so that one2many reloaded with new record, we already did this with setting options=reload_on_button to true
bzr revid: msh@openerp.com-20130312134748-kpmf0dxz9iyji1v3
2013-03-12 19:17:48 +05:30
Xavier Morel 18eb55643e [FIX] hide form autofocus trying to focus destroyed fields under the rug
lp bug: https://launchpad.net/bugs/1153437 fixed

bzr revid: xmo@openerp.com-20130312132144-o5enjfemuk5zxilz
2013-03-12 14:21:44 +01:00
Xavier Morel ee46eb8015 [FIX] blurring propagation on m2m tag fields
lp bug: https://launchpad.net/bugs/1153492 fixed

bzr revid: xmo@openerp.com-20130312131412-mtcl932of1466n2j
2013-03-12 14:14:12 +01:00
Xavier Morel 3890039735 [FIX] correctly check for o2m listview validity
if an edition has been canceled, don't check the form's content as it
does not matter.

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

bzr revid: xmo@openerp.com-20130312112244-zmt34jydpzge6yof
2013-03-12 12:22:44 +01:00
Xavier Morel 2dff34a18f [FIX] array extra comma
bzr revid: xmo@openerp.com-20130312110520-aym6nspf6mlcvsqe
2013-03-12 12:05:20 +01:00
Olivier Dony 0c440aa941 [FIX] web: typo in logo_edit function introduced at revision 3789
rev 3789 = nicolas.vanhoren@openerp.com-20130227113132-m2kr9slpxp1pogaz

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

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

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

bzr revid: xmo@openerp.com-20130312092824-z7sh4h3ityo4g00v
2013-03-12 10:28:24 +01:00
Antony Lesuisse 1d3c577e33 [IMP] dbmanager create screen
bzr revid: al@openerp.com-20130311212353-9f591b5y0h216l70
2013-03-11 22:23:53 +01:00
Thibault Delavallée 459fce0150 [CLEAN] Removed unnecessary quotes. As Teal'c said: Indeed.
bzr revid: tde@openerp.com-20130311140838-g9pvncskvuibz1wm
2013-03-11 15:08:38 +01:00
Thibault Delavallée 16a89075e0 [FIX] FieldTextHtml: fixed quote error in parameter of cleditor, leading to font-family not taken into account.
bzr revid: tde@openerp.com-20130308131452-8mmmpc6was3lfse8
2013-03-08 14:14:52 +01:00
Thibault Delavallée 0d92909edd [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20130308125541-z19wqiqqxx6mertr
2013-03-08 13:55:41 +01:00
niv-openerp 3f40cad548 [FIX] problem when o2m and readonly fields, now readonly fields are saved in buffered dataset too
bzr revid: nicolas.vanhoren@openerp.com-20130308104336-u2gslznv24h8n88l
2013-03-08 11:43:36 +01:00
niv-openerp 2328040c3a added readonly fields to buffered dataset cache
bzr revid: nicolas.vanhoren@openerp.com-20130308104050-uqt5qi2n9dmcd2hb
2013-03-08 11:40:50 +01:00
Thibault Delavallée a82042a6b1 [FIX] uploader widget: use the field string instead of an hardcoded 'File'.
bzr revid: tde@openerp.com-20130308092532-w24qj0kxd9374s1u
2013-03-08 10:25:32 +01:00
Xavier Morel 522a639035 [FIX] replace uncommon month names of the ar_SY datejs localization file by more standard ones, courtesy of Ahmad Khayyat
The server only supports the ar_SY variant of arabic, so this is the
one and only locale arabic speakers can currently select. According to
Ahmad Khayyat:

> The [ar-SY datejs localization] uses uncommon month names, which are
> hard to recognize.  The more common month names should be used
> instead.

This could be reverted if more arabic locales are made available in
the server, in order to limit deviations from the upstream package.

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

bzr revid: xmo@openerp.com-20130308080020-6q370e2kmrk2xk2w
2013-03-08 09:00:20 +01:00
Fabien Meghazi b18bca920b [ADD] Restore timestamp in Reload
bzr revid: fme@openerp.com-20130307173612-nso4w37o9ejtu7w4
2013-03-07 18:36:12 +01:00
Fabien Meghazi 369137c7a3 [FIX] Use new db parameter after database creation's reload
bzr revid: fme@openerp.com-20130307144815-3v2ocglf6p83gyvo
2013-03-07 15:48:15 +01:00
Xavier Morel 65e7ad2aa4 [FIX] oops, previous revision now mandates valid contexts in filter group tests
bzr revid: xmo@openerp.com-20130307141102-86tb7axyh3x4rgk9
2013-03-07 15:11:02 +01:00
Xavier Morel 617c03a19c [FIX] broken inference of groupby groups in search view filters
Before the valpocalypse, filter contexts were "literal" (parsed
objects) when reaching the search view, and `.attrs.context.group_by`
would return the right thing (namely the group_by attribute of the
context object).

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

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

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

bzr revid: xmo@openerp.com-20130307124222-1ypzfopbktxmad4z
2013-03-07 13:42:22 +01:00
niv-openerp 527e17033c [FIX] typo in previous commit
bzr revid: nicolas.vanhoren@openerp.com-20130306162436-nuitgum452gz6bq9
2013-03-06 17:24:36 +01:00
niv-openerp 13ec67e478 [FIX] visual problem in some cases in field texts, solved by switching field texts to simple html output instead of textarea when in read-only mode
lp bug: https://launchpad.net/bugs/1149640 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130306151306-1qwv04bvw50z81z9
2013-03-06 16:13:06 +01:00
Xavier Morel 32d90f6014 [FIX] cleanup m2o field events when reloading m2o fields
The big issue was the hooking on the closest ui-dialog's scroll event:
if an m2o in a dialog (e.g. wizard-type situations) toggled state from
editable to readonly (workflow action of some sort), the event hook
would remain, and call .$input.autocomplete("widget") which would blow
up because the autocompletion widget hasn't been re-initialized.

Take care to fully unbind all events during the reload process to
avoid this issue (and potentially other such as duplicate bindings and
the like).

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

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

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

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

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

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

bzr revid: xmo@openerp.com-20130306102136-2ms7llbt4swka92k
2013-03-06 11:21:36 +01:00
Fabien Meghazi 44f8d5f1a0 [IMP] Use instance.web.redirect
bzr revid: fme@openerp.com-20130305110947-ztgb4cbyjso5r4so
2013-03-05 12:09:47 +01:00
Fabien Meghazi 96ddbcd2c7 [FIX] Make 'remember credential' option work with --no-database-list
bzr revid: fme@openerp.com-20130305105112-6d5q0qyxw1p2k9d6
2013-03-05 11:51:12 +01:00
Fabien Meghazi de658646e0 [FIX] Correctly handle --no-database-list
bzr revid: fme@openerp.com-20130305104054-s0r4g02954fd8qmw
2013-03-05 11:40:54 +01:00
Xavier Morel 8e9fed0574 [IMP] use @draggable instead of hooking on dragstart to disable image and fake-link dragging
Improves upon xmo@openerp.com-20130218104529-i0i8700v2mwxje4b

bzr revid: xmo@openerp.com-20130305100400-8cqkcnd527yn1hbj
2013-03-05 11:04:00 +01:00
Xavier Morel 25baf23e23 [FIX] stacking of various "drop-down" elements
The search view's completion list should be in front of the search
view's drawer, which itself should (probably) be on top of the graph
view's "action" dropdown.

The graph view's dropdown itself needs a z-index > 0 to be in front of
the graph itself, otherwise it is inactive and unusable: it's visible
through the graph but not activable.

bzr revid: xmo@openerp.com-20130305093619-s1e5fbl80r7qnk5l
2013-03-05 10:36:19 +01:00
Xavier Morel b438ce5249 [FIX] access rights handling on m2m widgets
m2m lists inherit (from listview/view) the handling of access rights
attributes (e.g. @create, @delete) in which the access rights to the
related model are those checked for the view. This is generally true,
but *not* for m2ms: even if a user has no creation rights to the
related model, he can still create a *relation* between the current
and related models.

The m2m access rights are really governed by the *current* (source)
model, in which case the user won't get to see an "editable" view of
the m2m in the first place.

So just override is_action_enabled to disable it in m2ms.

bzr revid: xmo@openerp.com-20130305091956-zn6qtuo4tl0vh3bs
2013-03-05 10:19:56 +01:00
Xavier Morel f12b4b2b9e [IMP] jsdoc annotations
bzr revid: xmo@openerp.com-20130305091951-z2p0wi7w7p6b93y0
2013-03-05 10:19:51 +01:00
Xavier ALT b07c1a8461 [FIX] statusbar widget: fix no value display for 'selection' field
* really call initial get_selection() after binding 'change:selection'
 overwise no value are assigned to internal selection list - resulting
 to an empty statusbar when field type is 'selection'

bzr revid: xal@openerp.com-20130304230253-0e959r9sintwsd98
2013-03-05 00:02:53 +01:00
Xavier Morel b921444d6f [FIX] implement forgotten @invisible handling on search view fields
bzr revid: xmo@openerp.com-20130304152047-8xaczg9qdx6ug2p1
2013-03-04 16:20:47 +01:00
Xavier Morel d46c61d784 [FIX] don't store user context properties into custom filter @context
This leads to any subsequent view overwriting the current user's lang
or timezone with the one active when the filter was created,
generating dismay and discontent (e.g. part of the user interface
switching from spanish to english or english to german, depending on
the respective settings of the current user and the filter creator —
at time of filter creation).

bzr revid: xmo@openerp.com-20130304101414-mm6ai1dkltd7ard5
2013-03-04 11:14:14 +01:00
Fabien Meghazi 3d98b97e46 [MERGE] Merge 7.0
bzr revid: fme@openerp.com-20130304093155-dfuyjy66mv4tq13a
2013-03-04 10:31:55 +01:00
niv-openerp a52d9a3406 Modified to call the placeholder lib in view_form.js
bzr revid: nicolas.vanhoren@openerp.com-20130301144653-6a1z558tjfkvtcar
2013-03-01 15:46:53 +01:00
niv-openerp 77088d339b merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20130301143341-xa55351zb166bl2w
2013-03-01 15:33:41 +01:00
niv-openerp 36d47aebc1 [FIX] small problem with <button confirm="..."/>, didn't confirmed correctly when closing the popup
lp bug: https://launchpad.net/bugs/1095366 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130301140015-67av4zwrdhbh3srh
2013-03-01 15:00:15 +01:00
Xavier Morel 7278305f68 [FIX] O2M record reloading after workflow progress
Evict record from BufferedDataSet cache as is done with button calls,
otherwise when caller reloads record (read) after having executed the
workflow action, it'll get the old one back from the BDS's cache.

bzr revid: xmo@openerp.com-20130301103543-jra87w2wm417tgyc
2013-03-01 11:35:43 +01:00
Xavier Morel ed98418441 [FIX] docstring
bzr revid: xmo@openerp.com-20130301102223-htb9cteh5rjmex38
2013-03-01 11:22:23 +01:00
Fabien Meghazi 02d4ab6597 [FIX] Make credential autocomplete per database
bzr revid: fme@openerp.com-20130228173444-th4grlsz70lewf9h
2013-02-28 18:34:44 +01:00
niv-openerp b413e00d6a [FIX] Field monetary handles "digits" like the float field.
bzr revid: nicolas.vanhoren@openerp.com-20130228165117-z9r9ua18xohn7rgm
2013-02-28 17:51:17 +01:00
Fabien Meghazi 686e919b8d [FIX] Also check dbname in session_is_valid()
bzr revid: fme@openerp.com-20130228161901-8ff2t1km24t1im3b
2013-02-28 17:19:01 +01:00
Fabien Meghazi cb9c598ca4 [FIX] correctly set cookie for last used database
bzr revid: fme@openerp.com-20130228161757-le1halu03kesu3fa
2013-02-28 17:17:57 +01:00
Fabien Meghazi 301d63b8c9 [WIP] wip , lots of troubles !
bzr revid: fme@openerp.com-20130228101614-zn4prwhi6zk0h13d
2013-02-28 11:16:14 +01:00
Antony Lesuisse 1bec18f5f8 [FIX] view_list limits more sensible values
bzr revid: al@openerp.com-20130227212507-ag6ibb9x3nz5deko
2013-02-27 22:25:07 +01:00
Fabien Meghazi 8f56c19ad4 [FIX] Kanban: Can't drag and drop in the last column position under IE9
bzr revid: fme@openerp.com-20130227210715-p2rqb0pa81078nms
2013-02-27 22:07:15 +01:00
niv-openerp 5c3eebcb4d [FIX] crash in editable list o2m when a record is saved
bzr revid: nicolas.vanhoren@openerp.com-20130227141941-phigsnt3x3rj0atu
2013-02-27 15:19:41 +01:00
niv-openerp 5a9bf08f46 [FIX] lot of potential bugs, mainly due to quickly clicking on menu items
bzr revid: nicolas.vanhoren@openerp.com-20130227113132-m2kr9slpxp1pogaz
2013-02-27 12:31:32 +01:00
niv-openerp 1b4337f8e6 [IMP] Added utility method to better handle asynchronous calls and destruction of objects.
Critical to help solve many bugs.

bzr revid: nicolas.vanhoren@openerp.com-20130227111619-dwhjt84tz8wpd6vp
2013-02-27 12:16:19 +01:00
niv-openerp 650ff2dd5e [FIX] remove useless debug messages
bzr revid: nicolas.vanhoren@openerp.com-20130227104226-d75fgyg4iu4igftr
2013-02-27 11:42:26 +01:00
niv-openerp 07a94ec16a [FIX] too much rendering in FieldStatus
bzr revid: nicolas.vanhoren@openerp.com-20130226174509-3dppgg9b9e9xndlj
2013-02-26 18:45:09 +01:00
Fabien Meghazi fa9143b831 [FIX] m2o's autocomplete in a dialog stay absolute positioned when dialog is scrolled down
bzr revid: fme@openerp.com-20130226093346-jtun7zdmzbin7gl0
2013-02-26 10:33:46 +01:00
Xavier Morel a88586a71b [FIX] @domain not handled on searchview m2o fields
Also injected view context in m2o completion name_search

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

bzr revid: xmo@openerp.com-20130225165314-78e04rewsqw86r5d
2013-02-25 17:53:14 +01:00
Xavier Morel 6803c0048f [IMP] add view's context to m2o completion name_search
bzr revid: xmo@openerp.com-20130225165236-386r8438h4vz6fav
2013-02-25 17:52:36 +01:00
Xavier Morel ece114024f [ADD] @domains handling to searchview m2o field during completion
bzr revid: xmo@openerp.com-20130225164255-y3qkcjozr7rbtz1v
2013-02-25 17:42:55 +01:00
Fabien Meghazi 017d75f6f0 [FIX] Correctly check the id index in dataset
lp bug: https://launchpad.net/bugs/1098508 fixed

bzr revid: fme@openerp.com-20130225161236-8yb98wfzbkawr8yu
2013-02-25 17:12:36 +01:00
Christophe Matthieu 18387d7e0b [FIX] form_view: field url, don't add http for local link
bzr revid: chm@openerp.com-20130225160932-yfoxmpkf8td9hr8k
2013-02-25 17:09:32 +01:00
Xavier Morel 9f45e8970c [ADD] more tests for m2o default values handling
bzr revid: xmo@openerp.com-20130225152324-785ewucir0pv4rmw
2013-02-25 16:23:24 +01:00
Xavier Morel a8d2327cda [FIX] Correctly stop embedded form when switching from editable to non-editable list
When using the ``set_editable`` feature (context key) from filters
(togglable on/off), the list view would not correctly clean up
(destroy) the form when switching from editable with a started editor
(and form) to non-editable, leading to form fields (in this case m2o
fields being in an incorrect state and trying to query a non-started
autocompletion widget on every click anywhere blowing it up).

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

bzr revid: xmo@openerp.com-20130225135629-8k338gw0arsi6m6j
2013-02-25 14:56:29 +01:00
Xavier Morel 021086d5a8 [FIX] Search view's drawer closing unexpectedly when using the date widget
jquery-ui's date picker (at least in currently used version) lets
*some* (but not all) clicks go through. The date picker dialog is
added directly to the page body so capturing clicks in a parent widget
doesn't work, and these "stray" bubbling clicks will trigger the
global bus's "click" event.

Add a capturing (and stopPropagation-ing) of these clicks in our
wrapper to jquery-ui's datepicker to avoid the issue.

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

bzr revid: xmo@openerp.com-20130225110614-p7dmmjd41xdxescy
2013-02-25 12:06:14 +01:00
Olivier Dony 932a63ce36 [FIX] db manager: allow creating databases with a leading digit - useful for naming version-specific databases
bzr revid: odo@openerp.com-20130225102350-u6nywl3vmtopfuaz
2013-02-25 11:23:50 +01:00
Xavier Morel 1e9b03ea99 [FIX] listview: bug in binary column download link rendering
bzr revid: xmo@openerp.com-20130222093621-crdgl79nl93zejvh
2013-02-22 10:36:21 +01:00
Fabien Meghazi 73b99d0932 [FIX] IE9: traceback in Reporting when changing type of view
lp bug: https://launchpad.net/bugs/1091715 fixed

bzr revid: fme@openerp.com-20130221221025-dnqws0lwq0bvwi4o
2013-02-21 23:10:25 +01:00
Fabien Meghazi 94b1c039ce [MERGE] [FIX] Unsupported self closing tags shall not reach FormRenderingEngine
lp bug: https://launchpad.net/bugs/1130650 fixed

bzr revid: fme@openerp.com-20130221183839-wkgla6ldxx96sxi2
2013-02-21 19:38:39 +01:00
Fabien Meghazi 3467d27261 [FIX] Unsupported self closing tags shall not reach FormRenderingEngine
bzr revid: fme@openerp.com-20130221172327-0dydqn548av5vkqo
2013-02-21 18:23:27 +01:00
Olivier Dony 620c7359e8 [FIX] web: avoid translating technical URL in qweb template
lp bug: https://launchpad.net/bugs/1099449 fixed

bzr revid: odo@openerp.com-20130221131006-l8aerp2vg0rqf43d
2013-02-21 14:10:06 +01:00
Vidhin Mehta bbb2900f9a [FIX]
bzr revid: vme@tinyerp.com-20130221094853-24ufyiis0bmqlj41
2013-02-21 15:18:53 +05:30
Vidhin Mehta 1cfbfeb061 [MERGE]7.0
bzr revid: vme@tinyerp.com-20130221094453-dupm500oez98cv13
2013-02-21 15:14:53 +05:30
Vidhin Mehta 5da4bd83b6 [IMP]use debounce to close on scroll.
bzr revid: vme@tinyerp.com-20130221093922-ofzreua1ua4nv0yd
2013-02-21 15:09:22 +05:30
Christophe Simonis 544c8f2dd7 [MERGE] correct hashchange check of current_state to do not coerce values. only push active_ids in state if relevant
bzr revid: chs@openerp.com-20130220174455-gsobu19naslo1h73
2013-02-20 18:44:55 +01:00
Fabien Meghazi f20c884cf5 [IMP] Custom filters: restore checkboxes and make them exclusive
bzr revid: fme@openerp.com-20130220163306-14xwsgvu8rw2ciny
2013-02-20 17:33:06 +01:00
Vidhin Mehta 4212725417 [FIX]select accurate element with use of 'child selector'.
bzr revid: vme@tinyerp.com-20130220132634-6ycdntomequypxfw
2013-02-20 18:56:34 +05:30
Vidhin Mehta ca912e0975 [MERGE]7.0
bzr revid: vme@tinyerp.com-20130220131956-hrnbak55i9qdpe4y
2013-02-20 18:49:56 +05:30
Fabien Meghazi ee4bc76f14 [IMP] Do not push active_ids in state if active_ids == [active_id]
bzr revid: fme@openerp.com-20130220091226-akczbmurjvn5jzjl
2013-02-20 10:12:26 +01:00
Fabien Meghazi 364ea001f9 [FIX] stringify states (patch from chs)
bzr revid: fme@openerp.com-20130220084437-cyb0pi8nw71bl5mx
2013-02-20 09:44:37 +01:00
Fabien Meghazi f559b97ce9 [FIX] Fixed mysterious bug about active_ids in state
This is a temporary fix, I need more time to check the issue.

bzr revid: fme@openerp.com-20130219181519-a1zdkr2y8a43dqgb
2013-02-19 19:15:19 +01:00
Fabien Meghazi 5c8bb9a089 [FIX] FormOpenPopup does not trigger on_button_cancel
bzr revid: fme@openerp.com-20130219143215-68izxr278eu77sn0
2013-02-19 15:32:15 +01:00
Fabien Meghazi ffab924c08 [FIX] FieldStatus does not re-render when view change
bzr revid: fme@openerp.com-20130219141645-3c1avqxnk23gcn1g
2013-02-19 15:16:45 +01:00
Mohammed Shekha 8d02a23ee9 [FIX]Fixed the issue of reload record affter callign exec_workflow for one2many dataset.
bzr revid: msh@openerp.com-20130219101940-uum7iqbvvhg619uk
2013-02-19 15:49:40 +05:30
Fabien Meghazi b68f13d892 [FIX] BufferedDataset ids should not be passed to on_changes
bzr revid: fme@openerp.com-20130218180732-ivdxvenc2flgl32p
2013-02-18 19:07:32 +01:00
Fabien Meghazi b9daa4d837 [MERGE] [FIX] Fixed TWSB (The White Square Bug)
lp bug: https://launchpad.net/bugs/1097219 fixed

bzr revid: fme@openerp.com-20130218133251-mskozjdbm0ry6uee
2013-02-18 14:32:51 +01:00
Fabien Meghazi 98a9bb5376 [FIX] ViewManagerAction's do_create_view() does not pipe _super's deferred.
bzr revid: fme@openerp.com-20130218114911-wpack9pfkr3pn0a2
2013-02-18 12:49:11 +01:00
Fabien Meghazi 1a1d413367 [FIX] Fixed layout
lp bug: https://launchpad.net/bugs/1097219 fixed

bzr revid: fme@openerp.com-20130218110802-1i6esihnb29f5nvh
2013-02-18 12:08:02 +01:00
Xavier Morel 6fe0dd8032 [FIX] prevent dragging click target images of m2o and datetime fields
can get slightly disturbing when missing a click and slightly dragging the image instead, possibly to the input (pasting its URL)

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

bzr revid: xmo@openerp.com-20130218104529-i0i8700v2mwxje4b
2013-02-18 11:45:29 +01:00
Xavier Morel e00db293d1 [IMP] move domain section and label to ExtendedSearchProposition.Field
Simplifies and linearizes control flow

bzr revid: xmo@openerp.com-20130214142952-e59q9aoz4ngx9iwb
2013-02-14 15:29:52 +01:00
Xavier Morel fcf4f4443c [FIX] wrong object accessed leading to incorrect show/hide of things
bzr revid: xmo@openerp.com-20130214142545-lbog33w0bzpn354q
2013-02-14 15:25:45 +01:00
Xavier Morel 195fef053e [ADD] re-introduce 'is set' and 'is not set' operators which were added to 6.1 but never ported to 7.0
lp bug: https://launchpad.net/bugs/1013528 fixed

bzr revid: xmo@openerp.com-20130214140637-rk46j7csu0i4an31
2013-02-14 15:06:37 +01:00
Xavier Morel ab816b74fb [FIX] correctly handle invisible or empty groups in total filters count computation
bzr revid: xmo@openerp.com-20130214075906-kg83zi0pan61au1d
2013-02-14 08:59:06 +01:00
Xavier Morel 9852c6ff1e [FIX] missing support for invisible fields and groups in new search view
lp bug: https://launchpad.net/bugs/1122183 fixed

bzr revid: xmo@openerp.com-20130214074302-rwm2hcmv9mpvp9dv
2013-02-14 08:43:02 +01:00
Fabien Meghazi aa6cd343e8 [IMP] Custom filters: make options 'share' and 'default' exclusive
bzr revid: fme@openerp.com-20130213152158-45qlqjh02h7ua2ur
2013-02-13 16:21:58 +01:00
Fabien Meghazi e19a972890 [FIX] Menu need action link's filter is overriden by default custom filters
bzr revid: fme@openerp.com-20130213143953-nb8dqi2n1neaivm2
2013-02-13 15:39:53 +01:00
Xavier Morel 2d87d908e2 [IMP] do not add empty filter groups to the drawer columns
bzr revid: xmo@openerp.com-20130213125606-ykbb2kg9wvfbs2ho
2013-02-13 13:56:06 +01:00
Xavier Morel dfb7493034 [FIX] add support for invisibility to fields (don't complete an invisible field)
bzr revid: xmo@openerp.com-20130213090108-h38emnwscgb5v1pu
2013-02-13 10:01:08 +01:00
Xavier Morel f690a9310c [IMP] prefix searchview tests for easy filtering
bzr revid: xmo@openerp.com-20130213072557-er5xl9xcj17mhuqe
2013-02-13 08:25:57 +01:00
Fabien Meghazi 47959a6889 [END] This is the end of the world
bzr revid: fme@openerp.com-20130212133025-544phlyp83gdabu6
2013-02-12 14:30:25 +01:00
Fabien Meghazi ef7978efde [FIX] support virtual ids
bzr revid: fme@openerp.com-20130212131852-xuq4otkb9ooloc9u
2013-02-12 14:18:52 +01:00
Fabien Meghazi 8d85375835 [IMP] Improved code and doc
bzr revid: fme@openerp.com-20130212115740-riqecuhb1zq22dkq
2013-02-12 12:57:40 +01:00
Fabien Meghazi 8d748498fb [FIX] active_ids list items should be numeric
bzr revid: fme@openerp.com-20130211144241-zvygwtgvsk17szo4
2013-02-11 15:42:41 +01:00
Fabien Meghazi cfcc0e2205 [FIX] use active_id in url states
bzr revid: fme@openerp.com-20130211141056-zjn7xy034r2331gp
2013-02-11 15:10:56 +01:00
Xavier Morel d225c56353 [FIX] typos
bzr revid: xmo@openerp.com-20130211112932-dge2jpftirclci2x
2013-02-11 12:29:32 +01:00
Christophe Matthieu 8aa483f5a1 [IMP] chrome.js: CrashManager.warning replace message by fault_code
bzr revid: chm@openerp.com-20130206152224-e32ww9hdb1mvwa2r
2013-02-06 16:22:24 +01:00
Christophe Matthieu 33ae77e803 [IMP] web usermenu: add Help link
bzr revid: chm@openerp.com-20130206150724-t4sul7d824z498v8
2013-02-06 16:07:24 +01:00
Fabien Meghazi e1726fa1ee [FIX] FormView#do_load_state() do not call @do_show() properly
bzr revid: fme@openerp.com-20130205170556-w9xxre6lmqny33xc
2013-02-05 18:05:56 +01:00
Fabien Meghazi 862882da33 [IMP] Also check the presence of active_ids
bzr revid: fme@openerp.com-20130205120950-f4lwe2ng3ktwr033
2013-02-05 13:09:50 +01:00
Fabien Meghazi 87368f7672 [FIX] When active_id is in context, disable search default custom filters
bzr revid: fme@openerp.com-20130205104326-rab6gx4w51hgjbkb
2013-02-05 11:43:26 +01:00
Fabien Meghazi c9f2a86be5 [FIX] Calendar popup form view_id is not honored. Default form view is used instead.
Added instance.web.ViewManager#get_view_id(view_type)
Fetch the title of the popup from the parent if it's a ViewManagerAction,
    otherwise, use the current's view title.

bzr revid: fme@openerp.com-20130204124348-p79drjm72vt2j2ty
2013-02-04 13:43:48 +01:00
Vijaykumar Baladaniya 5f23b55909 [FIX] passtrough_events name replace with passthrough_events.
bzr revid: vba@tinyerp.com-20130204084307-8qremz8qi1qcwhfe
2013-02-04 14:13:07 +05:30
Xavier Morel 0ad34228e2 [FIX] small issue with adding an attribute called 'id' to a backbone model
triggers backbone's thinking that the model is 'not new' and trying to sync it with a remote on e.g. removal

bzr revid: xmo@openerp.com-20130131135125-1x7czib7q0kafok8
2013-01-31 14:51:25 +01:00
Xavier Morel 69171aa805 [CHG] allow deselecting a custom filter by clicking on it again in the drawer
as asked in project.task:4837:

> Cannot uncheck a custom filter by clicking on it (it's possible on
> classic filters)

bzr revid: xmo@openerp.com-20130131112617-8vul65bb4lbfbfvk
2013-01-31 12:26:17 +01:00
niv-openerp 0272007aae [FIX] minor css fix
bzr revid: nicolas.vanhoren@openerp.com-20130131104804-2d7fo5iafvrhcklk
2013-01-31 11:48:04 +01:00
Xavier Morel b87102f22e [FIX] Inject user context in all domain and context evaluation
Custom keys from user context may be used in action contexts (not just
e.g. searchview filters). For instance, have a custom key
context_salesteam (in the user model) and an action defining some
search default as a function of the salesteam.

In that case, the action's context evaluation (view.js:~275) will blow
up.

Ensure that does not happen.

Note: eval_contexts already injects user_context in the reduction of
contexts to evaluate. It should be possible to alter the reduction
function to avoid having to inject instance.session.user_context
through pyeval.context(), maybe by _.extend-ing ``result_context``
into ``evaluation_context`` at the *top* of the reduction function
rather than at its bottom?

bzr revid: xmo@openerp.com-20130128130640-ksyvxvx6rlc4820n
2013-01-28 14:06:40 +01:00
Xavier Morel 8e21d2a847 [FIX] avoid storing new admin password in browser history on database creation, courtesy of Holger Brunn
bzr revid: xmo@openerp.com-20130125114331-yabvigl2qjscnzv5
2013-01-25 12:43:31 +01:00
Holger Brunn e02e396925 [IMP] set _push_me: false to fix lp:1091759
bzr revid: hbrunn@therp.nl-20130125110159-b43murb3dzbp9oib
2013-01-25 12:01:59 +01:00
Xavier Morel 4c46187ebf [IMP] set_content_full_screen code, avoid duplications
bzr revid: xmo@openerp.com-20130125100547-ujawyg4ohnrofl3u
2013-01-25 11:05:47 +01:00
Xavier Morel ac550e4239 [FIX] aggregates not being displayed in list o2ms
A template alteration previously used to remove the bottom pager of
listviews in o2ms now matches aggregate field displays.

bzr revid: xmo@openerp.com-20130125085739-isro8w216gpa038a
2013-01-25 09:57:39 +01:00
Xavier Morel e761ab7454 [FIX] domain returned by onchange
The "new" form engine performs a bunch of conversions on the form arch
from json to xml to text to json again (or something), thus the
``node`` attribute on form fields might be json but it's got no more
relation to the form's own arch (and the fields defined therein).

Meanwhile the domains processing for onchange recursively traversed
the *form*'s arch trying to find a node matching the key it had to set
its @domain to what it was given. It long predates the "new" form
engine, and since it alters the *original* arch not a copy the "new"
form engine broke it. And since that's untested, it's been broken for
a bunch of months (probably).

Fix by looking up the field according to the domain key (in
form.fields), and setting the domain in the node of the field, rather
than the node of the form's arch.

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

bzr revid: xmo@openerp.com-20130124144018-0g3sl2nej2aj6syp
2013-01-24 15:40:18 +01:00
Mohammed Shekha 54f58c82ae [FIX]Fixed the issue of sum aggregates not displayed on one2many footer.
bzr revid: msh@openerp.com-20130124120727-hhlrzr7qzk242lw0
2013-01-24 17:37:27 +05:30
Vishmita 6c460544cc [Fix]Improve code
bzr revid: vja@tinyerp.com-20130123105838-kd4isg7vcxcfk0su
2013-01-23 16:28:38 +05:30
Xavier Morel 8192977f3c [IMP] add confirmation message when removing a global custom filter
lp bug: https://launchpad.net/bugs/1103410 fixed

bzr revid: xmo@openerp.com-20130123105320-pbmeqoudpb48s87m
2013-01-23 11:53:20 +01:00
Xavier Morel ca038643b9 [FIX] rounding of float_time to the next hour should bump the hour, nor display 60mn
bzr revid: xmo@openerp.com-20130123101557-v63oxes2emrwcz19
2013-01-23 11:15:57 +01:00
Anand Patel (OpenERP) be9f4b43b7 [IMP] Added some test cases for the float_time
bzr revid: pan@tinyerp.com-20130123093155-v9rrnb38hxugv1bt
2013-01-23 15:01:55 +05:30
Xavier Morel d5ab8a4241 [IMP] IE9 supports window.getSelection
remove IE <9 usage of document.selection as we don't support these browsers anyway

bzr revid: xmo@openerp.com-20130123092946-wgtvfz3493l7p7cw
2013-01-23 10:29:46 +01:00
Xavier Morel 01ee5f60ee [FIX] pasting HTML content into the text box, then trying to navigate/alter it
Navigation implementation can only deal with straight text (and
asserts that), if HTML is pasted in a search input
InputView#getSelection will throw errors and refuse to act.

Clean up input content after a paste event, to ensure only plain text
is present so it can be navigated.

Don't forget to correctly re-set the cursor at the end of the input
data, otherwise the user will face various deep DOM errors when trying
to move around the input with the arrow keys (which he would usually
be able to do after a paste).

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

bzr revid: xmo@openerp.com-20130123091600-nd4rwqpin6qj8ult
2013-01-23 10:16:00 +01:00
Xavier Morel e5ad5f8e10 [FIX] move filter added at xmo@openerp.com-20130122135139-s3ui9hb44xd7afba to after map
If the filter is executed first, the "iteratee" is transformed to an
array (from an object) and the "key" is lost, replaced by the indices
to the array (and thus the name of the fields end up as "0", "1", "2",
... instead of their actual logical names)

bzr revid: xmo@openerp.com-20130123084422-tbl05l5j72sx528n
2013-01-23 09:44:22 +01:00
Vishmita 227758417a [FIX] correctly remove existing needaction counter on reload
bzr revid: xmo@openerp.com-20130122143842-zv3tpd36glphrutu
2013-01-22 15:38:42 +01:00
Xavier Morel f0e8441130 [FIX] correctly pass context to fields_get of advanced search so fields are correctly translated & localized
bzr revid: xmo@openerp.com-20130122141657-sabov4ht6xp3so1a
2013-01-22 15:16:57 +01:00
Xavier Morel 605c171e5b [IMP] search view: don't list deprecated fields in advanced search
bzr revid: xmo@openerp.com-20130122135139-s3ui9hb44xd7afba
2013-01-22 14:51:39 +01:00
Vishmita 93a1d36d90 [FIX]Pager doesn't disappear when we create a new record from o2m/m2m popup
lp bug: https://launchpad.net/bugs/1096830 fixed

bzr revid: vja@tinyerp.com-20130122133956-tv425if9oe3zqsr6
2013-01-22 19:09:56 +05:30
Bhumi Thakkar (Open ERP) 85579d5022 [FIX] Advanced search does not support local language.--fixes:lp1099833
bzr revid: bth@tinyerp.com-20130122121332-9iw75g5ddunzam58
2013-01-22 17:43:32 +05:30
Bhumi Thakkar (Open ERP) ef1e8f54dd [FIX] Date Picker is not translated into local language.--fixes:lp1101072
bzr revid: bth@tinyerp.com-20130122114932-o2jd05u247jlv02c
2013-01-22 17:19:32 +05:30
Xavier Morel 71cf3407f0 [FIX] menu items spilling out of secondary menu and into content area
bzr revid: xmo@openerp.com-20130122112040-4xnqzsz5c61upmji
2013-01-22 12:20:40 +01:00
Bhumi Thakkar (Open ERP) d3fc2b3602 [FIX] onchange call after m2o returns after/with changes.--fixes:lp577376
bzr revid: bth@tinyerp.com-20130122103358-csduy0gtwi58kp76
2013-01-22 16:03:58 +05:30
Bhumi Thakkar (Open ERP) 71b2aecf50 [FIX] Add filter for deprecated in ExtendedSearchProposition.
bzr revid: bth@tinyerp.com-20130122102857-86sbqqvlldxb2zhc
2013-01-22 15:58:57 +05:30
Vidhin Mehta bf8cb150ba [FIX]Auto complete issue of many2one.
bzr revid: vme@tinyerp.com-20130122070310-pi2wfcdota1kn9kg
2013-01-22 12:33:10 +05:30
Anand Patel (OpenERP) 7ae392d316 [FIX][7.0]Fixed float_time widget show wrong format of time.
bzr revid: pan@tinyerp.com-20130122060420-7cho7hewmj80mb16
2013-01-22 11:34:20 +05:30
Vidhin Mehta 0709ca97e8 [FIX]View not redering @ proper position.
bzr revid: vme@tinyerp.com-20130122055856-iby255hebyxb72rs
2013-01-22 11:28:56 +05:30
Bhumi Thakkar (Open ERP) 515e6f5cf0 [FIX] hit box of menu items is large and can sometimes overflow the page content on its right.--fixes:lp1098574
bzr revid: bth@tinyerp.com-20130115102141-wnu6rd323laxwhco
2013-01-15 15:51:41 +05:30
Fabien Meghazi 31237c0b58 [ADD] Backward compatibility layer for 7.0
bzr revid: fme@openerp.com-20130114135145-z51tp204vybz0dr3
2013-01-14 14:51:45 +01:00
Fabien Meghazi 8c1f9dc490 [FIX] Fix one custom filter bug (only scratch the surface of this problem)
bzr revid: fme@openerp.com-20130114093014-5sv1sfk5u2uemwlr
2013-01-14 10:30:14 +01:00
vta vta@openerp.com 56e97a98bb [FIX] Fixed issue with testing context in eval.js, due to a previous change in get_session_info (context -> user_context)
bzr revid: vta@openerp.com-20130111094314-odrm9enzrmcrtcu6
2013-01-11 10:43:14 +01:00
Fabien Meghazi ca454bcf94 [FIX] html widget: fix cleditor width when the field was invisible before becoming editable
lp bug: https://launchpad.net/bugs/1097638 fixed

bzr revid: odo@openerp.com-20130109164626-1a16vqmwc366n0xf
2013-01-09 17:46:26 +01:00
Frédéric van der Essen 16e1ca6880 [IMP] css: made the fallback color for gradients a mix of the endcolors instead of simply the start. Why? Because it's a better fallback of course.
bzr revid: fva@openerp.com-20130109131848-z3t8ad2qadypcduv
2013-01-09 14:18:48 +01:00
niv-openerp b8180f4c09 [FIX] problem when multiple instances of the web client run in tabs and we disconnect from one tab, now displays a better error message
lp bug: https://launchpad.net/bugs/1093671 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130108164104-7wv2yxlrczqmicvb
2013-01-08 17:41:04 +01:00
Fabien Meghazi 5f7a8b66e0 [FIX] Empty binary fields does not hide filename placeholder
lp bug: https://launchpad.net/bugs/1054111 fixed

bzr revid: fme@openerp.com-20130107161807-fvzdgayqhf8hx92q
2013-01-07 17:18:07 +01:00
Christophe Matthieu 61455bb8b0 [IMP] menu css, don't display active color and need action hover the content document
bzr revid: chm@openerp.com-20130107133848-50ei3eioobx3z0a3
2013-01-07 14:38:48 +01:00
Christophe Matthieu 3be31fa63d [MERGE] trunk-bug-1095257-vja: In IE9,create database page should display in center.
bzr revid: chm@openerp.com-20130104154424-joyb3r3hfa2twslw
2013-01-04 16:44:24 +01:00
Christophe Matthieu a1e39f8d75 [FIX] py.js: add the name of value to display error when debugging.
bzr revid: chm@openerp.com-20130104140000-22t1wj95jp7ro2ho
2013-01-04 15:00:00 +01:00
niv-openerp 3ef0096b5b [FIX] css problem in list view: list arrow appearing when we sort could appear on the text
lp bug: https://launchpad.net/bugs/1095269 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103174214-zezyx4ieidugnl5q
2013-01-03 18:42:14 +01:00
niv-openerp 4f07a4c7af [IMP] desactivate sorting in list view with function fields with store=false
lp bug: https://launchpad.net/bugs/1095664 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103144651-qcxmp0bphkylp9s2
2013-01-03 15:46:51 +01:00
niv-openerp 5469b4709b [FIX] exception when logging in the web client and the server was launched using --no-database-list
lp bug: https://launchpad.net/bugs/1094179 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130103141945-11afh6khtpa7tapm
2013-01-03 15:19:45 +01:00
Christophe Matthieu 11db0f89fe [MERGE] trunk-bug-1094839-vja: in listview, sorting arrow disappearing from column header when the user change of the view and return on listview.
bzr revid: chm@openerp.com-20130103092823-jbjhh686vix52ih6
2013-01-03 10:28:23 +01:00
niv-openerp e11e108bfb [FIX] problem when a menu item is too long, fixed with css
lp bug: https://launchpad.net/bugs/1094274 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130102125344-eet63kr1z9llfx8a
2013-01-02 13:53:44 +01:00
Christophe Matthieu 86c631dcd3 [MERGE] trunk-bug-1092097-vja: Timezone mismatch icon not displayed properly in IE9.
bzr revid: chm@openerp.com-20130102105940-d5r0mhrtj257nmju
2013-01-02 11:59:40 +01:00
niv-openerp 5cafcf5570 [FIX] potential problem with empty save message in form view in some cases and access rights
lp bug: https://launchpad.net/bugs/1093781 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130102102835-a1uibudlohbsz9x8
2013-01-02 11:28:35 +01:00
vta vta@openerp.com cc2e7a55bb [FIX] Set Login params.token. Added action_notify and action_warn
bzr revid: vta@openerp.com-20130102094608-tgqdgk31lpsbx05s
2013-01-02 10:46:08 +01:00
Michael Telahun Makonnen 35223210cc [ADD] Amharic (Ethiopia) date/time localization for DateJS, courtesy of Michael Telahun Makonnen.
This is necessary in order for the web client to work properly when
the user's locale is set to Amharic. Otherwise datejs will crash and
the web client's loading will fail to complete.

bzr revid: xmo@openerp.com-20130116100411-ew1383st1hr8yv3l
2013-01-16 11:04:11 +01:00
Niko 15f98fa004 [IMP] change placeholder inclusion logic
bzr revid: nwi@openerp.com-20121228094256-h7kxphh5lexb3ff5
2012-12-28 10:42:56 +01:00
Niko af7eb0cc06 [IE] bug 1092846
bzr revid: nwi@openerp.com-20121227161837-7qzx93roddfrtlhb
2012-12-27 17:18:37 +01:00
Niko cde9308d02 [IE] bug 1092869
bzr revid: nwi@openerp.com-20121227133339-to3uxdcuudc5ykyz
2012-12-27 14:33:39 +01:00
Antony Lesuisse 61bff67159 [MERGE] get_session_info cleanup
bzr revid: al@openerp.com-20121227100753-q1jyl37k09ku2px2
2012-12-27 11:07:53 +01:00
vta vta@openerp.com a49e82615d [FIX] Spacing
bzr revid: vta@openerp.com-20121227074438-skr59rph2j908tdc
2012-12-27 08:44:38 +01:00
vta vta@openerp.com 39e5509e6c [FIX] Fix not working code, and some cleaning proposed by AL
bzr revid: vta@openerp.com-20121226181833-kih09glellxisl9p
2012-12-26 19:18:33 +01:00
Thibault Delavallée 6de27635d6 [IMP] cleditor: stop using custom font-size, font-family.
bzr revid: tde@openerp.com-20121226161307-nuud3r2omhi1sf3v
2012-12-26 17:13:07 +01:00
Christophe Matthieu fdfe8e04f8 [MERGE] fix view_form: m2m_tags: Overwrite onSetInputData to reset suggestions if input is empty for the last selection don't stay persistent.
bzr revid: chm@openerp.com-20121221140236-sbnsh0m6laqnxegd
2012-12-21 15:02:36 +01:00
Olivier Dony 407e6e66e6 [FIX] English review: improve view selector tooltips + make translatable
bzr revid: odo@openerp.com-20121221113657-omenasuur2bqj7qy
2012-12-21 12:36:57 +01:00
Fabien Pinckaers a109f7dc77 [IMP] min-width for many2many tags in editable lists
bzr revid: fp@tinyerp.com-20121220183756-x6h3lhpkco25flik
2012-12-20 19:37:56 +01:00
niv-openerp d69d4c313f [REVERT] commit 3645
bzr revid: nicolas.vanhoren@openerp.com-20121220152925-xi4lv0aapsu7za8w
2012-12-20 16:29:25 +01:00
Fabien Meghazi 1b52047191 [IMP] Move oe_application's height from full to base
bzr revid: fme@openerp.com-20121220151426-pw5qvnnikfyav2mh
2012-12-20 16:14:26 +01:00
vta vta@openerp.com 948d566403 [MERGE] Improvement on m2obutton widget
bzr revid: vta@openerp.com-20121220150716-a8w94s74x9ejqch5
2012-12-20 16:07:16 +01:00
niv-openerp df6001330f [IMP] changed height to min-height in body
bzr revid: nicolas.vanhoren@openerp.com-20121220144922-6qubjrdwjhi90wpm
2012-12-20 15:49:22 +01:00
Fabien Meghazi 7ad60256b7 [MERGE] nwi css improvements
bzr revid: fme@openerp.com-20121220132552-onlkvt50qk0al7t9
2012-12-20 14:25:52 +01:00
Niko 9a2ea2fc98 [MERGE] with trunk
bzr revid: nwi@openerp.com-20121220111536-z8d07d11g9z2ziyv
2012-12-20 12:15:36 +01:00
Niko c4e768b430 [IE] Change css rules
bzr revid: nwi@openerp.com-20121220111328-dxwuet3ir6fdzkw1
2012-12-20 12:13:28 +01:00