Commit Graph
10240 Commits
Author SHA1 Message Date
niv-openerp dd514b567d [imp] made m2m support readonly
bzr revid: nicolas.vanhoren@openerp.com-20111025162031-wsjaebu713nht3i1
2011-10-25 18:20:31 +02:00
Xavier Morel 59c9d34417 [ADD] title to all viewmanager variants
Uses the string of the current view arch by default, overridden with action name by ViewManagerAction.

Mostly of use for/with o2m and m2m fields

bzr revid: xmo@openerp.com-20111025143738-yugscol5kabg8whv
2011-10-25 16:37:38 +02:00
Xavier Morel 69f909a9a1 [REN] 'New' button of ListView to 'Create'
bzr revid: xmo@openerp.com-20111025132412-4vx57uf1vipcyfkq
2011-10-25 15:24:12 +02:00
Xavier Morel 7451d66e4b [ADD] search: prefix to the view title when the current view is searchable:
bzr revid: xmo@openerp.com-20111025132326-83i1t2adn4o5vsjo
2011-10-25 15:23:26 +02:00
Kunal Chavda (OpenERP) b14b4c956c [IMP]Improved code for getting value of selection box x in edit node.
bzr revid: kch@tinyerp.com-20111025131312-jgkdm51vblkvag9s
2011-10-25 18:43:12 +05:30
niv-openerp a34f06dd4c [imp] changed default mode of o2m to tree (was tree,form)
bzr revid: nicolas.vanhoren@openerp.com-20111025124251-uy67cprw499wcb7c
2011-10-25 14:42:51 +02:00
Vidhin Mehta (OpenERP) c17c8a0bd1 [IMP]merge with main branch of view editor.
bzr revid: vme@tinyerp.com-20111025112548-eakr7fio6diovn2m
2011-10-25 16:55:48 +05:30
Vidhin Mehta (OpenERP) 1ee677eadb [IMP]implement save and move functionality with all type of views and tag.
bzr revid: vme@tinyerp.com-20111025111012-o991yy8rm666yk91
2011-10-25 16:40:12 +05:30
Xavier Morel e35686ca93 [ADD] global select/unselect toggle on lists
bzr revid: xmo@openerp.com-20111025105925-7ghxlljq6ugupxx5
2011-10-25 12:59:25 +02:00
Christophe Simonis 66a99fd118 [FIX] web: add missing file
bzr revid: chs@openerp.com-20111025095016-4ebswa44be2h4cmd
2011-10-25 11:50:16 +02:00
Xavier Morel b6a0874f4c [FIX] disgusting hack to skip around race condition
When clicking on an action button, form view first saves then executes
the action. In doing so, it causes the o2m field to call
ListView#reload_content twice without waiting for the reloading to
end, generating a race condition in ListView.List#render_dataset.

As a result, the read_slice callback fills the list twice (once for
each #reload_content call), resulting in everything being duplicated.

Clear the content of the records collection before adding stuff.

note: collections should dedup on ids.

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

bzr revid: xmo@openerp.com-20111025085112-q38q8m0k2mopwadg
2011-10-25 10:51:12 +02:00
Yogesh (OpenERP) 55ad46220d [IMP] improve css and view.
bzr revid: ysa@tinyerp.com-20111025084951-0ty7vt1kfw0nrykr
2011-10-25 14:19:51 +05:30
Fabien Meghazi 44344a21b2 [ADD] Added jQuery.MD5
bzr revid: fme@openerp.com-20111025083648-x5nd1mv7z7nee7cl
2011-10-25 10:36:48 +02:00
Xavier Morel ba2f06a2ac [ADD] missing deferred propagation in ListView.reload_content
bzr revid: xmo@openerp.com-20111025070626-pxxp6virhhomb7kl
2011-10-25 09:06:26 +02:00
Yogesh (OpenERP) 96339d7160 [FIX]
bzr revid: ysa@tinyerp.com-20111025064323-ds0o146bi1r83kd5
2011-10-25 12:13:23 +05:30
kbh fa94cf7578 [IMP] Remove unnecessary code in checkbutton select all/none in list view.
bzr revid: kbh@bde-desktop-20111025062429-dvx4x0h1caqwg21i
2011-10-25 11:54:29 +05:30
kbh 276cff1807 [IMP] Remove unnecessary code in checkbutton select all/none in list view.
bzr revid: kbh@bde-desktop-20111025060142-47y025oqteocdgj3
2011-10-25 11:31:42 +05:30
Yogesh (OpenERP) f1f48e69f0 [MERGE] Merge with trunk upto revision no 1349.
bzr revid: ysa@tinyerp.com-20111017051054-5l3pjg5sytilkjwg
bzr revid: ysa@tinyerp.com-20111018045137-msfhlnn9lofb26xv
bzr revid: ysa@tinyerp.com-20111019050434-b2uyjsget3ezfmpp
bzr revid: ysa@tinyerp.com-20111020045022-drhcz2yd62can1sy
bzr revid: ysa@tinyerp.com-20111021044543-1b1v2m4t32rifd33
bzr revid: ysa@tinyerp.com-20111024050516-2hasbf5q4v1j64kk
bzr revid: ysa@tinyerp.com-20111024130602-iixh5nvuio1nhs7x
bzr revid: ysa@tinyerp.com-20111025050237-xvf583083lg1hrrj
2011-10-25 10:32:37 +05:30
Antony Lesuisse f097e140b8 [IMP] try session instead of openerp,db and we would rename Session into Connection
bzr revid: al@openerp.com-20111024225431-g9eaqophnw3k8hh4
2011-10-25 00:54:31 +02:00
Xavier Morel d9c03065fd [FIX] handling of invisible attribute in search view
bzr revid: xmo@openerp.com-20111024152612-3mh7nj8k8g5gcsp9
2011-10-24 17:26:12 +02:00
niv-openerp 6cb7f2b6f9 [imp] m2o now supports readonly mode
bzr revid: nicolas.vanhoren@openerp.com-20111024152056-2nfx7zk4kc9py17k
2011-10-24 17:20:56 +02:00
Xavier Morel 19bb1dda1a [IMP] use empty box/check mark for page boolean fields, instead of cross vs check mark
bzr revid: xmo@openerp.com-20111024152013-nhi8kwra46se0yva
2011-10-24 17:20:13 +02:00
Xavier Morel 84a383d5aa [IMP] make notebooks in page view identical to those of normal form view
as requested by fp

bzr revid: xmo@openerp.com-20111024151158-7hqox4k6xrjujxnb
2011-10-24 17:11:58 +02:00
niv-openerp a617e3bacc [fix] small problem with the context menu of m2o when there is not item selected
bzr revid: nicolas.vanhoren@openerp.com-20111024151039-k9jlntcj3n56h13d
2011-10-24 17:10:39 +02:00
Xavier Morel 06344150eb [FIX] automatically open options box if the file fails to parse entirely
bzr revid: xmo@openerp.com-20111024142744-zeal912gqf9bvrrp
2011-10-24 16:27:44 +02:00
Xavier Morel cd59e5e6fb [ADD] open/close arrow next to import options
bzr revid: xmo@openerp.com-20111024141737-bk2rg08wvll1hgno
2011-10-24 16:17:37 +02:00
Xavier Morel b45b7ad22c [IMP] import: only show second step once file has been uploaded
bzr revid: xmo@openerp.com-20111024140658-8t9csv9i6gd30luj
2011-10-24 16:06:58 +02:00
Xavier Morel a8b81ed575 [ADD] dropdown arrow next to import autocompletes
bzr revid: xmo@openerp.com-20111024135521-aikh791r9j94moal
2011-10-24 15:55:21 +02:00
Xavier Morel ce45893633 [FIX] Display 'don't import' placeholder when no value selected
bzr revid: xmo@openerp.com-20111024134413-kgcgemdzquwtn0ns
2011-10-24 15:44:13 +02:00
kbh 3e20652e55 [IMP] Fixed the issue of checkbutton select all/none in tree view.
bzr revid: kbh@bde-desktop-20111024132959-y9b3scfye91nut1c
2011-10-24 18:59:59 +05:30
Kunal Chavda (OpenERP) 1e27353ed7 [MERGE]merge main view editor branch upto 890 revision.
bzr revid: kch@tinyerp.com-20111024131218-p6liwm82irnd3q4c
2011-10-24 18:42:18 +05:30
Kunal Chavda (OpenERP) 59f3ab077f [IMP]Improved code for edit node by setting its value.
bzr revid: kch@tinyerp.com-20111024125912-m9w3v9bnikurtlxf
2011-10-24 18:29:12 +05:30
RavishchanraMurari (Open ERP) 1945d19d15 mulit_company_in group_by
bzr revid: rmu@tinyerp.com-20111024121415-wkjyjzl6ydqz3t7o
2011-10-24 17:44:15 +05:30
RavishchanraMurari (Open ERP) 4871ed069c merge_web_trunk
bzr revid: rmu@tinyerp.com-20111024121059-cu4z9cfx5jy9b65y
2011-10-24 17:40:59 +05:30
Fabien Meghazi 62c52bf0c2 [FIX] Do not use node.parentElement (sorry all)
lp bug: https://launchpad.net/bugs/879797 fixed

bzr revid: fme@openerp.com-20111024092140-zvrtzmy9cppjyaj2
2011-10-24 11:21:40 +02:00
kbh 2ce07c97c6 [FIX] Fixed the issue of checkbutton select all/none in tree view.
lp bug: https://launchpad.net/bugs/878108 fixed

bzr revid: kbh@bde-desktop-20111024091730-dkzafro2f9e0k7tf
2011-10-24 14:47:30 +05:30
Christophe Simonis 80657b1c29 [IMP] support for jsonp
bzr revid: chs@openerp.com-20111024090727-f8w5wv08ugxnrpt8
2011-10-24 11:07:27 +02:00
Xavier Morel ec18460aa3 [ADD] pagination buttons at the bottom of the list view
bzr revid: xmo@openerp.com-20111024084853-kcq2dflsk36r6pby
2011-10-24 10:48:53 +02:00
niv-openerp cdac09e3dc [fix] css problem in database screen when we use a too high resolution
bzr revid: nicolas.vanhoren@openerp.com-20111024084005-et884p0px0l08ge8
2011-10-24 10:40:05 +02:00
Fabien Meghazi dbf2f1ddd2 [merge] [FIX] FieldBoolean: allow click event to propagate the value to the model in all cases
bzr revid: fme@openerp.com-20111024082338-anop000q7iy0o2mr
2011-10-24 10:23:38 +02:00
Fabien Meghazi 89a48aa9a5 [merge] [FIX] FieldBoolean: attribute should be ignore
bzr revid: fme@openerp.com-20111024080810-0ziia6wgo1hkamr6
2011-10-24 10:08:10 +02:00
Turkesh Patel (Open ERP) 940b1138ae [IMP] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
bzr revid: tpa@tinyerp.com-20111024060926-f47bcg8jkmx449z2
2011-10-24 11:39:26 +05:30
Xavier Morel 6ab3c4f5bd [FIX] FF 3.6 issue with slices causing o2m records to never appear
bzr revid: xmo@openerp.com-20111021131726-8seupwb2tlathh21
2011-10-21 15:17:26 +02:00
Olivier Dony fbd185024a [FIX] FieldBoolean: required attribute should be ignored
In order to match the model-level bevahior of boolean
fields, the required attribute should be ignored, as
a NULL value is automatically converted to False, and
considered valid. This contrasts with Char fields, but
is similar to Integer/Float fields, for which NULL values
are converted automatically to 0, and considered valid.

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

bzr revid: odo@openerp.com-20111021123510-a8tfpo8h3hqesdcd
2011-10-21 14:35:10 +02:00
Olivier Dony 6691f4108a [FIX] FieldBoolean: allow click event to propagate the value to the model in all cases
If not done, once a boolean field becomes invalid, it cannot
be made valid again in any way.
This seems to be coherent with the way change events are
handled in other widgets, like TextArea.

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

bzr revid: odo@openerp.com-20111021123043-enthjyo6g459kzt0
2011-10-21 14:30:43 +02:00
Xavier Morel 0e9d7318fc [FIX] float formatting in form view should take digits/@digits in account
lp bug: https://launchpad.net/bugs/879346 fixed

bzr revid: xmo@openerp.com-20111021122256-ld3gm8u3yt4kdn71
2011-10-21 14:22:56 +02:00
Xavier Morel 01897c8aa6 [FIX] completely broken float formatting when leading 0
Formatting converted the decimal part into an integer, dropping all
leading 0s and failing to reinsert them.

The conversion also lead to compounded errors, casting 0.1100 into
0.10999 (something like that).

Replace this by a straight float formatting via _.sprintf and the
slicing of the decimal part from the resulting string (Math.abs and %1
clamp the value to format to the [0, 1[ range, ensuring we just need
to slice off the first two characters). Also add some tests.

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

bzr revid: xmo@openerp.com-20111021120741-813im5bzup7vho1f
2011-10-21 14:07:41 +02:00
vishmita 0259bb7629 [FIX] FF issues in dataset limit.
lp bug: https://launchpad.net/bugs/876603 fixed

bzr revid: vja@vja-desktop-20111021120645-qx0en9plxihle0dj
2011-10-21 17:36:45 +05:30
Xavier Morel 4da3e5d354 [FIX] tests runner: changed file names
bzr revid: xmo@openerp.com-20111021115018-0qbmhwhcjmckco0w
2011-10-21 13:50:18 +02:00
Turkesh Patel (Open ERP) 75a57eed12 [IMP] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
bzr revid: tpa@tinyerp.com-20111021104441-k2lnnciqalsjii2j
2011-10-21 16:14:41 +05:30