Commit Graph

1222 Commits

Author SHA1 Message Date
Fabien Meghazi 4fb15efb59 [FIX] IE does not accept custom button@type attribute
Added one more step in views serialization historic hell

bzr revid: fme@openerp.com-20121114164413-wrnxlbuh9zj924yk
2012-11-14 17:44:13 +01:00
Denis Ledoux dle@openerp.com 8dcaac7f54 [FIX]Wrong date for datepicker, due to using self.value instead of self.get('value')
lp bug: https://launchpad.net/bugs/1075504 fixed

bzr revid: dle@openerp.com-20121114144345-boqe04siijwsuqor
2012-11-14 15:43:45 +01:00
Xavier Morel 67115184f8 [FIX] references to renamed/removed methods in event handler bindings
bzr revid: xmo@openerp.com-20121114130600-2qf8egm0r9bwno1n
2012-11-14 14:06:00 +01:00
Xavier Morel 01630d6800 [FIX] focus/blur in fieldm2mtags in case of tabbing in/out
bzr revid: xmo@openerp.com-20121114114508-g97xdgq4a4fhpmjz
2012-11-14 12:45:08 +01:00
Xavier Morel 7d18be69a5 [FIX] form shortcuts being somewhat active in listview leading to strange behaviors
added a predicate and a decorator to View, so that views can easily
check if they are the active view and only execute relevant actions
when they are.

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

bzr revid: xmo@openerp.com-20121113153610-7yogikfyg4rxwsjp
2012-11-13 16:36:10 +01:00
Xavier Morel f908f44759 [FIX] remove min-width on number form fields when inside an editable list view
otherwise it refused to fit in small cells

also remove !important specifications which are just a bloody fucking
pain every single time, they're just a shit hack over doing things
correctly in the first place, to hell with these things.

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

bzr revid: xmo@openerp.com-20121113123047-jspflyhfb8gei24r
2012-11-13 13:30:47 +01:00
Fabien Meghazi cd4c3c61ff [FIX] Listview does not handle base64 value for binary fields
lp bug: https://launchpad.net/bugs/1077858 fixed

bzr revid: fme@openerp.com-20121112171128-a1aoq2q4fma6fpxc
2012-11-12 18:11:28 +01:00
Thibault Delavallée 4ca42f9968 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20121112104931-jvcn0853jx08do7n
2012-11-12 11:49:31 +01:00
niv-openerp fac7bea3a2 [FIX] problems with the progressbar widget in form view
bzr revid: nicolas.vanhoren@openerp.com-20121109134958-kp44r6gix54uouhu
2012-11-09 14:49:58 +01:00
Christophe Matthieu df96456fc5 [FIX] view_form: fixing blockUI attribute in multi file uploader
bzr revid: chm@openerp.com-20121109102102-o5t86g1jz82175jk
2012-11-09 11:21:02 +01:00
vta vta@openerp.com bbb5192346 [FIX] Many2OneButton, don't subscribe to write_complete event.
bzr revid: vta@openerp.com-20121108154215-4b3sk7nh41xfrl62
2012-11-08 16:42:15 +01:00
vta vta@openerp.com e0094e20de [FIX] Issue when triggering 'write_completed' on AbstractFormPopup, argument not passed.
bzr revid: vta@openerp.com-20121108152231-cdtdxa1q9rl4eyre
2012-11-08 16:22:31 +01:00
Fabien Meghazi c6d4dcd2ab [FIX] Fix form view bounce effect
bzr revid: fme@openerp.com-20121108151810-c5p3rsha9x8kg6lv
2012-11-08 16:18:10 +01:00
Fabien Meghazi 0b4b1cf52d [MERGE] trunk
bzr revid: fme@openerp.com-20121108111222-cetz6q6s47iwxnm2
bzr revid: fme@openerp.com-20121108111448-2rzx9moaqloc5lpc
2012-11-08 12:14:48 +01:00
Xavier Morel 7c3d2a37b5 [IMP] support set_dimensions on date and datetime form widgets
bzr revid: xmo@openerp.com-20121108103631-dlgw5q58agq8ndb0
2012-11-08 11:36:31 +01:00
Fabien Meghazi 225b0c2c2d [MERGE] trunk
bzr revid: fme@openerp.com-20121108091548-enm1aftirkzngld1
2012-11-08 10:15:48 +01:00
Xavier Morel a423c32454 [IMP] m2m_tags code
bzr revid: xmo@openerp.com-20121107161955-bc7bxmmbdkmr34ix
2012-11-07 17:19:55 +01:00
niv-openerp 6f79b279bf [IMP] removed "blacklist" feature in form view that was implemented due to inability to call get_value() on a o2m during its modification. With the recent commit_value() implementation this feature is now useless.
bzr revid: nicolas.vanhoren@openerp.com-20121108103856-uou2leyng8bhx5ba
2012-11-08 11:38:56 +01:00
niv-openerp 86f9f5db35 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121108100145-i1ey2f6g07nri18a
2012-11-08 11:01:45 +01:00
Antony Lesuisse a963bd019a [MERGE] m2o button
bzr revid: al@openerp.com-20121107151954-aqqtn4w6hpd39kmi
2012-11-07 16:19:54 +01:00
Xavier Morel bfad5ad032 [ADD] custom dimensioning of a bunch of form widget for better editable listview compat/styling
bzr revid: xmo@openerp.com-20121107132152-9s6s1n4fn4bwjdm2
2012-11-07 14:21:52 +01:00
Fabien Meghazi 8b18d999bd [FIX] BinaryImage field triggers render_value() two times on file change
bzr revid: fme@openerp.com-20121107111247-ge1oi0oxbr7k5dhf
2012-11-07 12:12:47 +01:00
vta vta@openerp.com 064003797e [FIX] Issue with py.eval if no options passed.
bzr revid: vta@openerp.com-20121107104933-a60t27t1hjyu368f
2012-11-07 11:49:33 +01:00
vta vta@openerp.com 4b0d99d6c8 [IMP] Now the Many2OneButton accepts an option (label) containing a dict to set the string displayed in the button ({'create':String, 'edit':String}). If no label, the string is empty.
bzr revid: vta@openerp.com-20121107103426-u6dfd1vcfu8fwap3
2012-11-07 11:34:26 +01:00
Fabien Meghazi f06b78dbf6 [MERGE] trunk
bzr revid: fme@openerp.com-20121107091047-uehws6qa3ouaa4fs
2012-11-07 10:10:47 +01:00
vta vta@openerp.com 83405dba45 [IMP] Make the popup accessible.
bzr revid: vta@openerp.com-20121107081738-kortakwtjj7s9k80
2012-11-07 09:17:38 +01:00
Fabien Meghazi 86d9b7be0c [IMP] Binary Image: warn user when selected image could not be displayed. Also use placeholder
bzr revid: fme@openerp.com-20121106172036-d9jkebo9mj45thft
2012-11-06 18:20:36 +01:00
niv-openerp 2a9779045f [FIX] rare problem in m2mtags, when the form view is destroyed just after a reload
lp bug: https://launchpad.net/bugs/1075543 fixed

bzr revid: nicolas.vanhoren@openerp.com-20121106162525-c835kdpjpj66e714
2012-11-06 17:25:25 +01:00
vta vta@openerp.com c275363921 [FIX] Text conflicts.
bzr revid: vta@openerp.com-20121106154141-03nnje0th7cjtlqf
2012-11-06 16:41:41 +01:00
Thibault Delavallée a006b078ed [REVIEW] trigger closing -> trigger closed, to match the code guidelines.
bzr revid: tde@openerp.com-20121106145940-cji6varovqtgneiz
2012-11-06 15:59:40 +01:00
Thibault Delavallée 018a91ddc0 [MERGE] Sync with web/trunk.
bzr revid: tde@openerp.com-20121106145336-vm8vxzd9baui7iih
2012-11-06 15:53:36 +01:00
Fabien Meghazi d221165c59 [FIX] Better fix than Revision: 3338 revid:fme@openerp.com-20121106094244-oybwglprd1v3g5xn
bzr revid: fme@openerp.com-20121106134145-uzijdxde2otoxdfy
2012-11-06 14:41:45 +01:00
Christophe Matthieu af2c38f4c9 [IMP] web: trigger closing for popup
bzr revid: chm@openerp.com-20121106125206-icm2s8fvb13m40w9
2012-11-06 13:52:06 +01:00
niv-openerp fd2bb078fb Fixed problem with editable list
bzr revid: nicolas.vanhoren@openerp.com-20121106103828-uw6xv1ed7wueii71
2012-11-06 11:38:28 +01:00
vta vta@openerp.com 83a264ff2b [FIX] Fixed list view widget as per xmo review.
bzr revid: vta@openerp.com-20121106103320-zyon6mzsy9jaafj0
2012-11-06 11:33:20 +01:00
Christophe Matthieu d3e5d953b1 [IMP] web: field many2many_tags_email moved to mail addon
bzr revid: chm@openerp.com-20121106095700-q5gtxandi7o0jn6o
2012-11-06 10:57:00 +01:00
Fabien Meghazi 21778b193e [FIX] FormAbstractPopup calls dialog('close') a second time. jQuery ui 1.9 is not tolerant to that.
bzr revid: fme@openerp.com-20121106094244-oybwglprd1v3g5xn
2012-11-06 10:42:44 +01:00
Fabien Meghazi 8821c77158 [MERGE] trunk (jquery api changes in place then's -> done's)
bzr revid: fme@openerp.com-20121105201717-91w9gwlumkvellmw
2012-11-05 21:17:17 +01:00
niv-openerp 90484f7858 Implemented commit_value in o2m (must still fix problem in list editable, it does not seem to tolerate multiple calls to save)
bzr revid: nicolas.vanhoren@openerp.com-20121105171412-g8okue97wjbkeu3t
2012-11-05 18:14:12 +01:00
Fabien Meghazi a2852d5774 [MERGE] trunk
bzr revid: fme@openerp.com-20121105151914-tcxu1hn324cbts3l
2012-11-05 16:19:14 +01:00
niv-openerp cd88f9ec02 modified doc
bzr revid: nicolas.vanhoren@openerp.com-20121105150540-yhcfpoiwffv6kjs3
2012-11-05 16:05:40 +01:00
vta vta@openerp.com 492379e6c4 [FIX] Added parameters to trigger.
bzr revid: vta@openerp.com-20121105145431-qk01mspfvldusa13
2012-11-05 15:54:31 +01:00
vta vta@openerp.com 3b87df079e [ADD] Added new widget, Many2OneButton, to view_form.js and view_list.js.
bzr revid: vta@openerp.com-20121105130232-rpde2k1ihbquznmg
2012-11-05 14:02:32 +01:00
niv-openerp a4dd317271 Now uses commit_value
bzr revid: nicolas.vanhoren@openerp.com-20121105111819-g4dovxlob9ivashl
2012-11-05 12:18:19 +01:00
niv-openerp 8f341d3555 [IMP] put back commit_value
bzr revid: nicolas.vanhoren@openerp.com-20121105111635-5aygxpvlfuxqozu5
2012-11-05 12:16:35 +01:00
niv-openerp 1f25f1dee1 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121105110152-f0vcwtzn334qtxq0
2012-11-05 12:01:52 +01:00
Fabien Meghazi 2994db89ca [MERGE] trunk
bzr revid: fme@openerp.com-20121105093013-31veb91zkdeiuddh
2012-11-05 10:30:13 +01:00
Xavier Morel 72a447bd95 [FIX] tabbing out of an m2o which opens some sort of weird dialog thing while in an editable o2m
The tab blurs the current fields, focuses the next one, then the
dialog thing opens and steals the focus from the *next* field (not the
one which created it), which thus triggers *blur* ultimately blurring
(and saving) the row being edited.

Add a trigger call in some random place which seems to make things not
fail.

bzr revid: xmo@openerp.com-20121102141348-5au6sarq0mw2ct67
2012-11-02 15:13:48 +01:00
Christophe Matthieu 9ee814ca95 [IMP] view form: many2many tag email : message please complete
bzr revid: chm@openerp.com-20121031164405-sym3w0cnzszr7i0d
2012-10-31 17:44:05 +01:00
niv-openerp 2d93553e0d Redirected onchange and save to a common operation
bzr revid: nicolas.vanhoren@openerp.com-20121031153946-zvmoh7g7rtc69pyc
2012-10-31 16:39:46 +01:00