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
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
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
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
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
Fabien Meghazi
0e5ef33fdc
[IMP] Remove useless code in binary fields
...
bzr revid: fme@openerp.com-20120614155758-lglfapqxkrctrfn4
2012-06-14 17:57:58 +02:00
niv-openerp
4d386b402d
[IMP] Only displays warning in m2o if the user typed something.
...
bzr revid: nicolas.vanhoren@openerp.com-20120614142309-xf4pj2oo5bl7zh9x
2012-06-14 16:23:09 +02:00
Fabien Meghazi
edcf216d33
[FIX] Saving a binary field not saved yet crashes
...
lp bug: https://launchpad.net/bugs/1010475 fixed
bzr revid: fme@openerp.com-20120614150010-ik6f3rqk8li314aq
2012-06-14 17:00:10 +02:00
Xavier Morel
055edd7790
[ADD] automatic save of o2m rows being created/edited when clicking/focusing outside
...
bzr revid: xmo@openerp.com-20120614123731-x2owyp4nc1yi1ocj
2012-06-14 14:37:31 +02:00
niv-openerp
812f6aca49
[IMP] Some change in o2m
...
bzr revid: nicolas.vanhoren@openerp.com-20120614094411-mqfsj1r8ct4hht20
2012-06-14 11:44:11 +02:00
Fabien Meghazi
5179f7293c
[REV] Revert revid:fme@openerp.com-20120611151704-u2krxz14wvmvqura which broke field@widget=image
...
bzr revid: fme@openerp.com-20120614084009-3ovgmo8azp7vg9n2
2012-06-14 10:40:09 +02:00
Xavier Morel
533f17231c
[FIX] if a form is not dirty, always consider the corresponding o2m[list] to be valid
...
the user has not modified the editable line after opening it (whether to create a new record or to edit an existing one), so shouldn't be invalid
bzr revid: xmo@openerp.com-20120613153555-fq0moy1q464l92yj
2012-06-13 17:35:55 +02:00
Xavier Morel
e475bc7a2a
[IMP] don;t needlessly wrap values into deferreds in pipes
...
bzr revid: xmo@openerp.com-20120613153412-c2byqrc66jcn0e97
2012-06-13 17:34:12 +02:00
Xavier Morel
5ec4ecf85d
[FIX] O2M validation: correctly proxy validation from/to edited row of the list view, if any
...
bzr revid: xmo@openerp.com-20120613100819-sw93kst4dpwhnu1p
2012-06-13 12:08:19 +02:00
Fabien Meghazi
1ce9ec0718
[IMP] Improved hidden file uploads usage
...
bzr revid: fme@openerp.com-20120613100516-1opf05g81icwuwbr
2012-06-13 12:05:16 +02:00
Fabien Meghazi
554195630b
[IMP] Improved o2m and m2m viewmanager/listview styling
...
bzr revid: fme@openerp.com-20120612131543-qmltlt7p1h8g5xk5
2012-06-12 15:15:43 +02:00
Fabien Meghazi
15149e26fc
[FIX] In form view, <image> tag is not a binary image but an <img>
...
bzr revid: fme@openerp.com-20120611151704-u2krxz14wvmvqura
2012-06-11 17:17:04 +02:00
Fabien Meghazi
b69ad45904
[ADD] Added oe_form_field_one2many classname
...
bzr revid: fme@openerp.com-20120612115205-3wj6odknj61qpvit
2012-06-12 13:52:05 +02:00
Fabien Meghazi
396aede019
[FIX] Fixed some hidden classes problem, improved binary image field's styling
...
bzr revid: fme@openerp.com-20120612081812-5w6e2bmg0pl6ou12
2012-06-12 10:18:12 +02:00
Fabien Meghazi
4cc23e0e0b
[FIX] Fixed form@version support in FormViewRenderingEngine
...
bzr revid: fme@openerp.com-20120612081058-djm5yz1sccdlnm10
2012-06-12 10:10:58 +02:00
niv-openerp
d369945699
[IMP] added warning messages in o2m when using an unsupported type of view, also removed form view handling in o2m
...
bzr revid: nicolas.vanhoren@openerp.com-20120611160729-wtqg0o0ry12pyi04
2012-06-11 18:07:29 +02:00
niv-openerp
1ddac412b7
[fix] added sortable false in o2m & m2m
...
bzr revid: nicolas.vanhoren@openerp.com-20120611152819-rk9zeosndxjrajfa
2012-06-11 17:28:19 +02:00
Fabien Meghazi
3f6a65ea01
[REM] Removed openerp.log
...
bzr revid: fme@openerp.com-20120611091909-269ukzc2gftkwuma
2012-06-11 11:19:09 +02:00
Fabien Pinckaers
b1d663896b
[IMP] old style views supported with version=...
...
bzr revid: fp@tinyerp.com-20120609160009-ng8l3f8fa1sojkjw
2012-06-09 18:00:09 +02:00