Commit Graph
527 Commits
Author SHA1 Message Date
Jiten (OpenERP) 417cae1645 [Merge] Merge from openerp-web
bzr revid: bth@tinyerp.com-20111020062457-h4v2ud105ver5u5y
bzr revid: jra@tinyerp.com-20111025061327-v676oxmsx3xz66s3
2011-10-25 11:43:27 +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
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
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
Turkesh Patel (Open ERP) d049a25fa5 [FIX] Fixed the issue of buttons 'First', '<', '>', 'Last' would be nice at the bottom, too
lp bug: https://launchpad.net/bugs/878106 fixed

bzr revid: tpa@tinyerp.com-20111021065103-slbb7n124cuyvwhm
2011-10-21 12:21:03 +05:30
Fabien Meghazi faafa77c46 [REM] Removed FormDialog#load_id(). Use FormDialog#select_id() instead
bzr revid: fme@openerp.com-20111020163008-8qy874po2lgedxay
2011-10-20 18:30:08 +02:00
Fabien Meghazi 69d36a02ca [FIX] Fix bug for Internet Explorer 3.0
In fact IE<9

bzr revid: fme@openerp.com-20111020162255-5duca37zd18by343
2011-10-20 18:22:55 +02:00
Fabien Meghazi 688cd2730c [ADD] Added DataSet#select_id()
bzr revid: fme@openerp.com-20111020162022-l9wifgvi6qvjb5a2
2011-10-20 18:20:22 +02:00
Xavier Morel e1e7cadede [FIX] cookies handling in openerp Session, js-side
bzr revid: xmo@openerp.com-20111020150540-ms0sdzd5qi6pz38o
2011-10-20 17:05:40 +02:00
RavishchanraMurari (Open ERP) c507d1ef7e company_id_in_multi_company
bzr revid: rmu@tinyerp.com-20111020115146-p0ai3x3q0u48390k
2011-10-20 17:21:46 +05:30
Fabien Meghazi b4cb0ae477 [IMP] QWeb2: do not swallow stack trace with try,catch in debug mode
bzr revid: fme@openerp.com-20111020104218-q0qe91v99hz8a4yq
2011-10-20 12:42:18 +02:00
Fabien Meghazi 278955b207 [ADD] Web client now support template translations
bzr revid: fme@openerp.com-20111020091619-1i2nhopdgszsy48q
2011-10-20 11:16:19 +02:00
Fabien Meghazi 8e34b97b09 [ADD] Add format_text_node callback in qweb instance. Will be used for translations
bzr revid: fme@openerp.com-20111020091527-wxnw5kfpucvlncif
2011-10-20 11:15:27 +02:00
Yogesh (OpenERP) 70d9e3b7ed [FIX] Set value in this.value instead of this.tmp_value in many2onereadonly widget.
bzr revid: ysa@tinyerp.com-20111020052016-8exqlj462rahvyfe
2011-10-20 10:50:16 +05:30
Yogesh (OpenERP) fa58e480f9 [MERGE] Merge with trunk upto revision no 1307.
bzr revid: ysa@tinyerp.com-20111020050837-54aixsiw9p2lhbhv
2011-10-20 10:38:37 +05:30
Fabien Meghazi 2ed32d7cf6 [FIX] Datetime wodget does not correctly parse date when passing value to jQuery ui date picker
lp bug: https://launchpad.net/bugs/878206 fixed

bzr revid: fme@openerp.com-20111019160709-dwdpcz8hpy34k6d4
2011-10-19 18:07:09 +02:00
Fabien Meghazi a958ff049f [REM] Removed a console.log
bzr revid: fme@openerp.com-20111019160612-w0ih265m5no00khg
2011-10-19 18:06:12 +02:00
Xavier Morel 7a5e3da9ad [FIX] incorrect management of dataset indexes leading to always selecting a record on the listview's first page when clicking on a record to open its form (even when at the 5th page)
lp bug: https://launchpad.net/bugs/878103 fixed

bzr revid: xmo@openerp.com-20111019151703-dxvzdrn2mg75y8fd
2011-10-19 17:17:03 +02:00
Fabien Meghazi 062449472f [FIX] In paginated list view, clicking on a row on page 2+ goes to wrong record in form view
bzr revid: fme@openerp.com-20111019144507-j5oec235bw79gw73
2011-10-19 16:45:07 +02:00
Xavier Morel f88c553d45 [FIX] completely broken readonly URL form field
bzr revid: xmo@openerp.com-20111019140709-hj86g28izgnb9imy
2011-10-19 16:07:09 +02:00
Xavier Morel 92d739b703 [FIX] incomplete fields completion and auto-matching (to columns) during import
bzr revid: xmo@openerp.com-20111019135102-9axx7kme3v29dato
2011-10-19 15:51:02 +02:00
Xavier Morel c3661c0827 [FIX] failure to auto-match 'inner' fields of o2m records when importing
lp bug: https://launchpad.net/bugs/878005 fixed

bzr revid: xmo@openerp.com-20111019134936-xfo9zt1ivgocbffr
2011-10-19 15:49:36 +02:00
Xavier Morel 75c4b66589 [ADD] act_url support
bzr revid: xmo@openerp.com-20111019125604-e290rwdpme44wqc8
2011-10-19 14:56:04 +02:00
Yogesh (OpenERP) fecb2ee680 [FIX] call super method in m2oreadonly widget.
lp bug: https://launchpad.net/bugs/878033 fixed

bzr revid: ysa@tinyerp.com-20111019125034-2n7d9yrp53la4zdc
2011-10-19 18:20:34 +05:30
Xavier Morel efd0674429 [FIX] always add external ids to the list of importable fields
lp bug: https://launchpad.net/bugs/878005 fixed

bzr revid: xmo@openerp.com-20111019103822-lx0gldsmxbqb87dr
2011-10-19 12:38:22 +02:00
niv-openerp 9d9476b981 [fix] potential problem in contexts an button actions
bzr revid: nicolas.vanhoren@openerp.com-20111019095612-y7lw6o2lbfngdga5
2011-10-19 11:56:12 +02:00