Commit Graph

926 Commits

Author SHA1 Message Date
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
Thibault Delavallée f0e50ce71c [ADD] Added text_html / FieldTextHtml widget. Basically, it is a FieldText widget with the CLEditor added on the textarea. Some customization work will have to be done though.
bzr revid: tde@openerp.com-20120615143520-irw7ougo19c0fvi8
2012-06-15 16:35:20 +02:00
Thibault Delavallée 4bcfefc1b3 [MERGE] Merged with mail-state-tde branch, recently updated with trunk.
bzr revid: tde@openerp.com-20120611104153-6jdibqpb91j96yh2
bzr revid: tde@openerp.com-20120612080733-kuvu2adf4yimwc0d
bzr revid: tde@openerp.com-20120614084104-bq35p2qdkjw2bswb
bzr revid: tde@openerp.com-20120615082243-ur6p3xkt6k5k1h3r
2012-06-15 10:22:43 +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
Antony Lesuisse fdb59927d7 [MERGE] css generic tags
bzr revid: al@openerp.com-20120713100040-yfoyc5jp6qf9llxb
2012-07-13 12:00:40 +02:00
Antonin Bourguignon b83fff287a [IMP] change CSS classes for m2m tags and get them out of the oe_form namespace
this way, we can consistently display m2m tags anywhere without dummy CSS copy/paste (example: projet issues, projet tasks)
oe_form_field_many2manytags became oe_field_many2many_tags (container)
oe_form_field_many2manytags_box became oe_field_many2many_tag (item)
Qweb templates names have been changed accordingly

bzr revid: abo@openerp.com-20120712125637-hji6e9chch1h01f0
2012-07-12 14:56:37 +02:00
Fabien Meghazi 5ae60d10df [MERGE] trunk
bzr revid: fme@openerp.com-20120710095847-3ug1vdagysc2licl
2012-07-10 11:58:47 +02:00
Fabien Meghazi 1a2c33faa2 [WIP] breadcrumb
bzr revid: fme@openerp.com-20120705080450-j1o7p0vebjtd4ch3
2012-07-05 10:04:50 +02:00
Fabien Meghazi 0cc5148b8c [ADD] Add 'options' to do_switch_view() piped to do_show()
bzr revid: fme@openerp.com-20120607160801-z86cgeo00epiyq61
2012-06-07 18:08:01 +02:00
niv-openerp c7e32e7175 [FIX] Problem with SelectCreatePopup, the list view can sometimes be editable
lp bug: https://launchpad.net/bugs/1005812 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120607152301-mu43z3n7q2fonsuk
2012-06-07 17:23:01 +02:00
Fabien Meghazi 6e08596d2a [FIX] Some fields won't be marked as invalid upon save
bzr revid: fme@openerp.com-20120607143104-uzjpid04jtwvctw8
2012-06-07 16:31:04 +02:00
niv-openerp d1018bb031 [FIX] problem with m2m and default values
lp bug: https://launchpad.net/bugs/997019 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120607141930-f9q4gg88d0fe9yyq
2012-06-07 16:19:30 +02:00
Fabien Meghazi 45fc9bba23 [ADD] Add classname for Form's invisible widgets
bzr revid: fme@openerp.com-20120607140725-qrvmvd7bvgdwnxos
2012-06-07 16:07:25 +02:00
niv-openerp 2c616a90b2 [fix] problem with warnings during on_changes
bzr revid: nicolas.vanhoren@openerp.com-20120607123824-f5sww4jmwiqid4bb
2012-06-07 14:38:24 +02:00
Xavier Morel 79044bc264 [ADD] handling of required attr on m2m fields
bzr revid: xmo@openerp.com-20120607111149-cgf3ap0yjzsxrkjx
2012-06-07 13:11:49 +02:00
niv-openerp 4a5e539042 [fix] problem with notebooks, does not change current tab when it is switching to invisible
bzr revid: nicolas.vanhoren@openerp.com-20120607104123-tm7bgjt91m771die
2012-06-07 12:41:23 +02:00
msh-openerp 3dde84cb82 [FIX]Refixed the issue of pad button not rendered when we delete the pad link.
bzr revid: msh@tinyerp.com-20120607083645-nyrk6vu3fjnmj5sv
2012-06-07 14:06:45 +05:30
cpa-openerp 55954ed199 [FIX] Code optimization as per suggestion.
bzr revid: cpa@tinyerp.com-20120607060633-ewnd0kr9qzxw0tey
2012-06-07 11:36:33 +05:30
Xavier Morel af000c9dd2 [IMP] performances when opening an m2o "search" without any filtering term
Don't prefilter via name_search if no data has been entered in the m2o
field, it's going to return all records (not paginated) so it's a
waste of time and resources

bzr revid: xmo@openerp.com-20120606124717-h2p211vbrydazado
2012-06-06 14:47:17 +02:00
Xavier Morel bc25bd8cce [FIX] reloading of o2m forms in dialogs (popups) after clicking on a button
bzr revid: xmo@openerp.com-20120606123230-bjwrplz1xeekeecg
2012-06-06 14:32:30 +02:00
niv-openerp fdd78a5dcf [fix] small problem with visibility and reinitialize mixin
bzr revid: nicolas.vanhoren@openerp.com-20120605161610-vaokz5p7pz706lqj
2012-06-05 18:16:10 +02:00
niv-openerp c94a049fd1 [merge] lot of fixes and minor improvements regarding kanban views and relations
bzr revid: nicolas.vanhoren@openerp.com-20120605152411-q5jv4eyr1dviji82
2012-06-05 17:24:11 +02:00
Fabien Meghazi 4d6fe3c10b [IMP] FormRenderingEngine: generated labels inherits field's classes
bzr revid: fme@openerp.com-20120605125332-qp6n92jowajmc54y
2012-06-05 14:53:32 +02:00
Fabien Pinckaers 32002a6852 [FIX] layouting of groups when row with too fee cols
bzr revid: fp@tinyerp.com-20120604210031-omhqeaim4g4gogsj
2012-06-04 23:00:31 +02:00
Fabien Pinckaers eefd98c603 [FIX] layouting of groups when row with too fee cols
bzr revid: fp@tinyerp.com-20120604204449-ci68yf3p1837170h
2012-06-04 22:44:49 +02:00
Fabien Meghazi 58416fcc09 [IMP] Improved field type image's control buttons (makes them overlay)
bzr revid: fme@openerp.com-20120604144211-hoyz2bekmoc7hods
2012-06-04 16:42:11 +02:00
niv-openerp 6ce3b6aeef Removed ability to click to link in m2m_tags
bzr revid: nicolas.vanhoren@openerp.com-20120604124543-tc39k033k5ny1k42
2012-06-04 14:45:43 +02:00
niv-openerp 344a602f31 fixed some problems for m2m_kanban
bzr revid: nicolas.vanhoren@openerp.com-20120604123609-yo00px9dvr6mj2cc
2012-06-04 14:36:09 +02:00
Fabien Meghazi 1317543d72 [IMP] Hide empty fields in form readonly
bzr revid: fme@openerp.com-20120604114433-4dvm68xvdmln0ck6
2012-06-04 13:44:33 +02:00
niv-openerp e304cd68eb Customization of kanban view for m2m
bzr revid: nicolas.vanhoren@openerp.com-20120604103735-qrxlou2p8kdm2vq8
2012-06-04 12:37:35 +02:00
Fabien Meghazi 4d80adac5b [ADD] Add class on oe_form when no <sheet> is present
bzr revid: fme@openerp.com-20120604101145-5o9ssysf6lx4o450
2012-06-04 12:11:45 +02:00
Fabien Meghazi d69df82d01 [FIX] Fix date fields widgets
bzr revid: fme@openerp.com-20120604093239-szs3brw3ioyg3dr0
2012-06-04 11:32:39 +02:00
niv-openerp 72e17e620e Added customization in kanban view to better fit o2m
bzr revid: nicolas.vanhoren@openerp.com-20120604093103-lydwjek920m3zxoe
2012-06-04 11:31:03 +02:00
niv-openerp 6a528804f5 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20120604085526-mkjq2s8hqwdx4fg0
bzr revid: nicolas.vanhoren@openerp.com-20120604091513-ixvdc1q6f854za8r
2012-06-04 11:15:13 +02:00
Fabien Pinckaers d4f68f98c9 [IMP] clean design, bugfix on reference fields
bzr revid: fp@tinyerp.com-20120601171053-vbpe16k783tpzvz4
2012-06-01 19:10:53 +02:00
Fabien Pinckaers 75f18a1402 [IMP] opportunity CSS
bzr revid: fp@tinyerp.com-20120601153211-ctugrclqh2z26qck
2012-06-01 17:32:11 +02:00
Antony Lesuisse aa7326c1c8 [MERGE] form statusbar add m2o support for stages, remove colors
bzr revid: al@openerp.com-20120531160612-l0iq9zdizmvnuems
2012-05-31 18:06:12 +02:00
Fabien Meghazi 99feb93de9 [ADD] form <header, footer, h1, h2, ... > + editable/readonly hidden classes
bzr revid: fme@openerp.com-20120531150550-zpl67q0lcy0omlmf
2012-05-31 17:05:50 +02:00
Thibault Delavallée 0a2718cce8 [CLEAN] FieldStatud widget: added missing ';' and '{}'.
bzr revid: tde@openerp.com-20120531143944-q41ktw0kahiryvnj
2012-05-31 16:39:44 +02:00
Thibault Delavallée 3cb2fb8534 [IMP] FieldStatus for selection get_selection now always return a true deferred; for a selection it is resolved, because nothing asynchronous has to be done.
bzr revid: tde@openerp.com-20120531142854-qrr3zlh5m5wrjtcf
2012-05-31 16:28:54 +02:00
niv-openerp 53597dc192 Small inconsistency in m2mtags
bzr revid: nicolas.vanhoren@openerp.com-20120531094100-ynh1zz5koclrkxbd
2012-05-31 11:41:00 +02:00
Fabien Meghazi aa13f0c118 [REM] Removed layout auto|manual. Layout is always manual. <group> is not anymore implicit for <form>, <sheet>, and <page>
bzr revid: fme@openerp.com-20120531090830-1qeqfpfg0mijmqbd
2012-05-31 11:08:30 +02:00
Thibault Delavallée 492c3134f4 [MERGE] Merged with main web.
bzr revid: tde@openerp.com-20120531083135-uaz2127ns74fua8h
2012-05-31 10:31:35 +02:00
Fabien Meghazi 950490f792 [FIX] Make most fields inline(-block) instead of block level elements
bzr revid: fme@openerp.com-20120530212651-eqzd23mvrjw1bgla
2012-05-30 23:26:51 +02:00
niv-openerp bedf81f2da [fix] m2mtags shoul dhide records already added in search
bzr revid: nicolas.vanhoren@openerp.com-20120530093916-yhbu70cp2g9cnxsv
2012-05-30 11:39:16 +02:00
Fabien Meghazi 5a65e3459b [FIX] FormRenderingEngine losing text nodes.
bzr revid: fme@openerp.com-20120530093446-idhvo9n1so65q28x
2012-05-30 11:34:46 +02:00
Thibault Delavallée 00749f2d20 [CLEAN] Cleaned some typos in comments.
bzr revid: tde@openerp.com-20120530075252-cp9d1lbm45cl81xb
2012-05-30 09:52:52 +02:00
Thibault Delavallée 69abde8d44 [MERGE] Merged with main web.
bzr revid: tde@openerp.com-20120529072838-z716hnsa3fci3c84
bzr revid: tde@openerp.com-20120530072902-crntwvi7faijzl9o
2012-05-30 09:29:02 +02:00
Fabien Meghazi cebad651c9 [FIX] Formview: invalid fields sometimes list 'undefined'
bzr revid: fme@openerp.com-20120529153238-zg88ensj232q5tuu
2012-05-29 17:32:38 +02:00
Fabien Meghazi bcb86755c0 [FIX] Fix trunk-fp
bzr revid: fme@openerp.com-20120529151055-gc098pdvfvyh3dep
2012-05-29 17:10:55 +02:00
msh-openerp 0777583ac9 [FIX]Fixed the issue of pad button not rendered when deletes a pad from the attachment area.
bzr revid: msh@tinyerp.com-20120529074017-6woyh00mz8fl18v0
2012-05-29 13:10:17 +05:30
Fabien Pinckaers 9d7d7f668b [IMP] improved CSS, XML
bzr revid: fp@openerp.com-20120528172114-dc950hkrmn9wthnd
2012-05-28 19:21:14 +02:00
Antony Lesuisse 0b3329874e [FIX] view_form widget registry exception
bzr revid: al@openerp.com-20120525192208-fpcvdogu167ghk7v
2012-05-25 21:22:08 +02:00
niv-openerp bdea8fde06 changed something
bzr revid: nicolas.vanhoren@openerp.com-20120525150544-1b4dm827zpg3ehay
2012-05-25 17:05:44 +02:00
niv-openerp ce77d86da4 merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20120525131037-n077w3nh3mu70y62
bzr revid: nicolas.vanhoren@openerp.com-20120525142624-rdkx40r0w1cahdto
2012-05-25 16:26:24 +02:00
niv-openerp b0b6779555 [fix] small problem with o2m kanban
bzr revid: nicolas.vanhoren@openerp.com-20120525134031-txtpoy8nlh2167qj
2012-05-25 15:40:31 +02:00
Xavier ALT 27c16a7721 [FIX] OPW 574218: many2one: do not prefilter records when user click on 'Search More' with empty text
- Normally when user click on 'Search More' on many2one fields, relation
   object records are prefiltered based on the text user entered in the
   many2one field.
       But if user do not enter any text before click on 'Search More',
   system will call name_search() with an empty search criteria - and
   this could be quite expensive depending on the size of the dataset!.
   (this of name_search() on more that 10.000 products...)
   
   We now do not prefilter records if search value is empty (standard domain
   filtering still apply).

bzr revid: xal@openerp.com-20120525131416-ie958wu0cihjslgc
2012-05-25 15:14:16 +02:00
niv-openerp c8a27ff458 perfected quick create
bzr revid: nicolas.vanhoren@openerp.com-20120525130914-h097d6rk90p85wse
2012-05-25 15:09:14 +02:00
niv-openerp ba1512e850 many2manykanban quick create work in progress
bzr revid: nicolas.vanhoren@openerp.com-20120525125239-5s4il9xtb7p8i7kj
2012-05-25 14:52:39 +02:00
niv-openerp 120dfb5fff wip
bzr revid: nicolas.vanhoren@openerp.com-20120525120947-fr9trn68o23hzkpd
2012-05-25 14:09:47 +02:00
Thibault Delavallée 527d2c5260 [FIX] issue with deferred.
bzr revid: tde@openerp.com-20120525102744-1wbu5499p0nmr3or
2012-05-25 12:27:44 +02:00
Thibault Delavallée ea11df3838 [IMP] [CLEAN] [REF] Statusbar widget: now working, cleaned code.
bzr revid: tde@openerp.com-20120525101057-62o01luqdfl3oo53
2012-05-25 12:10:57 +02:00
Thibault Delavallée 9792150892 [CLEAN] Statusbar widget: cleaned filter_selection code and comments.
bzr revid: tde@openerp.com-20120525080124-c4pmsiu76wfb3ave
2012-05-25 10:01:24 +02:00
Thibault Delavallée 29b82e8d43 [TMP] Tmp upgrade of FieldStatus.
bzr revid: tde@openerp.com-20120525072943-egm3glsr8zwvn3es
2012-05-25 09:29:43 +02:00
niv-openerp 2889564e8d [imp] added open field
bzr revid: nicolas.vanhoren@openerp.com-20120524144251-af1b19hnyrj5p98y
2012-05-24 16:42:51 +02:00
Thibault Delavallée 4ac00c961a [MERGE] Merged with main web lp:~openerp/openerp-web/addons
bzr revid: tde@openerp.com-20120523083243-84one5gxjth4nm2z
bzr revid: tde@openerp.com-20120523153352-0pi3qsg84u2jofbq
bzr revid: tde@openerp.com-20120524075924-1o35evpzwuyh3u62
bzr revid: tde@openerp.com-20120524142730-4r2r1rgrsgqssf0q
2012-05-24 16:27:30 +02:00
niv-openerp 0194d0255e first version of many2manykanban
bzr revid: nicolas.vanhoren@openerp.com-20120524125935-6w2z7aavaq18aih1
2012-05-24 14:59:35 +02:00
vishmita 3dcccc8f7d [FIX]date widget must store the selected date immediately.
lp bug: https://launchpad.net/bugs/1002343 fixed

bzr revid: vja@vja-desktop-20120523131527-ad3vzpkcyslfqaho
2012-05-23 18:45:27 +05:30
Xavier Morel 09bc1b0d38 [IMP] remove unneeded/redundant 'switch' cases, rename variable (remove unneeded trailing underscore)
bzr revid: xmo@openerp.com-20120522141649-e87xncspejpq3tgi
2012-05-22 16:16:49 +02:00
Xavier Morel 79c79e1d17 [IMP] use field string in set defaults dialog when no @string on XML node
bzr revid: xmo@openerp.com-20120522141458-alf1wwiergkkn14m
2012-05-22 16:14:58 +02:00
Xavier Morel f5cbf44c0e [FIX] opening of 'set as default' dialog: old typo in form branch
bzr revid: xmo@openerp.com-20120522141342-vas8b2xo3nrseuem
2012-05-22 16:13:42 +02:00
vishmita 248e685dee [FIX]put title on dialog.
bzr revid: vja@vja-desktop-20120522062814-hem1abedcktkelnu
2012-05-22 11:58:14 +05:30
vishmita 43c7472d10 [FIX]on_change warning message doesn't displayed.
lp bug: https://launchpad.net/bugs/1002166 fixed

bzr revid: vja@vja-desktop-20120522060448-lgeza5uzu1wg4vjp
2012-05-22 11:34:48 +05:30
Thibault Delavallée b344bc09a7 [REM] Removed check_white method, whose interest was quite low: 1/ it was not working anymore due to template changes (refer to previous commit abotu removing duplicate template) 2/ interest of replacing by white colors whose luminance is < 128 is yet to be proved.
bzr revid: tde@openerp.com-20120518144142-oms1loax102s9p91
2012-05-18 16:41:42 +02:00
Thibault Delavallée fcff2bc356 [FIX] Fixed use of statusbar_visible for o2m fields. Also added some doc in the code.
bzr revid: tde@openerp.com-20120518133703-307z79uce2haitdr
2012-05-18 15:37:03 +02:00
Thibault Delavallée 962a5932cc [FIX] Fixed field value out of 'to show' list not showed anymore, due to a not defined self.
bzr revid: tde@openerp.com-20120518123420-xid16y12kwgyatr3
2012-05-18 14:34:20 +02:00
Thibault Delavallée 813ad817fb [IMP] Statusbar widget: made the selected_value of the element correct for many2one fields.
bzr revid: tde@openerp.com-20120518122348-urtb44twaksen4e0
2012-05-18 14:23:48 +02:00
Thibault Delavallée 4f34df3f85 [IMP] Statusbar widget: moved filtering to a dedicated method.
bzr revid: tde@openerp.com-20120518122232-fh80935istq2244l
2012-05-18 14:22:32 +02:00
Thibault Delavallée a43bd1d904 [IMP] Statusbar widget: merged the two versions into a generic one.
bzr revid: tde@openerp.com-20120518114731-k765gtrja6djp0h0
2012-05-18 13:47:31 +02:00
Thibault Delavallée 860a1cbbe2 [MERGE] Merged with main web.
bzr revid: tde@openerp.com-20120518083926-0w0igb83bbd30v03
2012-05-18 10:39:26 +02:00
Thibault Delavallée e256af698e [IMP] StatusBarO2M widget: added basic data fetch for display
bzr revid: tde@openerp.com-20120516152952-sehetnhm1uyd1t83
2012-05-16 17:29:52 +02:00
niv-openerp cf941ebbaf [fix] rollback of previous fix regarding list view buttons and replacement with another fix
bzr revid: nicolas.vanhoren@openerp.com-20120516145231-joteecabrzclkr2j
2012-05-16 16:52:31 +02:00
Fabien Meghazi c103c34a2f [FIX] Set name when uploading an image is broken on 6.1
lp bug: https://launchpad.net/bugs/950116 fixed

bzr revid: fme@openerp.com-20120516144216-vkcb8nasefh2e3qb
2012-05-16 16:42:16 +02:00
Fabien Meghazi 515ff1eb5b [FIX] Problems with statusbar widget under IE8
bzr revid: fme@openerp.com-20120516141524-1cbrdd153h2cdukw
2012-05-16 16:15:24 +02:00
niv-openerp 190b959a73 [imp] cleaned dialogs a little
bzr revid: nicolas.vanhoren@openerp.com-20120516141328-dbak0bw3wa098zwv
2012-05-16 16:13:28 +02:00
niv-openerp cef99bfee0 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120516140709-ue531n9e8wtny2l4
2012-05-16 16:07:09 +02:00
niv-openerp a6fa5d9a55 [imp] added documentation
bzr revid: nicolas.vanhoren@openerp.com-20120516140622-q7a7xu9gufotx2f2
2012-05-16 16:06:22 +02:00
niv-openerp b836c3548c [imp] made FormOpenPopup in creation mode
bzr revid: nicolas.vanhoren@openerp.com-20120516140119-e8n7y7uqqn9a2bho
2012-05-16 16:01:19 +02:00
niv-openerp 8c4fad6beb [fix] small problem with o2m
bzr revid: nicolas.vanhoren@openerp.com-20120516130510-fdgu46p1fe8zqu2e
2012-05-16 15:05:10 +02:00
niv-openerp ab21c9ac81 [imp] improved AbstractFormPopup
bzr revid: nicolas.vanhoren@openerp.com-20120516130142-quyvtv0s35uvbuug
2012-05-16 15:01:42 +02:00
Fabien Meghazi 0261542d19 [REM] Removed autolayout css class
bzr revid: fme@openerp.com-20120516125032-t1wnomvppdbobuhv
2012-05-16 14:50:32 +02:00
niv-openerp 57894a5361 [imp] created AbstractFormPopup
bzr revid: nicolas.vanhoren@openerp.com-20120516115856-p0tjpkfewq1y8ez8
2012-05-16 13:58:56 +02:00
Thibault Delavallée 2d33bf02cd [ADD] view_form: added FieldStatusO2M field, that will behave like the FieldStatus widget, taking as a basis a o2m relationship instead of a selection.
bzr revid: tde@openerp.com-20120516115014-pqa21egi369id0jf
2012-05-16 13:50:14 +02:00
niv-openerp 4d944fd341 [imp] implemented switch_view in o2m view manager and used it in kanban view
bzr revid: nicolas.vanhoren@openerp.com-20120516105251-rebt18lj9bwndydw
2012-05-16 12:52:51 +02:00
niv-openerp 6d70b97425 [imp] small modif to view manager for future refactoring
bzr revid: nicolas.vanhoren@openerp.com-20120516101634-bjne7hl4twvrfoy3
2012-05-16 12:16:34 +02:00
niv-openerp ac0d912e41 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120516092419-t3ndbvgwpxtmslmu
2012-05-16 11:24:19 +02:00
niv-openerp bfbaf48e98 [fix] create button invisible in m2m
bzr revid: nicolas.vanhoren@openerp.com-20120515141002-coccv7acdndnu3bg
2012-05-15 16:10:02 +02:00
niv-openerp 1637162715 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120514155255-uac84np8j1l6v600
2012-05-14 17:52:55 +02:00
niv-openerp b26da31d09 [imp] made kanban view read only in o2m
bzr revid: nicolas.vanhoren@openerp.com-20120514152846-pke1gtxkzn0k7l1i
2012-05-14 17:28:46 +02:00
Fabien Meghazi 23b6b10c7e [MERGE] Merge trunk
bzr revid: fme@openerp.com-20120514084623-kxu8o8bu03qzfl3f
2012-05-14 10:46:23 +02:00
vishmita dc02b19045 [FIX]when discard modification and click on next record from pager again it gives warning.
lp bug: https://launchpad.net/bugs/997468 fixed

bzr revid: vja@vja-desktop-20120511095707-jsqixg5c87u7itd4
2012-05-11 15:27:07 +05:30
niv-openerp 8c0c6c1bd7 [imp] improvements for future functionality
bzr revid: nicolas.vanhoren@openerp.com-20120510152335-2xhs5m1xvoo97d4h
2012-05-10 17:23:35 +02:00
niv-openerp b1e48d1b6a removed buttons invisible but keep other changes
bzr revid: nicolas.vanhoren@openerp.com-20120510152253-f2er58k6b0kb5kvg
2012-05-10 17:22:53 +02:00
niv-openerp ef86508a15 [fix] tab handling in many2manytags
bzr revid: nicolas.vanhoren@openerp.com-20120510085913-es6aojina66n4xei
2012-05-10 10:59:13 +02:00
niv-openerp eaeecfdc79 [imp] remove content of textarea on focusout
bzr revid: nicolas.vanhoren@openerp.com-20120509162556-clt12mro6ij59iug
2012-05-09 18:25:56 +02:00
niv-openerp e68da3b1dc [imp] optimized name_search
bzr revid: nicolas.vanhoren@openerp.com-20120509154124-6x83am250nigsuwj
2012-05-09 17:41:24 +02:00
niv-openerp 44bfc37829 [imp] added other actions
bzr revid: nicolas.vanhoren@openerp.com-20120509153246-4i2tw0scg2taz1ht
2012-05-09 17:32:46 +02:00
Fabien Meghazi 73409a6048 [REV] Revert pager. List view uses <start> - <end> of <total>
bzr revid: fme@openerp.com-20120509142134-tyeyae56efgppc17
2012-05-09 16:21:34 +02:00
niv-openerp b8c5a037f1 [fix] a few bugs
bzr revid: nicolas.vanhoren@openerp.com-20120509132419-031utpsxqyorb7sh
2012-05-09 15:24:19 +02:00
niv-openerp 3abc0d0999 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120509125854-017vc8d5q976fagp
2012-05-09 14:58:54 +02:00
Fabien Meghazi e12530558e [REM] Remove label question mark. Add label double click debugging feature
bzr revid: fme@openerp.com-20120509125642-gwo3fo19bax9cjee
2012-05-09 14:56:42 +02:00
Fabien Meghazi 104615333c [MERGE] Merge trunk
bzr revid: fme@openerp.com-20120509084139-q0jae332yok87ae1
2012-05-09 10:41:39 +02:00
Fabien Meghazi e4fdf1b061 [IMP] Support @placeholder in all text based inputs
bzr revid: fme@openerp.com-20120509081421-ycoovbxzmrmsd72f
2012-05-09 10:14:21 +02:00
niv-openerp 56cf93e993 [imp] added suppression
bzr revid: nicolas.vanhoren@openerp.com-20120508150311-v3hoje2fu3krxtgh
2012-05-08 17:03:11 +02:00
niv-openerp 6d0d0d8531 Did stuff
bzr revid: nicolas.vanhoren@openerp.com-20120508100014-zegm7echijq8xnb7
2012-05-08 12:00:14 +02:00
niv-openerp 7eb29a4787 [imp] made readonly mode
bzr revid: nicolas.vanhoren@openerp.com-20120507151548-pr82xavkghp9by3s
2012-05-07 17:15:48 +02:00
niv-openerp 36c91aa98e wip
bzr revid: nicolas.vanhoren@openerp.com-20120507125434-c5v8u7zj8vzhqtvo
2012-05-07 14:54:34 +02:00
niv-openerp d20b529562 [imp] small refactoring to be able to use get_search_result in m2m
bzr revid: nicolas.vanhoren@openerp.com-20120507123728-31bya7tgoh8vquig
2012-05-07 14:37:28 +02:00
niv-openerp 1950963f07 [wip]
bzr revid: nicolas.vanhoren@openerp.com-20120507122246-q4f06v9n2et27aqp
2012-05-07 14:22:46 +02:00
niv-openerp d099155455 [imp] switched many2many & many2manytags
bzr revid: nicolas.vanhoren@openerp.com-20120504133111-2c5v5jmiaj15islk
2012-05-04 15:31:11 +02:00
niv-openerp b0947db6d1 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120504132449-wf088it695mot621
2012-05-04 15:24:49 +02:00
niv-openerp f66db86718 [imp] added placeholder attribute handling
bzr revid: nicolas.vanhoren@openerp.com-20120504131537-ald1zw9lojbc87qa
2012-05-04 15:15:37 +02:00
niv-openerp 29e02f62aa wip
bzr revid: nicolas.vanhoren@openerp.com-20120504110615-xk8u7x7d7zmnb4a5
2012-05-04 13:06:15 +02:00
niv-openerp 2f07494fa4 [imp] tagged old m2m as 61
bzr revid: nicolas.vanhoren@openerp.com-20120503153305-vxdras5o5bb1t7zp
2012-05-03 17:33:05 +02:00