Commit Graph

1411 Commits

Author SHA1 Message Date
Xavier Morel e00cb36f41 [MERGE] from trunk
bzr revid: xmo@openerp.com-20121129091038-0fexjx8o12drjbga
2012-11-29 10:10:38 +01:00
tsabi e2435d4f00 fixed a typo that maked javascript error
bzr revid: tsabi-20121129011822-fv9v0l72231y0093
2012-11-29 02:18:22 +01:00
tsabi 92e87f7e6f Mark strings to be translated.
Maybe some missed, but most of them marked.

bzr revid: tsabi-20121129002200-20tppzvh0ap5tfwe
2012-11-29 01:22:00 +01:00
Xavier Morel 2b75593168 [FIX] don't display password fields in set_default dialogs
lp bug: https://launchpad.net/bugs/1015092 fixed

bzr revid: xmo@openerp.com-20121128135013-xzanbxv6qoqo28kh
2012-11-28 14:50:13 +01:00
Xavier Morel ddcce477d7 [FIX] eq/neq of arrays in compute_domain
bzr revid: xmo@openerp.com-20121128134142-eywfsl3bv56pvoso
2012-11-28 14:41:42 +01:00
Tejas Tank e0f6e8701e [MERGE]: Merged
bzr revid: tta@openerp.com-20121128133712-3b86sc96skj3prfa
2012-11-28 18:37:12 +05:00
Christophe Matthieu b41ee4833e [MERGE] from trunk-first-10clicks-accounting-tta; Selection Placeholder. No traceback py but a warning/constraint message for wrong value insert for float and int.
bzr revid: chm@openerp.com-20121128083349-qfnl5rbaprq7hlh6
2012-11-28 09:33:49 +01:00
Tejas Tank 81a2e23dd6 [FIX] clean the code.
bzr revid: tta@openerp.com-20121128053540-01z3yiooq83foyew
2012-11-28 11:05:40 +05:30
Xavier Morel 908c986ce8 [FIX] onchange for client-side evaluation: use regular method calls
bzr revid: xmo@openerp.com-20121127133435-ss3g97sm43mrtbla
2012-11-27 14:34:35 +01:00
Hiral Patel (OpenERP) df4f922683 [MERGE] Merge with lp:openerp-web
bzr revid: hip@tinyerp.com-20121126044500-3elpfk2qcv3oo6pz
bzr revid: hip@tinyerp.com-20121127072837-v5419ybohenkfgeu
2012-11-27 12:58:37 +05:30
Fabien Meghazi d0195e30e8 [FIX] Many2Many kanban binds "change:effective_readonly" too late.
The problem occured when opening a form view containing a m2m_kanban
from a kanban view using an Edit button.

Eg: when opening an existing project from project kanban view using
    the dropdown item "Project Settings", no "Add" button appears in
    the project Team tab.

bzr revid: fme@openerp.com-20121126102533-ak96lhsxbfx8io7n
2012-11-26 11:25:33 +01:00
Hiral Patel (OpenERP) be4047ff1b [IMP] The bounce effect is too fast everywhere, slow it down a little bit
bzr revid: hip@tinyerp.com-20121123121745-rmi0wnmzmfq6nx9z
2012-11-23 17:47:45 +05:30
Xavier Morel 709f2506ff [REM] server-side eval_domain_and_context
bzr revid: xmo@openerp.com-20121123113932-siz0u2vp2u7z6wk2
2012-11-23 12:39:32 +01:00
niv-openerp 9b59a88a5c [IMP] Put pager in SelectCreatePopup.
bzr revid: nicolas.vanhoren@openerp.com-20121122133555-a5cf1m5sbgs2kv1i
2012-11-22 14:35:55 +01:00
Fabien Meghazi c0bb84a3fe [IMP] Move 'Set Defaults' from sidebar's 'More' menu to advanced debug box
bzr revid: fme@openerp.com-20121122090754-d8hl9c7jtobgstxj
2012-11-22 10:07:54 +01:00
Fabien Meghazi 74a5e92d46 [FIX] Binary fields, limit upload size to 25Mo (only works for browsers supporting FileAPI)
bzr revid: fme@openerp.com-20121121104329-5aa88lxqogn206l2
2012-11-21 11:43:29 +01:00
Fabien Meghazi a0c3ba7a1c [MERGE] many2many_tags: correctly checks it's falsy value
bzr revid: fme@openerp.com-20121121100812-gzn25f8g50cr5t3t
2012-11-21 11:08:12 +01:00
Denis Ledoux dle@openerp.com 08e0522ad6 [FIX]Add option 'disable_editable_mode' which disable editable widget when setted to true. This is because search popups should not be editable. 'search more...' was not clickable in fields with many2many_tags widget and default tree view with flag editable setted
lp bug: https://launchpad.net/bugs/1080997 fixed

bzr revid: dle@openerp.com-20121120153958-jopkpxmz38b78phj
2012-11-20 16:39:58 +01:00
niv-openerp 999c0b2cab [FIX] Modified behavior when we click on an action in the 'More' menu.
Since revision 1517, when using the sidebar from a form view, it merged all the fields of the form view in the context of the action.
It was modified to avoid that context pollution, now it only uses those fields to evaluate the context of that action. So it allows
specifying contexts like "{'invoice_id': invoice_id}", but invoice_id will not be propagated any more to the new action context if not
explicitely specified.

bzr revid: nicolas.vanhoren@openerp.com-20121120100620-ig4e02uctysk7oj8
2012-11-20 11:06:20 +01:00
Tejas Tank 86408a7348 Merged Latest.
bzr revid: tta@openerp.com-20121120092907-cqr0uuusv86uaiwx
2012-11-20 14:59:07 +05:30
Fabien Meghazi 9180d9702b [FIX] Don't leave button@type=submit in IE
bzr revid: fme@openerp.com-20121119143719-1uu4s71jyudfi5u3
2012-11-19 15:37:19 +01:00
Christophe Matthieu c7e8142cae [FIX] many2many_tags: the widget accept the required attribute
bzr revid: chm@openerp.com-20121119122413-plp6klbytyjuhwqt
2012-11-19 13:24:13 +01:00
Xavier Morel 86842fe9c8 [FIX] correctly handle case of deleting-an-o2m-line-being-edited
move special case in o2m listview to main editable and expand to
correctly fit edition cases, not just work in case of creation

issue: if a row being edited is deleted in an o2m, the form will be
blurred and try cancelling/saving the edition and reloading the row,
but this will only happen *after* the record/row/whatever has been
"deleted" and (amongst other things) removed from the buffered o2m
cache, leading to a tentative read on the server side (usually with a
local id which doesn't even make sense) and thus an error.

Intercept the deletion signal to cancel the edition immediately and
only let the deletion through after the edition has successfully been
canceled.

bzr revid: xmo@openerp.com-20121116164416-8kr39t6jtqy2s3jc
2012-11-16 17:44:16 +01:00
Christophe Matthieu ea92f73acc [MERGE] from trunk-mail-uploader-chm
bzr revid: chm@openerp.com-20121116151506-z0qg8cgf069kdato
2012-11-16 16:15:06 +01:00
niv-openerp 40c4ed7f54 [FIX] problem in editable list o2m when hitting the enter button rapidly
bzr revid: nicolas.vanhoren@openerp.com-20121116151248-il59eiekk758suco
2012-11-16 16:12:48 +01:00
Christophe Matthieu 6debec3f10 [IMP] web form: one2many_binary became many2many_binary
bzr revid: chm@openerp.com-20121116112517-yqc9w37iz5yg2xf0
2012-11-16 12:25:17 +01:00
Fabien Meghazi 8c2764115f [FIX?] Probably fix something... ? See previous revision.
bzr revid: fme@openerp.com-20121115182331-0vz3beb6x2od9xhs
2012-11-15 19:23:31 +01:00
Fabien Meghazi cace9f7887 [IMP] Centralized 'openerp' class on top level elements. Also add openerp_ie class for MSIE
bzr revid: fme@openerp.com-20121115164132-i6a0u8zk3knm1zkv
2012-11-15 17:41:32 +01:00
Christophe Matthieu 6807a2e07c [IMP] web form: FieldOne2ManyBinaryMultiFiles no delete file on set value
bzr revid: chm@openerp.com-20121115135904-17rg7j5g8xu4rjvn
2012-11-15 14:59:04 +01:00
Christophe Matthieu 64e46a1e0e [IMP] web form: one2many_binary accept all values one2any and default values
bzr revid: chm@openerp.com-20121115122834-5vo00jagzvysti1a
2012-11-15 13:28:34 +01:00
Christophe Matthieu 739775253f [FIX] web: FieldOne2ManyBinaryMultiFiles fix the loading for default ids files list
bzr revid: chm@openerp.com-20121115092149-lsbxb9ougxwkkktn
2012-11-15 10:21:49 +01:00
Christophe Simonis eb5a5bf838 [IMP] add method session.url() to generate correct url
bzr revid: chs@openerp.com-20121114174150-9nhj50vftt4lrf0k
2012-11-14 18:41:50 +01:00
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
Harry (OpenERP) d8034fa4f4 [MERGE]
bzr revid: hmo@tinyerp.com-20121112092513-ngonx9bv68uw2gb5
2012-11-12 14:55:13 +05:30
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
Tejas Tank 47e028f6c9 Merge with latest.
bzr revid: tta@openerp.com-20121107115008-rkt9fpy2r6lgirkk
2012-11-07 17:20:08 +05:30
Tejas Tank 1a9f93fc85 [fix] on model form tags issue fixed..
bzr revid: tta@openerp.com-20121107113256-ac6znf9m5ibzoovl
2012-11-07 17:02:56 +05:30
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
Tejas Tank d22ade963d Merged with latest.
bzr revid: tta@openerp.com-20121107072349-legqnnhnczvl0ny2
2012-11-07 12:53:49 +05:30
Tejas Tank e4effd6585 [IMP] Remove traceback with a warning/constraint message for float field.
bzr revid: tta@openerp.com-20121107063810-ulei1bq8aw1xctyl
2012-11-07 12:08:10 +05:30
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
ajay javiya (OpenERP) 49dd95bf51 [FIX]: Password field should not allows to setdefault
bzr revid: aja@tinyerp.com-20121102112002-awvp6juu2mvdndz2
2012-11-02 16:50:02 +05:30
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
niv-openerp 00fc09890b temporary revert of 3331
bzr revid: nicolas.vanhoren@openerp.com-20121031150324-dxlhh3wxhob8numi
2012-10-31 16:03:24 +01:00
niv-openerp 1622caae27 Changed the onchange handling to be async
bzr revid: nicolas.vanhoren@openerp.com-20121031143036-eventomyjpwgalxb
2012-10-31 15:30:36 +01:00
niv-openerp 95131d6fa9 [merge trunk]
bzr revid: nicolas.vanhoren@openerp.com-20121031141717-5qkawv50b0w2kdry
2012-10-31 15:17:17 +01:00
Christophe Matthieu 8526bf26b3 [IMP] view form: no question to complete informations in many2many_tag_email widget
bzr revid: chm@openerp.com-20121031105604-952pxf2rhlvupsx1
2012-10-31 11:56:04 +01:00
Xavier Morel 2ea22c5234 [FIX] first field of editable list o2ms not showing their content
Bug introduced in xmo@openerp.com-20121019100725-izotstggoxpfjk6k (and
xmo@openerp.com-20121022103935-78bm40gfotpt1ds6 to the extent that in
the former the cell would disappear altogether and in the latter its
content would be blanked out).

As it was the last 15 times I made this mistake, adding a "!" before
an `instanceof` call and forgetting parens just negates the object
(first argument to `instanceof`), not the whole expression, and thus
the expression is *always false* (the result of !a is a `boolean`
primitive, and `primitive instanceof ObjectType` is always false)

bzr revid: xmo@openerp.com-20121031103233-9qw40l6m2vy0l3m1
2012-10-31 11:32:33 +01:00
Christophe Matthieu ed66b02fe6 [IMP] view form: add many2many_tag_email widget
bzr revid: chm@openerp.com-20121031101959-t4o6qusszamx5qgu
2012-10-31 11:19:59 +01:00
niv-openerp 8a12c46307 [IMP] added commit_value()
bzr revid: nicolas.vanhoren@openerp.com-20121030155313-g2cx14h4rl6zks6z
2012-10-30 16:53:13 +01:00
Fabien Meghazi ca6c49becf [IMP] jQuery deferred API changes refactoring. Changed 'then's in 'done'/'fail' and 'pipe's in 'then'
bzr revid: fme@openerp.com-20121030140630-gf20ye8fou1ebxft
2012-10-30 15:06:30 +01:00
Fabien Meghazi ea570236a6 [MERGE] trunk
bzr revid: fme@openerp.com-20121029100055-3h40w0egnzlwq7o4
2012-10-29 11:00:55 +01:00
Fabien Pinckaers 11a8170b56 [IMP] html fields with 100%
bzr revid: fp@tinyerp.com-20121026164327-xh3gwp96lpysq9hm
2012-10-26 18:43:27 +02:00
niv-openerp f2c5b7f599 [IMP] avoid propagation of context when clicking on a readonly m2o (could cause problems)
bzr revid: nicolas.vanhoren@openerp.com-20121026100011-inuk0tzz5cxw7dtr
2012-10-26 12:00:11 +02:00
Fabien Meghazi eccb14b4e3 [REM] Removed CalendarFormDialog and replace it with FormOpenPopup
bzr revid: fme@openerp.com-20121025141140-2ab8pwwbc7kg3729
2012-10-25 16:11:40 +02:00
niv-openerp 1daf770604 [IMP] Added a way to create something in a m2m
bzr revid: nicolas.vanhoren@openerp.com-20121025083509-7b0vybaa4qgyg0g2
2012-10-25 10:35:09 +02:00
niv-openerp 3fb6204e5f [IMP] remove unused code in form view
bzr revid: nicolas.vanhoren@openerp.com-20121025074935-6expqc0stsvbo1ft
2012-10-25 09:49:35 +02:00
niv-openerp cdb0601417 got it
bzr revid: nicolas.vanhoren@openerp.com-20121023125957-lfs7yogbygw2uz4a
2012-10-23 14:59:57 +02:00
niv-openerp 94bc60b310 reverted changes to o2m
bzr revid: nicolas.vanhoren@openerp.com-20121023125213-d7nc1282zmbvk72a
2012-10-23 14:52:13 +02:00
niv-openerp bb22e231ff merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121023124321-cmd2jtnslyk30mr7
2012-10-23 14:43:21 +02:00
niv-openerp 8d92a33443 [FIX] corrected the field reference
bzr revid: nicolas.vanhoren@openerp.com-20121023124042-u5yfvylxy7a2clfv
2012-10-23 14:40:42 +02:00
niv-openerp 8e7ec09749 m
bzr revid: nicolas.vanhoren@openerp.com-20121022161516-4g9wg1a3fv0r7t12
2012-10-22 18:15:16 +02:00
niv-openerp 3b5b24b72e [FIX] m2o switches correctly its button
bzr revid: nicolas.vanhoren@openerp.com-20121022161426-1oqwa8e3n6kh7pba
2012-10-22 18:14:26 +02:00
niv-openerp db54c70650 [FIX] resolved problem with buttons in views, also removed default Close button in wizards
bzr revid: nicolas.vanhoren@openerp.com-20121022152257-yxcz0j73b4azeqr1
2012-10-22 17:22:57 +02:00
niv-openerp 1da06f3bfe [FIX] better fix for previous m2m kanban problem
bzr revid: nicolas.vanhoren@openerp.com-20121022144021-h1oqgb0d0h6aepfl
2012-10-22 16:40:21 +02:00
Fabien Meghazi a1364bde20 [FIX] m2m kanban use it's own value as is in order to fill dataset.ids
bzr revid: fme@openerp.com-20121022142459-9so19ypfwhxwhuc3
2012-10-22 16:24:59 +02:00
Xavier Morel 8a3a92bbfc [IMP] readonly sortable o2m
The making of the column invisible would happen after the header was
rendered (?), and the header would not be re-rendered afterwards. So
there would be a missing chunk of table. Make the cells invisible
instead. It's all going to be changed looks-wise anyway so meh.

bzr revid: xmo@openerp.com-20121022103935-78bm40gfotpt1ds6
2012-10-22 12:39:35 +02:00
Xavier Morel a060b1400b [FIX] SelectCreatePopup: append search view at the right position in the DOM
Old error had added the list and the search at the same place of the
popup, leading to strange interactions as the search view is floated
to the right: in Firefox the search view would be hidden behind the
list (completely), in Chrome the search view would be visible but
"overlaid" with a transparent section of the list, and (tentative)
clicks on the search view would have no effect as they'd actually be
done on and in the list view.

bzr revid: xmo@openerp.com-20121019110804-3kg91rro91isp771
2012-10-19 13:08:04 +02:00
Xavier Morel 3be621b9bc [IMP] hack-ish hack to make reorderable lists non-reorderable in readonly o2m
* Technically this is done by the the setup_reseq override

* the filtering added to FieldOne2Many is for UI improvement

bzr revid: xmo@openerp.com-20121019100725-izotstggoxpfjk6k
2012-10-19 12:07:25 +02:00
Fabien Meghazi 6e04399945 [FIX] m2o#focus() does nothing when readonly
bzr revid: fme@openerp.com-20121018154755-a9hurjb0664l03x2
2012-10-18 17:47:55 +02:00
Xavier Morel b5be361c55 [FIX] various listview issues
bzr revid: xmo@openerp.com-20121018150108-althdcxk3jc2bkun
2012-10-18 17:01:08 +02:00
Xavier Morel 4223b1e786 [IMP] add overridable dimension-setting method on form fields
bzr revid: xmo@openerp.com-20121018145712-am4y6bdnz2x14i2c
2012-10-18 16:57:12 +02:00
Fabien Meghazi adb172b7cb [IMP] Binary fields, use html5 api if available
bzr revid: fme@openerp.com-20121018143730-2qoalz6uye5ggbn5
2012-10-18 16:37:30 +02:00
Xavier Morel 6782c33a32 [FIX] only reload m2m listview once after adding n records to it (via dialog)
The listview does not support concurrent reload requests, either wait
for the previous reload to finish before sending the new one, or just
send a single reload.

For m2m, can wait and do a single reload so do that.

bzr revid: xmo@openerp.com-20121018134123-ox2ccq0wm3r5jwas
2012-10-18 15:41:23 +02:00
vta vta@openerp.com 59aaa765a6 [FIX] Fixed event name.
bzr revid: vta@openerp.com-20121018124607-rifo06nfx7jo134e
2012-10-18 14:46:07 +02:00
vta vta@openerp.com 98431bccd9 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121018122324-hf4y784k49s0vsye
2012-10-18 14:23:24 +02:00
vta vta@openerp.com 1e70837161 [FIX] Fixed on_loaded in all different views.
bzr revid: vta@openerp.com-20121018114950-svqy0gje04vw2ysc
2012-10-18 13:49:50 +02:00
vta vta@openerp.com 8b4580ea86 [FIX] Fixed on_loaded in Menu and Search.
bzr revid: vta@openerp.com-20121018085028-d0ww48el2jwmtcpg
2012-10-18 10:50:28 +02:00
vta vta@openerp.com bd049325f0 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015095120-slieowls1jkkeguj
bzr revid: vta@openerp.com-20121018070252-l2r83wkj5mfuu5y0
2012-10-18 09:02:52 +02:00
Antony Lesuisse b85b32fb2b [IMP] form view set default show invisible fields in conditions
bzr revid: al@openerp.com-20121017142835-a6jdps82it12y03b
2012-10-17 16:28:35 +02:00
niv-openerp 73950424bb [FIX] removed dirty hack to put buttons in footer of dialogs with an official dirty feature
bzr revid: nicolas.vanhoren@openerp.com-20121016125627-vevqllvshay5fpv4
2012-10-16 14:56:27 +02:00
niv-openerp 18a4297544 [MERGE] Modified Form Fields to able to set their value before they are rendered
bzr revid: nicolas.vanhoren@openerp.com-20121016123559-g3gjf73uzqz4u1xv
2012-10-16 14:35:59 +02:00
niv-openerp 886e1fcdd9 [FIX] put back old behavior about save and readonly fields in form view
bzr revid: nicolas.vanhoren@openerp.com-20121016123101-huzasphtqujf87b3
2012-10-16 14:31:01 +02:00
niv-openerp ebe002fb42 Merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121015091656-5x8nxy3116y3q7jd
bzr revid: nicolas.vanhoren@openerp.com-20121016084001-mqzq3blhb78t9e7o
2012-10-16 10:40:01 +02:00
niv-openerp 3db503e423 [IMP] Now form view relation popups use $buttons.
bzr revid: nicolas.vanhoren@openerp.com-20121015132444-v3379ccn5xau8220
2012-10-15 15:24:44 +02:00
vta vta@openerp.com 68cf1f2d6a [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015082458-rudm5r0718ky7829
2012-10-15 10:24:58 +02:00
vta vta@openerp.com 76fe889331 [FIX] Fixed some small issues concerning event triggering.
bzr revid: vta@openerp.com-20121015075320-2zgo32vy5fengm7b
2012-10-15 09:53:20 +02:00
vta vta@openerp.com c6dfd8afc1 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121015071605-jgupguux9p1aavdm
2012-10-15 09:16:05 +02:00
niv-openerp 0c1b8b5a4c Fix problem with focus called before the field is started
bzr revid: nicolas.vanhoren@openerp.com-20121012145143-oooxbdovspsjcxfk
2012-10-12 16:51:43 +02:00
niv-openerp 0bd69bd176 Corrected some more problems with is_syntax_valid()
bzr revid: nicolas.vanhoren@openerp.com-20121012144352-jejnnpu18otgrnvp
2012-10-12 16:43:52 +02:00
niv-openerp e3b7890ac3 fixed bug with datetimes
bzr revid: nicolas.vanhoren@openerp.com-20121012144037-u29a479c1oa4b3bw
2012-10-12 16:40:37 +02:00
vta vta@openerp.com 49c1c88962 [FIX] Fixed naming related to selected_elements.
bzr revid: vta@openerp.com-20121012131044-w4afp0shefzwlo7t
2012-10-12 15:10:44 +02:00
niv-openerp 0ec666932c merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121012130433-sf6ogoc7odu2yrnh
2012-10-12 15:04:33 +02:00
niv-openerp 5f4e81d2bb Corrected multiple rendering problem in m2o
bzr revid: nicolas.vanhoren@openerp.com-20121012125620-h2pgav1nyj5tpq2z
2012-10-12 14:56:20 +02:00
vta vta@openerp.com db64cf7097 [FIX] Fixed naming related to datetime widget changes.
bzr revid: vta@openerp.com-20121012130140-a1nzawstkgy8a9lx
2012-10-12 15:01:40 +02:00
niv-openerp ccfa2e83d4 Modified documentation.
bzr revid: nicolas.vanhoren@openerp.com-20121012123713-6cmnayk7pr3mgs4p
2012-10-12 14:37:13 +02:00
Vidhin Mehta (OpenERP) 4112f2b3a7 [IMP]method name change
bzr revid: vme@tinyerp.com-20121012121911-nmzuomg2p87qiszp
2012-10-12 17:49:11 +05:30
Vidhin Mehta (OpenERP) 680b55b7e0 [MERGE]trunk.
bzr revid: vme@tinyerp.com-20121012114759-gno4bovsdi5u7uuj
2012-10-12 17:17:59 +05:30
vta vta@openerp.com 60cc377c33 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121012114711-5msihfk40e42n6iz
2012-10-12 13:47:11 +02:00
Vishmita 15974eb2e0 [IMP]replace callenabled for on_loaded
bzr revid: vja@tinyerp.com-20121012114534-qx7y6dzmqkw7t7px
2012-10-12 17:15:34 +05:30
niv-openerp 36fa302c35 Fixed bug in m2m tags
bzr revid: nicolas.vanhoren@openerp.com-20121012111440-2y1q0745nv7nouiy
2012-10-12 13:14:40 +02:00
Vidhin Mehta (OpenERP) 0602cd5748 [IMP]trigger event when date is valid.
bzr revid: vme@tinyerp.com-20121012103104-pe3w6qs02nygfyb7
2012-10-12 16:01:04 +05:30
Vidhin Mehta (OpenERP) 942ca6cf16 [IMP]
bzr revid: vme@tinyerp.com-20121012102728-coosthdgxz17z20q
2012-10-12 15:57:28 +05:30
Vidhin Mehta (OpenERP) 43c09a03ba [MERGE]trunk.
bzr revid: vme@tinyerp.com-20121012100204-rbnrexc9w1qaph1w
2012-10-12 15:32:04 +05:30
vta vta@openerp.com fb865d1871 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121012092939-a90zcuh4r605n7en
2012-10-12 11:29:39 +02:00
vta vta@openerp.com 885f9c4042 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121012090105-d6ggjdyjh70zxbdv
bzr revid: vta@openerp.com-20121012091841-cg9ief3mm8jrnjhq
2012-10-12 11:18:41 +02:00
niv-openerp dbe370f585 Ported m2mkanban and corrected bug in selection
bzr revid: nicolas.vanhoren@openerp.com-20121012091820-u712bie1h2a84l8a
2012-10-12 11:18:20 +02:00
niv-openerp bb2d99c007 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121012090736-edqy00ejzfoxi7tv
2012-10-12 11:07:36 +02:00
niv-openerp d17b33aea6 [FIX] problem with field reference
bzr revid: nicolas.vanhoren@openerp.com-20121012090644-8wy3z4mr6080oa7b
2012-10-12 11:06:44 +02:00
Vishmita 31a42989a7 [IMP]Improve Code
bzr revid: vja@tinyerp.com-20121012084900-zja87nszeh3q1ree
2012-10-12 14:19:00 +05:30
niv-openerp 7314375aca Ported m2m, still has to port m2mtags
bzr revid: nicolas.vanhoren@openerp.com-20121012084337-7etwh54ugl4k01mu
2012-10-12 10:43:37 +02:00
Vidhin Mehta (OpenERP) ffb5a9c802 [IMP]method name change.
bzr revid: vme@tinyerp.com-20121012083827-hq8xrnn333foyiu3
2012-10-12 14:08:27 +05:30
Vishmita 833c7bdc52 [FIX]Change name of the event and 'on_pager_action' function
bzr revid: vja@tinyerp.com-20121012062004-2an59ci8z5o9ijpu
2012-10-12 11:50:04 +05:30
Antony Lesuisse 25181d3f51 [FIX] view_form copy
bzr revid: al@openerp.com-20121011200346-p0gq5tq1wsoqyx0a
2012-10-11 22:03:46 +02:00
Xavier Morel 47db6f3e45 [FIX] restrict set_default values to the current user's company, courtesy of Guewen Baconnier
bzr revid: xmo@openerp.com-20121011163518-iyewcncrfvqm6o7a
2012-10-11 18:35:18 +02:00
niv-openerp 55a5f51aeb Ported o2m
bzr revid: nicolas.vanhoren@openerp.com-20121011162918-d15ip9ci4o24axzy
2012-10-11 18:29:18 +02:00
niv-openerp fb944a77fa Ported field status
bzr revid: nicolas.vanhoren@openerp.com-20121011161816-lnz7prb3ag6nrbi3
2012-10-11 18:18:16 +02:00
niv-openerp f5b1729758 Fixed lot of stuff and rewritten partially field status
bzr revid: nicolas.vanhoren@openerp.com-20121011160902-llwsclos30nju80s
2012-10-11 18:09:02 +02:00
niv-openerp b164a96535 Ported m2mtags, reference and binary, still need to port o2m & m2m
bzr revid: nicolas.vanhoren@openerp.com-20121011154700-nm1j0nibq3xazaix
2012-10-11 17:47:00 +02:00
niv-openerp 2fadf797e5 Ported the m2o
bzr revid: nicolas.vanhoren@openerp.com-20121011153506-b91c4xm2jsf6a6t7
2012-10-11 17:35:06 +02:00
niv-openerp 7cd873f86f fix typo
bzr revid: nicolas.vanhoren@openerp.com-20121011152308-exmq8zruqba7u4fw
2012-10-11 17:23:08 +02:00
niv-openerp 4757e5287e Modified fields up to m2o
bzr revid: nicolas.vanhoren@openerp.com-20121011152140-c4edgpmamqgiwx9s
2012-10-11 17:21:40 +02:00
niv-openerp 3da22818fa Modified the way the fields are inserted a little bit more
bzr revid: nicolas.vanhoren@openerp.com-20121011145148-ii0p0t704gdmmf24
2012-10-11 16:51:48 +02:00
niv-openerp 9ff1aa9f4a Removed lot of useless stuff and modified the form rendering engine to let the form view insert the fields.
bzr revid: nicolas.vanhoren@openerp.com-20121011144705-cu4c2gzsghc2or2l
2012-10-11 16:47:05 +02:00
vta vta@openerp.com 021ccb5b51 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121011135030-zb793i82jxqmg9us
2012-10-11 15:50:30 +02:00
Vidhin Mehta (OpenERP) c6fa315737 [IMP]do_save method with trigger.
bzr revid: vme@tinyerp.com-20121011132122-m8qq603wk4gla0fq
2012-10-11 18:51:22 +05:30
vta vta@openerp.com 9dac4ea6b9 [MERGE] Latest trunk.
bzr revid: vta@openerp.com-20121011130500-y8zhrjwv3g4j2pn3
2012-10-11 15:05:00 +02:00
Vidhin Mehta (OpenERP) d1edeee7f3 [IMP]replace callbackenable method.
bzr revid: vme@tinyerp.com-20121011130011-haovxmxr3pj10unp
2012-10-11 18:30:11 +05:30
niv-openerp c538db258a [IMP] now uses py.eval for options
bzr revid: nicolas.vanhoren@openerp.com-20121011125748-8au3gmss2436h5lw
2012-10-11 14:57:48 +02:00
Vishmita b13ee21296 [IMP]replace callenabled for on_controller_inited
bzr revid: vja@tinyerp.com-20121011104341-7r4fr4l687bn9qqe
2012-10-11 16:13:41 +05:30
Vidhin Mehta (OpenERP) 5bb6122f73 [IMP]change method on_selected_elements to elements_selected.
bzr revid: vme@tinyerp.com-20121011102849-yn9nldtgqszp70gq
2012-10-11 15:58:49 +05:30
Vidhin Mehta (OpenERP) dd747c0962 [IMP]replace callbackenable from dateset on_change event.
bzr revid: vme@tinyerp.com-20121011094132-9a752zxib2rpy4ji
2012-10-11 15:11:32 +05:30
Vidhin Mehta (OpenERP) c85340e995 [IMP]
bzr revid: vme@tinyerp.com-20121011073331-w5xhv6kbr2taphfz
2012-10-11 13:03:31 +05:30
Vidhin Mehta (OpenERP) 0d257305d3 [IMP]replace callbackenable from datetime on_change event.
bzr revid: vme@tinyerp.com-20121011072854-l87h37b8apbnzuiu
2012-10-11 12:58:54 +05:30
Vidhin Mehta (OpenERP) 43217cc2b4 [IMP]replace callbackenable from on_select_elements.
bzr revid: vme@tinyerp.com-20121011070439-vzcua4yoiwlz2evk
2012-10-11 12:34:39 +05:30
Vishmita 79d6687b4a [MERGE]Merge Trunk
bzr revid: vja@tinyerp.com-20121011062721-ah60e7lrtg07ng5x
2012-10-11 11:57:21 +05:30
Antony Lesuisse f44ea704fe [IMP] CrashManager use event dispatcher and cleanups
bzr revid: al@openerp.com-20121011003729-jjbh5se1cpsachvm
2012-10-11 02:37:29 +02:00
Antony Lesuisse a7891a99bb [MERGE] trunk-export_terminology-mdi manually
bzr revid: al@openerp.com-20121010212352-ulfyar0j2x2w2jbo
2012-10-10 23:23:52 +02:00
Fabien Pinckaers e085739262 [MERGE] binary fields
bzr revid: fp@openerp.com-20121010202248-xjg4bl3dolrjuder
2012-10-10 22:22:48 +02:00
vta vta@openerp.com db919af452 [MERGE] trunk-trigger-on_unlink.
bzr revid: vta@openerp.com-20121010143653-wi0yjq91l8ty43uj
2012-10-10 16:36:53 +02:00
vta vta@openerp.com 6b509ab8ea [FIX] on_unlink.
bzr revid: vta@openerp.com-20121010143607-nv3lhmy8r27m1ls9
2012-10-10 16:36:07 +02:00
vta vta@openerp.com 709eca0aa6 [MERGE] Merged trunk-trigger-on_saved.
bzr revid: vta@openerp.com-20121010132543-1363lzujopqo0wo7
2012-10-10 15:25:43 +02:00
ggh-openerp 6454fd1590 [IMP] Remove add_last in on_search method
bzr revid: ggh@tinyerp.com-20121010132349-n3gdg0jhtyjfufma
2012-10-10 18:53:49 +05:30
vta vta@openerp.com 94ac244a22 [FIX] Fixed on_saved.
bzr revid: vta@openerp.com-20121010132049-uuqru2c0k81s3o90
2012-10-10 15:20:49 +02:00
vta vta@openerp.com afd1a80620 [MERGE] trunk-trigger-on_created.
bzr revid: vta@openerp.com-20121010123729-vu3tdkrye78vjtph
2012-10-10 14:37:29 +02:00
vta vta@openerp.com 3195c02971 [FIX] Fixed on_created.
bzr revid: vta@openerp.com-20121010123351-gq8mr73z5avh79nd
2012-10-10 14:33:51 +02:00
vta vta@openerp.com 9acd1e6bf3 [FIX] Fixed on_created.
bzr revid: vta@openerp.com-20121010120917-8aah2jrats09jaol
2012-10-10 14:09:17 +02:00
Antony Lesuisse f486bf1c9f [FIX] o2m switch_view
bzr revid: al@openerp.com-20121010120849-8qekbmy570zozicn
2012-10-10 14:08:49 +02:00
vta vta@openerp.com 95aaa7f926 [MERGE] trunk-trigger-on_button_cancel.
bzr revid: vta@openerp.com-20121010114158-ktm6gbfdcsax4uxe
2012-10-10 13:41:58 +02:00
vta vta@openerp.com 46b5ac9a37 [FIX] Fixed on_button_cancel.
bzr revid: vta@openerp.com-20121010114007-3cw3qlxu2zwt1k0s
2012-10-10 13:40:07 +02:00
Antony Lesuisse 4c7f416dd4 [FIX] switch_view
bzr revid: al@openerp.com-20121010113025-qpz12d28uob7hab9
2012-10-10 13:30:25 +02:00
vta vta@openerp.com a8bf5bfbab [FIX] Fixed event name on_write_complete.
bzr revid: vta@openerp.com-20121010101246-1ht2npz6l75ah06e
2012-10-10 12:12:46 +02:00
vta vta@openerp.com d50874c9b6 [MERGE] Merged trunk-trigger-on_record_loaded.
bzr revid: vta@openerp.com-20121010100524-8njbdbkio2ehfebs
2012-10-10 12:05:24 +02:00
vta vta@openerp.com 40eceb20a3 [FIX] Fixed on_record_loaded.
bzr revid: vta@openerp.com-20121010100233-tulf3c1fvnt2s85e
2012-10-10 12:02:33 +02:00
vta vta@openerp.com f1981217e0 [MERGE] Merged trunk-trigger-on_mode_switch.
bzr revid: vta@openerp.com-20121010094915-29fy09rwsqxhlbmo
2012-10-10 11:49:15 +02:00