Commit Graph

600 Commits

Author SHA1 Message Date
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
Launchpad Translations on behalf of openerp 28a5550cf6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111024051826-pkcngzrh3j8f3mg9
2011-10-24 05:18:26 +00:00
Xavier Morel 7de9c3ebd1 [FIX] report data should hold everything returned in the datas key from the report action, except for the ids. Not just form
lp bug: https://launchpad.net/bugs/879298 fixed

bzr revid: xmo@openerp.com-20111021143232-7nde37eqwh1h9n3r
2011-10-21 16:32:32 +02:00
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
Xavier Morel 8773fca3a8 [FIX] if an action descriptor does not have a view_type attribute, behave as if it was 'form'
bzr revid: xmo@openerp.com-20111021104312-0d21m130wkedabfn
2011-10-21 12:43:12 +02:00
Xavier Morel f3f582eaa0 [IMP] add debug keys to nonliteral domains and contexts, simplify keyscheck for validity (and make it look like python code)
bzr revid: xmo@openerp.com-20111021072240-82wly4vbkmmqn15z
2011-10-21 09:22:40 +02:00
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
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
Launchpad Translations on behalf of openerp 9a31b0a55e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111020044845-r1meytu6clgr7sqp
2011-10-20 04:48:45 +00:00
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
Launchpad Translations on behalf of openerp e3ffcd94d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019044609-vzsrc1a6nn17ahbo
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019055343-7s4rmkn8lpxvyt4n
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019060521-3smagczfoys4j5wl
2011-10-19 06:05:21 +00:00
Antony Lesuisse 11b5c602ce [IMP] html_template more generic use js
bzr revid: al@openerp.com-20111018202429-7aulbfuyze4vcbck
2011-10-18 22:24:29 +02:00
Antony Lesuisse da7e08aa1b [IMP] html_template more generic
bzr revid: al@openerp.com-20111018201337-tuh6wglp1qrixx5h
2011-10-18 22:13:37 +02:00
niv-openerp 6ce8a18fbe [fix] context problem in accounting
lp bug: https://launchpad.net/bugs/871771 fixed

bzr revid: nicolas.vanhoren@openerp.com-20111018155733-45xhk7hg2xsmj26h
2011-10-18 17:57:33 +02:00
Fabien Meghazi 29f2f28afe [REV] Revert Rev.1290: Breaks more than it fixes
bzr revid: fme@openerp.com-20111018151534-3w5ms47i8yj48gpq
2011-10-18 17:15:34 +02:00
Fabien Meghazi 57a4d1feb9 [IMP] change cursor when loading
bzr revid: fme@openerp.com-20111018143300-jcwmbraqyzi41ho1
2011-10-18 16:33:00 +02:00
Fabien Meghazi b06923f0f5 [FIX] document.head not supported in Firefox 3.6
bzr revid: fme@openerp.com-20111018122607-4z6duz862hb8y3pn
2011-10-18 14:26:07 +02:00
Fabien Meghazi 679983672d [FIX] Action buttons does not include active_id in context when loading action
lp bug: https://launchpad.net/bugs/871771 fixed

bzr revid: fme@openerp.com-20111018115040-66l0xiudl8yt8khq
2011-10-18 13:50:40 +02:00
Fabien Meghazi 2069b260b0 [FIX] FormFrame layout now supports 'always invisible' widgets
bzr revid: fme@openerp.com-20111018110740-1ik1nykpsipt7uqo
2011-10-18 13:07:40 +02:00
Xavier Morel 8c9d65c41a [IMP] fix mistake done while merging ref-in-listviews, improve discrimination between ref-value and printable value
* Removed a test on splitting on ',' yielding more than one value, which means we're going to loop on the name_get since they're all strings
* Improved value-detection: we should only name_get the reference field if the value is an actual reference value, meaning a model name, a ',' and an id. Used regex instead of naive split, so we don't match referenced names with a comma (e.g. 'Hubert de Vaucanson, Vicomte de Blois')

bzr revid: xmo@openerp.com-20111018105255-6vz6l9lg1iiurfc9
2011-10-18 12:52:55 +02:00