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
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
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
Xavier Morel
e431cda2d3
[MERGE} from trunk
...
bzr revid: xmo@openerp.com-20120711112959-tcb9epdfc9frt6ux
2012-07-11 13:29:59 +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
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
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
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
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
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
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