Commit Graph
4852 Commits
Author SHA1 Message Date
Christophe Simonis c05abdc22d [FIX] corelib.js: use this instead of self
bzr revid: chs@openerp.com-20130528114400-jhjmk7hhg60o5871
2013-05-28 13:44:00 +02:00
Christophe Simonis d086a71131 [IMP] web: allow manifest files to contain remote js/css/qweb files
bzr revid: chs@openerp.com-20130528104352-b1qf79d6bdm8x2ec
2013-05-28 12:43:52 +02:00
dle@openerp.com c3537fa288 [FIX]web: radio widget name get using context
bzr revid: dle@openerp.com-20130516131416-d02avqqigh4w0tw7
2013-05-16 15:14:16 +02:00
Olivier Dony 6c3b3ea380 [MERGE] Forward-port of 7.0 bugfixes, up to rev. 3915
revision-id: odo@openerp.com-20130503102248-vjl1b8xju9uwfq97

bzr revid: odo@openerp.com-20130503102451-nynkrrpldrafyv3i
2013-05-03 12:24:51 +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
Olivier Dony ba5710962e [MERGE] Forward-port of 7.0 bugfixes, up to rev. 3912
revision-id: nicolas.vanhoren@openerp.com-20130430094843-9m1629m517vjtm1o

bzr revid: xmo@openerp.com-20130424102025-w33zyopm96r7q09p
bzr revid: odo@openerp.com-20130430103337-i9wuj8zf3h41h1ay
2013-04-30 12:33:37 +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
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 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
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
Christophe Matthieu ed46400a55 [IMP] view_form: widget radio: clean code
bzr revid: chm@openerp.com-20130415103041-8xogdacjx43v4cgk
2013-04-15 12:30:41 +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
Christophe Matthieu 5623719b1c [IMP] view_form: radio remove console log
bzr revid: chm@openerp.com-20130411093433-jmsrcxjw0xb6vp1m
2013-04-11 11:34:33 +02:00
Christophe Matthieu 9319356537 [IMP] view_form: radio css readonly
bzr revid: chm@openerp.com-20130411093319-q25a0fbybsjzwvfe
2013-04-11 11:33:19 +02:00
Christophe Matthieu 1d12a480c3 [MERGE] from trunk
bzr revid: chm@openerp.com-20130411092306-wypa8h3kh1v5q8qn
2013-04-11 11:23:06 +02:00
Christophe Matthieu 67452d290e [IMP] view_form: radio button: change style for required field
bzr revid: chm@openerp.com-20130411090654-ujf7fio6lnsppv90
2013-04-11 11:06:54 +02:00
Christophe Matthieu f2beb97168 [IMP] view_form: radio button, replace image by input type radio
bzr revid: chm@openerp.com-20130410160917-4meevyiff65adspx
2013-04-10 18:09:17 +02:00
Christophe Matthieu 60be4d49c5 [IMP] view_form: field radio, display only the selected text in read only mode
bzr revid: chm@openerp.com-20130410135643-szjzolgpbr73kpxh
2013-04-10 15:56:43 +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
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
Christophe Matthieu c756cb72b6 [FIX] view_form: radio button
bzr revid: chm@openerp.com-20130408171702-n7u1ingd33ke8bn4
2013-04-08 19:17:02 +02:00
Thibault Delavallée aaed0ccd43 [MERGE] Alias Visibility and Salesteams View. Improve the display of alias in form views and in empty list help messages. Improve the use, visibility and display of salesteams.
Add support for 'no result' help message in kanban views.
Add css for empty list in kanban views + generic display of mail aliases.

bzr revid: tde@openerp.com-20130405152131-4auticfaj24wbpqx
2013-04-05 17:21:31 +02:00
Thibault Delavallée 6bdd041c61 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130405110900-wkj2vnkdbyjoqol4
2013-04-05 13:09:00 +02:00
Fabien Meghazi 3a38f63ddd [IMP] Improved blockUI loading
bzr revid: fme@openerp.com-20130404234829-5gqglbrrvy940sqi
2013-04-05 01:48:29 +02:00
Fabien Meghazi 5318eca348 [REM] Removed 7.0 backward compatibility code
bzr revid: fme@openerp.com-20130404145729-wwt97ipxguj9dpa5
2013-04-04 16:57:29 +02:00
Thibault Delavallée 6e846120b3 [FIX] base.sass: fixed oe_read_only
bzr revid: tde@openerp.com-20130404115658-1rrfr3nhvc34l18u
2013-04-04 13:56:58 +02:00
Thibault Delavallée 431f447fa4 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130328112348-5gcg79ipve3rt4ut
bzr revid: tde@openerp.com-20130402081347-hgz8vg6af9l18vcx
bzr revid: tde@openerp.com-20130404090149-csbp0wnodbe126q7
bzr revid: tde@openerp.com-20130404103422-p533mmjn7btlhvcb
2013-04-04 12:34:22 +02:00
Thibault Delavallée b207801acc [FIX] base.sass: removed curly braket introduced at rev 3707 in base.sass that caused sass to css to crash. Does not seem to impact base.css that was already containing up to date css.
bzr revid: tde@openerp.com-20130404103015-czo5p9tgrsxpzjie
2013-04-04 12:30:15 +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
niv-openerp 52a35371b1 [FIX] javascript error that made the application crash when a on_change returns a warning
lp bug: https://launchpad.net/bugs/1161772 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130402092547-rid9bjbxv92ukqti
2013-04-02 11:25:47 +02:00
niv-openerp b4c2805012 [IMP] removed now useless code
bzr revid: nicolas.vanhoren@openerp.com-20130402090405-coachhx5x2bayakr
2013-04-02 11:04:05 +02:00
Christophe Matthieu dbd331ee6d [IMP] view_form: radio button for many2one read name_get
bzr revid: chm@openerp.com-20130329141038-uobzji7e8fxkq4rr
2013-03-29 15:10:38 +01:00
Christophe Matthieu 90f6175053 [IMP] view_form: radio button for many2one: check context
bzr revid: chm@openerp.com-20130329114449-93yghqpenjb1sd22
2013-03-29 12:44:49 +01:00
Christophe Matthieu e3d1e4fb44 [IMP] view_form: radio button for many2one
bzr revid: chm@openerp.com-20130329113827-me6d3ho6jrp525f0
2013-03-29 12:38:27 +01:00
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
Thibault Delavallée caff74a650 [CLEAN] Moved kanban specific css from base.sass to kanban.sass; regenerated css files accordingly.
bzr revid: tde@openerp.com-20130328112327-3jurcsvur7u4z2ry
2013-03-28 12:23:27 +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
Christophe Matthieu 7e895d90cb [MERGE] from trunk
bzr revid: chm@openerp.com-20130326090427-g78bigwi30rzbthd
2013-03-26 10:04:27 +01:00
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