Commit Graph

1067 Commits

Author SHA1 Message Date
niv-openerp 78f92ec031 Some tuning in text html
bzr revid: nicolas.vanhoren@openerp.com-20120813145111-s8uw1x4fc26xe6xl
2012-08-13 16:51:11 +02:00
niv-openerp d8796d429c Now uses the html field type for cl editor
bzr revid: nicolas.vanhoren@openerp.com-20120813114638-pla647nupeha1tim
2012-08-13 13:46:38 +02:00
niv-openerp c2caa24bd6 [FIX] small "or" in some x2x popup
bzr revid: nicolas.vanhoren@openerp.com-20120810145048-ctnvl0w5r5h439f7
2012-08-10 16:50:48 +02:00
niv-openerp a9c0de5325 [FIX] small bug in some m2m
bzr revid: nicolas.vanhoren@openerp.com-20120810142253-8ly58vsbqum6o7ng
2012-08-10 16:22:53 +02:00
niv-openerp f3d824424f [FIX] problem with tipsy & quick create in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120810134815-qt91cbf1rndvxn0a
2012-08-10 15:48:15 +02:00
Fabien Meghazi 1a3bd45961 [FIX] Used json with binary/image controller
bzr revid: fme@openerp.com-20120809134851-3yl6skfch2q1f7q0
2012-08-09 15:48:51 +02:00
Fabien Pinckaers 3d48b3f877 [IMP] misc CSS improvements, mainly editable lists
bzr revid: fp@tinyerp.com-20120808193842-nxrk13vc8hv9wxlg
2012-08-08 21:38:42 +02:00
vta vta@openerp.com 6bb818263e [FIX] Fixed bug in view_form.js
bzr revid: vta@openerp.com-20120808154422-nbjabrc3cxcb030g
2012-08-08 17:44:22 +02:00
Xavier Morel 065ffcd244 [CHG] select all field content when focusing integer or float field
bzr revid: xmo@openerp.com-20120808154126-wy9b96px9fasmu7e
2012-08-08 17:41:26 +02:00
Xavier Morel a7ad740fa2 [FIX] ignore blur event on m2o input during autocompletion or if a sub-popup is open
jquery.ui.autocomplete does quite a bit of focus-setting during and
around itself, leading to blur events being triggered outside
expectations (e.g. after an action has been selected and the dropdown
has been closed due to the action opening a popup whose content gets
focused somehow).

Really, the guy who implemented o2m's autosave-on-blur should be shot.

Wait, that would be me.

bzr revid: xmo@openerp.com-20120808151843-et2r8hplxxyqc7v6
2012-08-08 17:18:43 +02:00
vta vta@openerp.com 0e9244ac4f [MERGE] editable stage widget
bzr revid: vta@openerp.com-20120808145331-1b0ngxa3v3z5pt7o
2012-08-08 16:53:31 +02:00
Christophe Simonis ec210651be [IMP] merge action_id and client_action state arguments into action
bzr revid: chs@openerp.com-20120808141641-0kdb3s463tb7em88
2012-08-08 16:16:41 +02:00
niv-openerp 30ff136a83 [FIX] problem in m2o when you delete something using the delete button of the keyboard
bzr revid: nicolas.vanhoren@openerp.com-20120808141301-ts4und7qynxh6i3p
2012-08-08 16:13:01 +02:00
vta vta@openerp.com 3a139b4916 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20120808121825-o7sodegi37ineu8r
2012-08-08 14:18:25 +02:00
vta vta@openerp.com 52a01828c6 [FIX] Fixed styling of the stagesbar.
bzr revid: vta@openerp.com-20120808121654-79zztekljxzawpna
2012-08-08 14:16:54 +02:00
vta vta@openerp.com d3441f111b [FIX] Full CSS stagesbar.
bzr revid: vta@openerp.com-20120807153926-xvklvq5419mup6hq
2012-08-07 17:39:26 +02:00
niv-openerp 5d41615217 [FIX] fixed problems with images in kanban o2m
bzr revid: nicolas.vanhoren@openerp.com-20120808091532-zjnvgpx33nkwj1z8
2012-08-08 11:15:32 +02:00
Fabien Pinckaers 175c167471 [FIX] fixing bugs in bounce effects + cleaner effect
bzr revid: fp@tinyerp.com-20120808073821-gxp4r9u12160lshy
2012-08-08 09:38:21 +02:00
Xavier Morel 7e4d8ec0f1 [MERGE] various fixes and changes to editable list view after review
bzr revid: xmo@openerp.com-20120807104935-k8i2iydxm5q2rt59
2012-08-07 12:49:35 +02:00
Fabien Meghazi e4ca1a42c3 [NMDT] Not my day today
bzr revid: fme@openerp.com-20120807102536-8idyt0qotub4ythy
2012-08-07 12:25:36 +02:00
Fabien Meghazi 7d40760cff [FIX] Fixed Revision: 2869 revid:fme@openerp.com-20120806160922-d4b59jzsu2nx2yl7
bzr revid: fme@openerp.com-20120807102123-wkpeipyvveufo556
2012-08-07 12:21:23 +02:00
Xavier Morel d9291d50c8 [FIX] conflict between form autoblur thing and focus management in editable o2m
bzr revid: xmo@openerp.com-20120807072650-ia0u56u8z20tgbfw
2012-08-07 09:26:50 +02:00
Fabien Meghazi 4e641e9f2c [IMP] Don't display the many2one icon if it's value is empty.
bzr revid: fme@openerp.com-20120806160922-d4b59jzsu2nx2yl7
2012-08-06 18:09:22 +02:00
Xavier Morel d8e2bec158 [FIX] state of editor after cancelled cancel() (haha), handling of a record being edited during o2m deletion
bzr revid: xmo@openerp.com-20120806150002-45c8mjq9dk5hck7y
2012-08-06 17:00:02 +02:00
vta vta@openerp.com d159b218c7 [IMP] Improved visual aspect of the stagesbar.
bzr revid: vta@openerp.com-20120806144722-9cich1qg6t8ad3iq
2012-08-06 16:47:22 +02:00
Xavier Morel 3f955f0525 [CHG] delete o2m lines without warning
bzr revid: xmo@openerp.com-20120806143410-ohzypxj3r8bbz08w
2012-08-06 16:34:10 +02:00
vta vta@openerp.com 33cd3834ef [ADD] Trying to improve the form_steps_separtor.png.
bzr revid: vta@openerp.com-20120806142359-m6saukyiwx33mibf
2012-08-06 16:23:59 +02:00
Fabien Meghazi 0cecacd43e [IMP] Improved m2o tooltip
bzr revid: fme@openerp.com-20120806140044-mgo3git8zi9xrqbh
2012-08-06 16:00:44 +02:00
Xavier Morel 9149dc60d8 [CHG] make 'add a row' a link
bzr revid: xmo@openerp.com-20120806135536-4x6qacw8qp91le2g
2012-08-06 15:55:36 +02:00
Xavier Morel cd96727f50 [CHG] insert the 'Add a row' link before the padding rows
bzr revid: xmo@openerp.com-20120806135248-onwslw7ge72tolwn
2012-08-06 15:52:48 +02:00
vta vta@openerp.com 22b25ce40b [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20120806122324-scngm3qpi7qfblvm
2012-08-06 14:23:24 +02:00
vta vta@openerp.com 9d15842745 [ADD] Added some imgs to draw the stagesbar accordingly to the new design, very awful (just for testing)).
bzr revid: vta@openerp.com-20120806122150-sqq650v7vmvy34i6
2012-08-06 14:21:50 +02:00
Fabien Meghazi 6510cdb047 [ADD] Added breadcrumb history_back. Fix create/discard
bzr revid: fme@openerp.com-20120806091609-1klmk7gwreumwszg
2012-08-06 11:16:09 +02:00
Xavier Morel ff801ce499 [FIX] trailing comma in array literal (creates 'undefined' element in some browsers e.g. IE8)
bzr revid: xmo@openerp.com-20120806075822-az334r7zqf0fljpv
2012-08-06 09:58:22 +02:00
Xavier Morel df53003aea [FIX] unbound variable usage, courtesy of xal
also use $.ui.keyCode rather than hardocded key code, and normalized attribute e.which

bzr revid: xmo@openerp.com-20120806072732-fprp6l8zv1yexk3d
2012-08-06 09:27:32 +02:00
Fabien Meghazi 84f258b4f1 [ADD] Added breadcrumb history_back. Fix create/discard
bzr revid: fme@openerp.com-20120802165440-zl6lonpv7uvw67k6
2012-08-02 18:54:40 +02:00
vta vta@openerp.com adaa03a247 [MERGE] Merged latest trunk.
bzr revid: vta@openerp.com-20120802155941-oomnsjzi43fedpdc
2012-08-02 17:59:41 +02:00
vta vta@openerp.com 88d8b6237d [FIX] add 'oe_highlight' class to the button corresponding the current stage.
bzr revid: vta@openerp.com-20120802155807-fsqkn5b7wkvgwos5
2012-08-02 17:58:07 +02:00
vta vta@openerp.com 74b5da35f1 [FIX] Statusbar buttons completely clickable, disabled current stage button.
bzr revid: vta@openerp.com-20120802135403-eh2jkpu5tp2i2psj
2012-08-02 15:54:03 +02:00
Fabien Meghazi 9c31ba65d9 [FIX] Fixed form's fields autofocus
bzr revid: fme@openerp.com-20120802124909-w4li8dt6y0kktnfh
2012-08-02 14:49:09 +02:00
Xavier Morel 8ae0d248e6 [FIX] cancelling of o2m lines with m2o on 'Create and Edit'
trigger a Widget|focused event on item.action autocomplete selection,
cancels previous Widget|blurred (from picking choice) and avoids
firing of FormView|blurred, used by o2m list to autosave/autocancel an
edition.

bzr revid: xmo@openerp.com-20120802120230-ylnldw0aa39uga1p
2012-08-02 14:02:30 +02:00
Fabien Meghazi 152cc49c3f [FIX] Autofocus on create mode
bzr revid: fme@openerp.com-20120802095326-o6gc8jyvd44u9xg2
2012-08-02 11:53:26 +02:00
Xavier Morel 07d748787b [IMP] make clicking of the 'Add a row' row in m2os save&create if there's a row being edited
as requested by apr

bzr revid: xmo@openerp.com-20120802074006-d843c10g9jal4nre
2012-08-02 09:40:06 +02:00
Fabien Meghazi d880351b6a [REM] Removed console.logs
bzr revid: fme@openerp.com-20120801165841-nj5jig9txn9m55nh
2012-08-01 18:58:41 +02:00
Fabien Meghazi 52de6e12a2 [IMP] Improved focus. Removed delay_focus
bzr revid: fme@openerp.com-20120801164933-4nwphx7rt4l4n6ys
2012-08-01 18:49:33 +02:00
Fabien Meghazi 22cc5e45e7 [FIX] Do not focus unfocusable fields
bzr revid: fme@openerp.com-20120801162024-kzg70c729o371ami
2012-08-01 18:20:24 +02:00
Fabien Meghazi 3334b1c5b3 [WIP] focus
bzr revid: fme@openerp.com-20120801161204-33fag4hhnhdl0g1k
2012-08-01 18:12:04 +02:00
Fabien Meghazi b56849da72 [MERGE] vieweditor extraction
bzr revid: fme@openerp.com-20120801145907-16oe3cu5jb04phmv
2012-08-01 16:59:07 +02:00
vta vta@openerp.com b2a40aa463 [ADD] Small changes.
bzr revid: vta@openerp.com-20120801135748-71rbhudbh5ipq7tb
2012-08-01 15:57:48 +02:00
Antony Lesuisse fbb2f80cf1 [MERGE] backbonify-widgets, minor api changes that make Widget more similar to backbone Views
bzr revid: al@openerp.com-20120801124804-ov9l9ytabqx54gdo
2012-08-01 14:48:04 +02:00
Xavier Morel c72a63472b [FIX] form visibility
bzr revid: xmo@openerp.com-20120801124652-2a6jgvyke1u715kw
2012-08-01 14:46:52 +02:00
niv-openerp 901d45b4e7 [FIX] do_show() in form view does not display the form view any more
bzr revid: nicolas.vanhoren@openerp.com-20120801123332-9brim0p5bqdes4j8
2012-08-01 14:33:32 +02:00
Vidhin Mehta (OpenERP) 19d4364884 [REM]remove view editor unnecessary code.
bzr revid: vme@tinyerp.com-20120801111929-1cwbovhzskpwmf9f
2012-08-01 16:49:29 +05:30
Antony Lesuisse 574f3891a5 [MERGE] trunk
bzr revid: al@openerp.com-20120801104657-cinfl0svpnc8njs5
2012-08-01 12:46:57 +02:00
Amit Patel (OpenERP) 2917ba547a [MERGE]:merged with trunk
bzr revid: apa@tinyerp.com-20120801070544-9r89819sjvgn9bnk
2012-08-01 12:35:44 +05:30
Fabien Meghazi a36ca8974a [ADD] Added support for future display_name
bzr revid: fme@openerp.com-20120731145458-csalg7kdwd18pc0o
2012-07-31 16:54:58 +02:00
niv-openerp e3e37008e8 [FIX] problem with focus when you enter form view
bzr revid: nicolas.vanhoren@openerp.com-20120731141051-4hs9lf32713n8cil
2012-07-31 16:10:51 +02:00
Fabien Meghazi 8e43e0f494 [ADD] Added support for future display_name
bzr revid: fme@openerp.com-20120731140309-8hawqnal8cw3zxww
2012-07-31 16:03:09 +02:00
Fabien Meghazi 685e30543b [FIX] name_get should always use an array of ids
bzr revid: fme@openerp.com-20120731100002-pe2z2xkmnfx2zb2h
2012-07-31 12:00:02 +02:00
Amit Patel (OpenERP) 95b76e5fb8 [MERGE]
bzr revid: apa@tinyerp.com-20120731051835-xr1r5vqiq7bcsapd
2012-07-31 10:48:35 +05:30
Fabien Meghazi 6acccf6d6a [IMP] FormView: use name_get for the form title
bzr revid: fme@openerp.com-20120730160538-ankpno3upsrnt8y1
2012-07-30 18:05:38 +02:00
Amit Patel (OpenERP) cd6f750c65 [IMP]:improved code
bzr revid: apa@tinyerp.com-20120730133145-wqb2exzybn52fzy7
2012-07-30 19:01:45 +05:30
Amit Patel (OpenERP) bf8ce714b8 [IMP]:improved code suggested in need fixing
bzr revid: apa@tinyerp.com-20120730123907-oyr0emjwpginfbyt
2012-07-30 18:09:07 +05:30
niv-openerp 4fca220ff1 Fixed focus problems
bzr revid: nicolas.vanhoren@openerp.com-20120727095517-xxpinz8iw5zisvaj
2012-07-27 11:55:17 +02:00
Sanjay Gohel (Open ERP) 8220b2edf9 [MERGE]merge with trunk
bzr revid: sgo@tinyerp.com-20120727050154-148msw0jzppgc66w
2012-07-27 10:31:54 +05:30
Xavier Morel 99df5da6e7 [ADD] a row
bzr revid: xmo@openerp.com-20120726155510-vzc0m5nokt3451pn
2012-07-26 17:55:10 +02:00
niv-openerp 781fbd3a26 [FIX] corrected some old code about focus
bzr revid: nicolas.vanhoren@openerp.com-20120726154716-1sua5q2teqeba7r0
2012-07-26 17:47:16 +02:00
Xavier Morel a9ccdfae03 [FIX] use Widget#setElement and Widget#replaceElement rather than direct setting
bzr revid: xmo@openerp.com-20120726144533-zev1o8kpugn1mkcz
2012-07-26 16:45:33 +02:00
Xavier Morel 9cde11f63d [FIX] object may or may not have been started when destroy is run
bzr revid: xmo@openerp.com-20120726144420-7coh354993kj546a
2012-07-26 16:44:20 +02:00
Xavier Morel 3e4262266f [REM] unused and useless line
bzr revid: xmo@openerp.com-20120726144309-olaini3pgjvb1j4j
2012-07-26 16:43:09 +02:00
niv-openerp 9375df5ae7 [IMP] made pager disappear in form view when in create mode
bzr revid: nicolas.vanhoren@openerp.com-20120726115742-jjihwmc0uzw11bn0
2012-07-26 13:57:42 +02:00
niv-openerp 712897852d [IMP] corrected some code documentation
bzr revid: nicolas.vanhoren@openerp.com-20120726102719-ct3c5tx06izemg21
2012-07-26 12:27:19 +02:00
niv-openerp 547e281f6f merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20120726101422-2607vesxr52z3t1j
2012-07-26 12:14:22 +02:00
niv-openerp f6e615cedc Changed my mind about method naming
bzr revid: nicolas.vanhoren@openerp.com-20120726095653-bi90exba20x8gu4n
2012-07-26 11:56:53 +02:00
niv-openerp 5d80e9a3e7 Small optimization
bzr revid: nicolas.vanhoren@openerp.com-20120726095231-k30uufa9ny2bo28h
2012-07-26 11:52:31 +02:00
niv-openerp dd7e7d2c56 Removed mode in favor of actual_mode
bzr revid: nicolas.vanhoren@openerp.com-20120726095104-txzid0fb9tn3t1ne
2012-07-26 11:51:04 +02:00
Antony Lesuisse 3a6f429d0d [FIX] support arbitrary icons
bzr revid: al@openerp.com-20120726005835-g1l6kg8yge225fd8
2012-07-26 02:58:35 +02:00
Antony Lesuisse 5d0839264b [MERGE] bounce effects, minor fixes in saas
bzr revid: al@openerp.com-20120726002318-m6bjvivktv16s8re
2012-07-26 02:23:18 +02:00
niv-openerp e406b7759a Fixed problem with m2mtags
bzr revid: nicolas.vanhoren@openerp.com-20120725143150-x6u8pfira3wbc8mg
2012-07-25 16:31:50 +02:00
niv-openerp fe8b2937c9 Solved problems with switch_mode
bzr revid: nicolas.vanhoren@openerp.com-20120725141832-4zqw6g0zf9m4hfro
2012-07-25 16:18:32 +02:00
niv-openerp 31621f412a wip
bzr revid: nicolas.vanhoren@openerp.com-20120725141333-ueaj3e0i8imlwvre
2012-07-25 16:13:33 +02:00
niv-openerp 175d5ff509 [IMP] added option "no_open" in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120725123543-fzzefu57lwy5xksd
2012-07-25 14:35:43 +02:00
Xavier Morel 38cb3de518 [FIX] attempt to make editability handling more logical and simpler to manage.
Also less buggy, with a bit o' luck

bzr revid: xmo@openerp.com-20120724170550-150vimuk6bvzh8y8
2012-07-24 19:05:50 +02:00
niv-openerp b98723a1fe [IMP] improved throbber
bzr revid: nicolas.vanhoren@openerp.com-20120724141220-1u0odsgsxzjtc5xn
2012-07-24 16:12:20 +02:00
Sanjay Gohel (Open ERP) 730d5555f6 [IMP]improve code
bzr revid: sgo@tinyerp.com-20120724132804-orglytcvcsl0l1i8
2012-07-24 18:58:04 +05:30
Sanjay Gohel (Open ERP) 7dd12d1352 [MERGE]merge with parent branch
bzr revid: sgo@tinyerp.com-20120723050900-rzkxh5cz7ieclrke
bzr revid: sgo@tinyerp.com-20120724053220-34tos5izh2kmk18t
2012-07-24 11:02:20 +05:30
Antony Lesuisse 07fb6d88b9 [MERGE] trunk
bzr revid: al@openerp.com-20120723173450-2yxayvyoiiiw9tcw
2012-07-23 19:34:50 +02:00
niv-openerp 50a5ccebe7 [FIX] problem with translate dialog
bzr revid: nicolas.vanhoren@openerp.com-20120723151113-nvh8l72duewcotvx
2012-07-23 17:11:13 +02:00
Amit Bhavsar (Open ERP) b5c626f6a2 [FIX]Fixed problem of date picker.
lp bug: https://launchpad.net/bugs/1026702 fixed

bzr revid: amb@tinyerp.com-20120723135620-67qunqvnyz0lj00e
2012-07-23 19:26:20 +05:30
niv-openerp 071dce2cb9 [FIX] problem with wizards
bzr revid: nicolas.vanhoren@openerp.com-20120723134914-4rrmeysncsancwfq
2012-07-23 15:49:14 +02:00
Sanjay Gohel (Open ERP) d6c4462c6c [IMP]improve code
bzr revid: sgo@tinyerp.com-20120723050314-bpdzcgt0ttc0fagu
2012-07-23 10:33:14 +05:30
Thibault Delavallée 5729e9c663 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120720143542-i30g07waybug8cts
2012-07-20 16:35:42 +02:00
niv-openerp c73e736db0 [FIX] small problem with m2o
bzr revid: nicolas.vanhoren@openerp.com-20120720142023-8a1m5b30yvoywnbs
2012-07-20 16:20:23 +02:00
niv-openerp ec3ff22aed [FIX] rare problem during save
bzr revid: nicolas.vanhoren@openerp.com-20120720141304-dpmw02lx7u2ureia
2012-07-20 16:13:04 +02:00
niv-openerp 52f6f0bd04 [IMP] Changed some "Cancel" buttons to links
bzr revid: nicolas.vanhoren@openerp.com-20120720124430-gbhow8qcipsrieb4
2012-07-20 14:44:30 +02:00
niv-openerp 5759d97daa [IMP] changed place of buttons in relation popups
bzr revid: nicolas.vanhoren@openerp.com-20120720123528-fpskc2r42d06z28r
2012-07-20 14:35:28 +02:00
Thibault Delavallée 284e793936 [IMP] cleditor: removed source link. Updated get_value to be more consistent.
bzr revid: tde@openerp.com-20120720115046-fp0do72zy3cs2p2w
2012-07-20 13:50:46 +02:00
Thibault Delavallée 28b3d3eac4 [IMP] text_html widget: cleaned a bit the code.
bzr revid: tde@openerp.com-20120720113358-y5mt98w1ug9ljbvo
2012-07-20 13:33:58 +02:00
Thibault Delavallée 8a56b182a8 [CLEAN] Removed some unnecessary code and comments.
bzr revid: tde@openerp.com-20120719151154-2u1rni4pxwik21o9
2012-07-19 17:11:54 +02:00
Sanjay Gohel (Open ERP) 4ec356892c [IMP]code improvement
bzr revid: sgo@tinyerp.com-20120719095139-6zwcjzs0d12m4wgm
2012-07-19 15:21:39 +05:30
Sanjay Gohel (Open ERP) 7692acdc2c [IMP]statusbar widget improve for stages clickable
bzr revid: sgo@tinyerp.com-20120719091446-qg93k0j6gqlb8udj
2012-07-19 14:44:46 +05:30
Thibault Delavallée 2a268329c5 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120713080041-54367204xp0ypozb
bzr revid: tde@openerp.com-20120713142609-5dmznm8j8pdnr177
bzr revid: tde@openerp.com-20120716083004-h8gibdwvpyvzm74m
bzr revid: tde@openerp.com-20120717075907-omr38xg4lw68j4g1
bzr revid: tde@openerp.com-20120718110900-4r1sjlpksebly5q4
bzr revid: tde@openerp.com-20120719083341-qwmi9ogr0pdsrcfg
2012-07-19 10:33:41 +02:00
Xavier Morel 06104ba553 [FIX] shitty undoc flag so saving a form doesn't forget/miss a row being edited
bzr revid: xmo@openerp.com-20120719082352-pqq02u03fo09rcwe
2012-07-19 10:23:52 +02:00
Raphael Collet 6dc3b76255 [IMP] in dialog box 'Set Default', for many2one fields, show display_name instead of value (id)
bzr revid: rco@openerp.com-20120719081914-lchgb4k409fam1te
2012-07-19 10:19:14 +02:00
Xavier Morel 9096f2c45c [ADD] reimplement o2m's cancel-on-blur when no alteration has been done by the user to the row being edited (new or not)
bzr revid: xmo@openerp.com-20120718134607-bukj6c5lysmqeer3
2012-07-18 15:46:07 +02:00
niv-openerp aad9ce6416 [IMP] added possibility to only highlight the first line in read only m2o
bzr revid: nicolas.vanhoren@openerp.com-20120718101729-k1rxexdzozy5cx5i
2012-07-18 12:17:29 +02:00
Xavier Morel 01e6e3ec07 [IMP] DOWNCASE ALL THE THINGS
apparently and contrary to what I remembered, we're still supposed to use underscore_separated method names, not camelCase

bzr revid: xmo@openerp.com-20120717132308-wvpldtprt33heee3
2012-07-17 15:23:08 +02:00
Xavier Morel c3368bf2bb [FIX] use native DOM methods to programmatically set focus on an element
jQuery breaks the expected ordering of triggered consequential events
to a focusing (a blur event on the source field, a focus event on the
destination one), which in turn breaks the expectations of the
auto-saving o2m, making the o2m field attempt to auto-save immediately
after having saved a row (via the [Return] key) e.g. create a new row
in a list o2m, press [Return], the widget creates a new empty row and
immediately tries to save it resulting — depending on the view's setup
— in either an empty row being saved or a bunch of fields being marked
as invalid even though the user hasn't done anything yet.

Bypass jquery to avoid this issue.

jQuery tracker ref: http://bugs.jquery.com/ticket/12094

bzr revid: xmo@openerp.com-20120717130251-q2cjoj6rkxh0bvdq
2012-07-17 15:02:51 +02:00
Fabien Pinckaers d4f5d52177 [IMP] remove unused code
bzr revid: fp@tinyerp.com-20120717074428-rx5ats1eie4ct432
2012-07-17 09:44:28 +02:00
Fabien Pinckaers 402d455f5b [IMP] css
bzr revid: fp@tinyerp.com-20120716111324-xi5x9w0broortnls
2012-07-16 13:13:24 +02:00
Xavier Morel 75c2845fb5 [ADD] default_get support on new row creation
bzr revid: xmo@openerp.com-20120716110430-9uv352m46d3mn1bx
2012-07-16 13:04:30 +02:00
Jiten (OpenERP) a14e505845 [MERGE] Merged from trunk.
bzr revid: jra@tinyerp.com-20120716073108-7zlweyipa1u4l1oh
2012-07-16 13:01:08 +05:30
Jiten (OpenERP) 66d1d0e334 [IMP] Improved code.
bzr revid: jra@tinyerp.com-20120716070523-iim1n7ghl1a0tg6o
2012-07-16 12:35:23 +05:30
Fabien Pinckaers 01d15a2812 [IMP] dialogs
bzr revid: fp@openerp.com-20120714000519-ksf14svlnp6xljri
2012-07-14 02:05:19 +02:00
Fabien Pinckaers 84c2888dde [IMP] layout web, mianly dialogs and improved mit merge
bzr revid: fp@openerp.com-20120713222528-5sflq6ah9redrcry
2012-07-14 00:25:28 +02:00
Jiten (OpenERP) cabf707734 [ADD] Add comment for used bounce effect.
bzr revid: jra@tinyerp.com-20120713132723-t5f7kv5gak13lks2
2012-07-13 18:57:23 +05:30
Jiten (OpenERP) 3db53edefc [IMP] Improved code to create bounce effect by CSS.
bzr revid: jra@tinyerp.com-20120713130325-q0c6km66nkv2qi7p
2012-07-13 18:33:25 +05:30
Fabien Pinckaers 2b6cce2c7c [IMP] modal dialogs
bzr revid: fp@tinyerp.com-20120713114737-hqieh0oi6nnnbjqh
2012-07-13 13:47:37 +02:00
Jiten (OpenERP) a7f2511601 [IMP] Improved code.
bzr revid: jra@tinyerp.com-20120713110904-25smebblug0jawx2
2012-07-13 16:39:04 +05:30
Jiten (OpenERP) 7c7d94f002 [IMP] Improve bounce effect to remove auto scroll and remove useless code.
bzr revid: jra@tinyerp.com-20120713101753-95dnac5u3cm3mwhn
2012-07-13 15:47:53 +05:30
Thibault Delavallée c183ec5e03 [IMP] TextFieldHtml: updated default values for width/height of cleditor.
bzr revid: tde@openerp.com-20120712101607-hbfqhxymwyq9lf2w
2012-07-12 12:16:07 +02:00
Thibault Delavallée 5a0b486e12 [IMP] Cleditor: cleaned default options.
bzr revid: tde@openerp.com-20120711154447-ojklly0whajbte3y
2012-07-11 17:44:47 +02:00
Xavier Morel 8812a84ba8 [FIX] don't let [Return] key hit in a text field bubble, or it validates editable list rows
bzr revid: xmo@openerp.com-20120711143213-ug1u98evn6nxhi5r
2012-07-11 16:32:13 +02:00
Xavier Morel ce11683e92 [FIX] re-enable delete button for o2m list items
bzr revid: xmo@openerp.com-20120711142604-9jw3kikvqje8reu6
2012-07-11 16:26:04 +02:00
Xavier Morel 6b907bb4d0 [FIX] can't perform action on a o2m record which is not saved in db, so forbid it.
Also yet-another-shitty-undoc-change to the way widgets and form view communicate

bzr revid: xmo@openerp.com-20120711141402-1x7frd0v3vc3649e
2012-07-11 16:14:02 +02:00
Jiten (OpenERP) a899b40b59 [IMP] Improved scrolling when scrolltop/scrollleft are not in range for bounce button.
bzr revid: jra@tinyerp.com-20120711133124-j84maefl1b21i2jo
2012-07-11 19:01:24 +05:30
Xavier Morel e431cda2d3 [MERGE} from trunk
bzr revid: xmo@openerp.com-20120711112959-tcb9epdfc9frt6ux
2012-07-11 13:29:59 +02:00
Thibault Delavallée 83c041fe9d [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120710123433-5a9721r0yag21ybh
bzr revid: tde@openerp.com-20120711075641-izq3ulv658gmb2v7
2012-07-11 09:56:41 +02:00
Jiten (OpenERP) 90eced57d2 [IMP] Improved code for bounce effect on wrong click area.
bzr revid: jra@tinyerp.com-20120711065000-jf3x8xca67jbsdzo
2012-07-11 12:20:00 +05:30
Paramjit Singh Sahota 2a1350bd7a [MERGE] Merged from openerp-web.
bzr revid: psa@tinyerp.com-20120711061408-0isdrpv5lndk04jp
2012-07-11 11:44:08 +05:30
Thibault Delavallée b1f09441cd [REM] TextFieldHemolt: removed debug log.
bzr revid: tde@openerp.com-20120710123401-9dsdg6tvhczan51l
2012-07-10 14:34:01 +02:00
niv-openerp 24a54675ee [FIX] problem with css classes of view managers
bzr revid: nicolas.vanhoren@openerp.com-20120710091821-qpc49vwq60k1xt3f
2012-07-10 11:18:21 +02:00
niv-openerp f078da8a52 [IMP] make the m2o a little more complex
bzr revid: nicolas.vanhoren@openerp.com-20120710085441-dt2kn4z5rk2482sy
2012-07-10 10:54:41 +02:00
Thibault Delavallée c5c40cb9c9 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120710081244-89j0pryttv7gqdfc
2012-07-10 10:12:44 +02:00
Xavier Morel 9568c463b3 [FIX] conflicts between save-on-blur and action buttons in o2m
bzr revid: xmo@openerp.com-20120710073928-riswpz7f9mddqjgf
2012-07-10 09:39:28 +02:00
Fabien Pinckaers fe368d23c8 [IMP] padding between groups in forms
bzr revid: fp@tinyerp.com-20120710073145-l0rmppe2d7mpterz
2012-07-10 09:31:45 +02:00
niv-openerp b79f9b5807 [FIX] small problem with m2o
bzr revid: nicolas.vanhoren@openerp.com-20120709115727-gtxyt4kzg9c7tqot
2012-07-09 13:57:27 +02:00
Xavier Morel 46e511d1f2 [FIX] o2m validation workflow for lists, to match new edition methods
bzr revid: xmo@openerp.com-20120709110426-w6v512ff5dskmr3x
2012-07-09 13:04:26 +02:00
Xavier Morel e9921d62df [FIX] ensures the o2m is correctly saved before activating action buttons, even when a row is being edited
bzr revid: xmo@openerp.com-20120709110112-dgpm1jhb9o2lmweg
2012-07-09 13:01:12 +02:00
Anand Patel (OpenERP) 9b936e7e29 [IMP] improve code for bounce effect on non editable form view.
bzr revid: pan@tinyerp.com-20120709104218-tot71riz8bww6itp
2012-07-09 16:12:18 +05:30
Thibault Delavallée 73b7c1f8ae [CLEAN] TextFieldHtml: cleaned code (removed debug and comments).
bzr revid: tde@openerp.com-20120709103137-0662p5zbi4ib3zky
2012-07-09 12:31:37 +02:00
Paramjit Singh Sahota 2774263ddd [MERGE] Merged from openerp-web.
bzr revid: psa@tinyerp.com-20120709085635-g0tcm7nlqe7wd3n3
2012-07-09 14:26:35 +05:30
Thibault Delavallée 2a382252e8 [WIP] TextHtml field: updated behavior to work in form views (display field value, take into account a modified value).
bzr revid: tde@openerp.com-20120706155113-co8higd2mm1qki00
2012-07-06 17:51:13 +02:00
Thibault Delavallée bd3a82c250 [IMP] HTML text field: implemented the get_value to retrieve the html value from the ClEditor.
bzr revid: tde@openerp.com-20120706074435-v3882oyuzbrffqnr
2012-07-06 09:44:35 +02:00
Anand Patel (OpenERP) 202238473c [IMP] Improove code for form view bounce effect
bzr revid: pan@tinyerp.com-20120705065757-483b5y765cvupail
2012-07-05 12:27:57 +05:30
Xavier ALT 60ba31c757 [FIX] web: fix unbound variable on many2many_tags widget
bzr revid: xal@openerp.com-20120704174308-pe326nrcj8depk28
2012-07-04 19:43:08 +02:00
Xavier Morel b289447826 [TEST] saving of editor with required non-filled field, and cancelling of edition
bzr revid: xmo@openerp.com-20120704152329-81ktb8umm9xbr5wt
2012-07-04 17:23:29 +02:00
Anand Patel (OpenERP) e155f29f18 [IMP]improve code for the bounce effect in form view
bzr revid: pan@tinyerp.com-20120704060836-2y2vu2c2aj7mn8lq
2012-07-04 11:38:36 +05:30
Thibault Delavallée 864d011200 [MERGE] Merged with web/trunk.
bzr revid: tde@openerp.com-20120702170010-x07duh86vejoup9u
2012-07-02 19:00:10 +02:00
niv-openerp a9e48f1571 [FIX] hide the "or Import" in many list views
bzr revid: nicolas.vanhoren@openerp.com-20120702160951-czrvcybdrrjqj84y
2012-07-02 18:09:51 +02:00
Xavier Morel 5df6c47700 [FIX] methods capitalization
bzr revid: xmo@openerp.com-20120702133451-e5b7uozm0p36jbpr
2012-07-02 15:34:51 +02:00
Fabien Meghazi 2571ad25eb [FIX] Fixed Status bar wrapping problems
bzr revid: fme@openerp.com-20120702084119-cfmdc7vqonwb05f8
2012-07-02 10:41:19 +02:00
niv-openerp 56e595ccf9 [FIX] forgot some more field strings in previous fix
bzr revid: nicolas.vanhoren@openerp.com-20120629151001-5wyyff806j23j5h2
2012-06-29 17:10:01 +02:00
niv-openerp e3e68cf716 [FIX] cleaned field strings
lp bug: https://launchpad.net/bugs/1017921 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120629150225-jssk2t3jvpph8xxi
2012-06-29 17:02:25 +02:00
Anand Patel (OpenERP) e748c3d4cf improoved code for [added a bounce effect when On non editable page view, if click on the content of a field, bounce the Edit button]
bzr revid: pan@tinyerp.com-20120629072248-kb0vfjjo707l8vaj
2012-06-29 12:52:48 +05:30
Xavier Morel 656d3ac9dd [FIX] typo during process of o2m autosave
bzr revid: xmo@openerp.com-20120628143616-79bpmgty632fp0in
2012-06-28 16:36:16 +02:00
niv-openerp 7cc69d917b [FIX] minor inconsistency in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120628130808-od8p8e52p02w63dc
2012-06-28 15:08:08 +02:00
Fabien Meghazi 69b7200d5a [ADD] Restore default_focus in forms
bzr revid: fme@openerp.com-20120628130249-31x3zb88fpan003m
2012-06-28 15:02:49 +02:00
niv-openerp 4f6e8b25e1 [IMP] added 'always_reload' option to m2o
bzr revid: nicolas.vanhoren@openerp.com-20120628125242-t3pf093fe88nrv8k
2012-06-28 14:52:42 +02:00
niv-openerp 0cbb2e8257 [IMP] m2o only show first line
bzr revid: nicolas.vanhoren@openerp.com-20120628123621-nt7uo6e2he83w27n
2012-06-28 14:36:21 +02:00
niv-openerp 492af8bef4 [IMP] support multiple lines in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120628121745-9k3r7zfy5edgnivm
2012-06-28 14:17:45 +02:00
Anand Patel (OpenERP) 13458db46f added a bounce effect when On non editable page view, if click on the content of a field, bounce the Edit button
bzr revid: pan@tinyerp.com-20120628114844-3c1rv4ckk888yhzo
2012-06-28 17:18:44 +05:30
Anand Patel (OpenERP) 693ec72528 added a bounce effect when On non editable page view, if click on the content of a field, bounce the Edit button
bzr revid: pan@tinyerp.com-20120628114609-xmj17x8t2pymftcf
2012-06-28 17:16:09 +05:30
niv-openerp 06c9e2eb71 [IMP] added doc
bzr revid: nicolas.vanhoren@openerp.com-20120628101100-27kqrho2ez2xudrm
2012-06-28 12:11:00 +02:00
niv-openerp ec92d42e32 [FIX] email and url display 'false'
bzr revid: nicolas.vanhoren@openerp.com-20120627152922-x1wp96wcu0zbdqyk
2012-06-27 17:29:22 +02:00
niv-openerp 3f59bab1fc [FIX] problem with float_time
bzr revid: nicolas.vanhoren@openerp.com-20120627151759-5hewg29y0cbo6221
2012-06-27 17:17:59 +02:00
Fabien Meghazi ce7fb5bb37 [CHG] Ashes to ashes, dashes to underscores.
bzr revid: fme@openerp.com-20120627141249-o10e2htxqtio72l7
2012-06-27 16:12:49 +02:00
Xavier Morel f96372e178 [FIX] oe_form_field on m2m form field
bzr revid: xmo@openerp.com-20120627132701-5k9ovbu9q57uwc35
2012-06-27 15:27:01 +02:00
Xavier Morel bff8dad0f5 [ADD] flag to prevent FormView#do_show from playing into a dataset on its own
bzr revid: xmo@openerp.com-20120627100206-8492a3ozn7fudu90
2012-06-27 12:02:06 +02:00
Xavier Morel 02ad054961 [FIX] form warnings
bzr revid: xmo@openerp.com-20120627100151-t712ibqydt0vv7cf
2012-06-27 12:01:51 +02:00
Thibault Delavallée 30b3844638 [MERGE] Merged with mail-state-tde, recently updated with trunk.
bzr revid: tde@openerp.com-20120626130805-mrg2c3uyh5o1h1uo
2012-06-26 15:08:05 +02:00
Xavier Morel f20cf64bdb [FIX] merge mistake breaking button widgets of form view
bzr revid: xmo@openerp.com-20120626082413-3tnrq8nm3koactn1
2012-06-26 10:24:13 +02:00
Fabien Meghazi 52a7476bb1 [ADD] Added oe_highlight_on_dirty
bzr revid: fme@openerp.com-20120625195225-ehts5hyuscmpxeyy
2012-06-25 21:52:25 +02:00
Fabien Meghazi 2b1bd31f74 [FIX] Field chars broken since merge 6.1
bzr revid: fme@openerp.com-20120625152445-qpmoz6hpxqi2nfrz
2012-06-25 17:24:45 +02:00
Xavier Morel 7bad6e4b42 [FIX] annoying events API
bzr revid: xmo@openerp.com-20120625145052-ngqmfhsr1g33utql
2012-06-25 16:50:52 +02:00
Xavier Morel f821dd158a [IMP] use widget events instead of jquery events for form widget focus/blur management
bzr revid: xmo@openerp.com-20120625144013-0brsx0s4unar6cvg
2012-06-25 16:40:13 +02:00
Xavier Morel 54a8f9e193 [MERGE] 6.1 changes and trunk
bzr revid: xmo@openerp.com-20120625135215-az1927llmk0vw655
2012-06-25 15:52:15 +02:00
Xavier Morel 9029f24d87 [FIX] action buttons activated in editable o2m lists during or after row edition
bzr revid: xmo@openerp.com-20120625072046-29tg3vnnpkhj8fe9
2012-06-25 09:20:46 +02:00
Xavier Morel a227e1e43c [CHG] reintroduce a button at the end of the line, but use the cross as a cancel
bzr revid: xmo@openerp.com-20120625065812-6n8lxb0zimzvq1ee
2012-06-25 08:58:12 +02:00
Xavier Morel d64f983fce [FIX] correctly reload an o2m list *after* triggering an action from a row being edited
bzr revid: xmo@openerp.com-20120622150117-w04eibub93ve81mo
2012-06-22 17:01:17 +02:00
niv-openerp 4a88fba764 [IMP] minor usability issue with date widgets
bzr revid: nicolas.vanhoren@openerp.com-20120622145224-w09eagoziqipwbuy
2012-06-22 16:52:24 +02:00
niv-openerp d23ea2119f [FIX] problem with the discard button in form views
bzr revid: nicolas.vanhoren@openerp.com-20120622143849-makqspfqkqvp8rkt
2012-06-22 16:38:49 +02:00
niv-openerp 83d27ba827 [FIX] problem that made the partners view crash
bzr revid: nicolas.vanhoren@openerp.com-20120622143320-5auneze02g29hvzi
2012-06-22 16:33:20 +02:00
niv-openerp d790fecbb8 [IMP] better error reporting when there are errors in on_changes
bzr revid: nicolas.vanhoren@openerp.com-20120622133312-tvvhgr2kllag27pk
2012-06-22 15:33:12 +02:00
Xavier Morel 5182068b43 [FIX] ensure containing form is saved when triggering an action from an editable o2m list
After opening a record with a list o2m, editing said list o2m and
saving a row, clicking the action button would lose all data
explicitly changed: the o2m would just call the action without saving
the form's current state, so the corresponding server method would
only be able to use data previously saved.

Fixed by overriding do_button_action, and only calling the _super()
method after the parent form has announced it is saved (either because
nothing was changed or because it did indeed save itself).

bzr revid: xmo@openerp.com-20120622085432-mh3977uygua5bypn
2012-06-22 10:54:32 +02:00
Antony Lesuisse 5006656a28 [IMP] use Class builtin mixin support
bzr revid: al@openerp.com-20120621235641-ax1lsvi9x9foa3vd
2012-06-22 01:56:41 +02:00
Thibault Delavallée e6ad094ffb [MERGE] Merged with mail-state-tde, better than the last merge.
bzr revid: tde@openerp.com-20120621152143-wrc0tj0nepwk2pj1
bzr revid: tde@openerp.com-20120621152613-h6jecsggf1c1dbqy
2012-06-21 17:26:13 +02:00
niv-openerp cae22c8ff4 [FIX] Problem with float formatting, not analyzing correctly the digits parameter
bzr revid: nicolas.vanhoren@openerp.com-20120621124123-novg5wadwvvcbrkt
2012-06-21 14:41:23 +02:00
niv-openerp 2a640918c7 [FIX] potential problem with create & edit in m2o, it should not set a default_name
bzr revid: nicolas.vanhoren@openerp.com-20120621111933-s9wmabv4bh8p7n1n
2012-06-21 13:19:33 +02:00
Xavier Morel ed0a94f0d7 [IMP] focus management in date field
bzr revid: xmo@openerp.com-20120620113402-lacdu8fvq9bwrcl6
2012-06-20 13:34:02 +02:00
Xavier Morel 6a4adf2a3b [FIX] blur/focus handling in most (if not all) form widgets
bzr revid: xmo@openerp.com-20120620111527-2j23k13zc6td2deo
2012-06-20 13:15:27 +02:00
Thibault Delavallée 97e94941cb [REF] view_form: removed a forgotten debug line.
bzr revid: tde@openerp.com-20120620084454-e8vezrij11bqakx7
2012-06-20 10:44:54 +02:00
Thibault Delavallée 9278eec4e9 [MERGE] Merged with mail-state-tde, recentl updated with trunk.
bzr revid: tde@openerp.com-20120618075927-j20g7wlztipxsukx
bzr revid: tde@openerp.com-20120619074110-ioj5y4sfawrpvtcf
bzr revid: tde@openerp.com-20120620074240-gt3a3a7xyv31b4nx
2012-06-20 09:42:40 +02:00
Xavier Morel 19d5cb01c7 [FIX] error caused by autosave-on-blur when vaidating a row with [Return]
bzr revid: xmo@openerp.com-20120619110350-64sb4uy2t1eydiou
2012-06-19 13:03:50 +02:00
Xavier Morel 125eead80a [FIX] focus issues with m2o contextual menu (and popup operations)
bzr revid: xmo@openerp.com-20120619093651-7rfe1pp7ucuj0ajh
2012-06-19 11:36:51 +02:00
Xavier Morel 0516533c16 [FIX] handling of focus on m2o fields (in editable list row)
* Throw out focusin/focusout: the m2o widget's completion list is
  created at the page top (body) so the editable listview can't
  generically handle arbitrary widgets via mere focusin/focusout.

* Move responsibility of focus/blur events to the form view and its
  widgets.

* Events could not just be named ``focus`` and ``blur`` due to usage
  of jquery's event system: jquery will automatically call a method of
  the event's name if it exists on the object, which conflicts with
  .web.form.Field#focus and leads to an infinite loop (as Field#focus
  focuses the field's root element, which triggers the focus event,
  which calls the focus method,...) => form-* and widget-*, can be
  switched back in trunk

* m2o mess kind-of complex, basically:

  - the core input and the menu button behave as blur/focus triggers

  - when the autocompletion list is clicked, it will temporarily
    remove the focus from the input (blurring it), and put it back
    later... on a timer. Issue is the timer, we don't want to rely on
    having a bigger timer (as later revisions of the library may
    change our timings and it's iffy to rely on timers conserving
    order perfectly); on the other hand we know the focus *will* come
    back to the input eventually. So we can just avoid propagating
    blur iif the blur is the consequence of having clicked on the
    completion list.

  - roughly the same thing happens when clicking on $drop_down (after
    fixing the handling of its final focus to be consistent, as
    $drop_down would not re-focus the input if it was *closing* the
    completion list)

  - pretty sure the menu thing does *not work at all*, but I don't
    have the courage of fixing it before committing this part.

Date/datetime widget remains to be handled, basically the core focus
handling is the same as in e.g. a charfield *but* needs to handle (and
ignore) loss of focus from clicking inside the picker
widget. Expecting the level of suck to reach unknown heights.

bzr revid: xmo@openerp.com-20120619072518-lsrhzij5asxt2aea
2012-06-19 09:25:18 +02:00
niv-openerp 623c6d20f2 [FIX] problem in o2m list
bzr revid: nicolas.vanhoren@openerp.com-20120618143817-uz268911f0j0omrj
2012-06-18 16:38:17 +02:00
niv-openerp 59d0d15b03 [IMP] Improved error reporting in some cases
bzr revid: nicolas.vanhoren@openerp.com-20120618140250-smh45bbecf4qaa5v
2012-06-18 16:02:50 +02:00
Xavier Morel 70b0af1375 [IMP] jQuery exposes focusin and focusout, use that instead of its manual implementation
bzr revid: xmo@openerp.com-20120618073431-gmeo349oskbld53t
2012-06-18 09:34:31 +02:00
Fabien Pinckaers c566531784 [IMP] add a class to factorize view manager layout
bzr revid: fp@tinyerp.com-20120615161012-xeahmm33omrnro76
2012-06-15 18:10:12 +02:00