Commit Graph

342 Commits

Author SHA1 Message Date
niv-openerp 8384876ef0 [imp] renamed widget_parent to getParent()
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
2012-02-21 16:30:23 +01:00
niv-openerp 383f1750c5 [imp] wip
bzr revid: nicolas.vanhoren@openerp.com-20120221095856-656l1so4ejc06gih
2012-02-21 10:58:56 +01:00
Fabien Meghazi c02edfb523 [FIX] Broken reference field
lp bug: https://launchpad.net/bugs/936864 fixed

bzr revid: fme@openerp.com-20120220144322-e6ysl3qxsdhagls5
2012-02-20 15:43:22 +01:00
niv-openerp 571aac869c [fix] problem with reference fields
lp bug: https://launchpad.net/bugs/934330 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120220100958-bujk0yuftdlzk3fz
2012-02-20 11:09:58 +01:00
niv-openerp 9b1591c819 [fix] added openerp style to autocomplete in m2o
bzr revid: nicolas.vanhoren@openerp.com-20120217134523-bleeq4c1x3skjn4t
2012-02-17 14:45:23 +01:00
niv-openerp 0d061d6c77 [fix] added openerp class to all dialogs
bzr revid: nicolas.vanhoren@openerp.com-20120217114357-5jeue9292eg2zoqf
2012-02-17 12:43:57 +01:00
niv-openerp 1e9380b8fa [merge]
bzr revid: nicolas.vanhoren@openerp.com-20120217101731-3g9hrhs65qb32pkv
2012-02-17 11:17:31 +01:00
Fabien Meghazi ac3006c5e5 [ADD] Bind form warning to Cancel button
bzr revid: fme@openerp.com-20120215123901-po1dk32p9lbgadjk
2012-02-15 13:39:01 +01:00
Fabien Meghazi 8a5f5e1199 [IMP] Restore form dirty confirmation on pager change
bzr revid: fme@openerp.com-20120215105628-i91krjqgbx28n1h2
2012-02-15 11:56:28 +01:00
Fabien Meghazi 12c1268525 [IMP] Support for One2Many
bzr revid: fme@openerp.com-20120215103405-svbhpnu3hyx2q8rb
2012-02-15 11:34:05 +01:00
Fabien Meghazi bc233c30e5 [FIX] Merge last trunk
bzr revid: fme@openerp.com-20120215095940-2jv27t91i7u5mm0r
2012-02-15 10:59:40 +01:00
Fabien Meghazi 6f98370b38 [FIX] Fix little regression about translatable fields styling
bzr revid: fme@openerp.com-20120214163443-pz7nmhj1ktbfhucm
2012-02-14 17:34:43 +01:00
niv-openerp cf6b9b6e3e [fix] complex bug in BufferedDataSet
lp bug: https://launchpad.net/bugs/925345 fixed

bzr revid: nicolas.vanhoren@openerp.com-20120214161558-k634bkwbwq0vk58p
2012-02-14 17:15:58 +01:00
niv-openerp c8912b68d8 [fix] problem with on_changes in the editable lists in o2m
bzr revid: nicolas.vanhoren@openerp.com-20120214152031-br1lq6zqx6ycdj7p
2012-02-14 16:20:31 +01:00
Fabien Meghazi c57fc93e7c [IMP] Simplify call to date picker
bzr revid: fme@openerp.com-20120214094430-p4gm11g0paau0tnh
2012-02-14 10:44:30 +01:00
Vaibhav (OpenERP) cbbd50c764 [FIX] DatePicker remains visible(block) when clicking multiple times on picker button.
lp bug: https://launchpad.net/bugs/930050 fixed

bzr revid: vda@tinyerp.com-20120214064301-4v1umyi1hls3nq28
2012-02-14 12:13:01 +05:30
Fabien Meghazi 7de6dbed4d [FIX] Share wizard: unselectable url and embed code
I used to like Firefox... That was before webkit.

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

bzr revid: fme@openerp.com-20120213163120-7qt0171h81uh8bvp
2012-02-13 17:31:20 +01:00
Fabien Meghazi ba05ec55fd [ADD] Add sticky option to do_warn() and do_notify()
[IMP] Form view uses a notification when a record is not found in the database

bzr revid: fme@openerp.com-20120213123805-4dqg4oioous25nuo
2012-02-13 13:38:05 +01:00
Xavier Morel 76de030cde [ADD] UI to set default ir.values in web client's from view
lp bug: https://launchpad.net/bugs/888466 fixed

bzr revid: xmo@openerp.com-20120209151605-sqt0mzceqr8u160z
2012-02-09 16:16:05 +01:00
Xavier Morel be5bab60c8 [IMP] display string label of selection and m2o fields in defaults-setting dialog
bzr revid: xmo@openerp.com-20120209151410-49j13cfbrwwhrp23
2012-02-09 16:14:10 +01:00
Fabien Meghazi af15e1d83e [ADD] Added tipsy.clear()
bzr revid: fme@openerp.com-20120209135939-pcnmoswvnqjjb6ik
2012-02-09 14:59:39 +01:00
Fabien Meghazi 0d7ff5dec8 [FIX] Fix some tipsy stuff
Autobound on 'n' fails with absolute positioned elements.

Make tipsy checks that it's element is still attached to another element

bzr revid: fme@openerp.com-20120209105401-1jl11sy9z1qdwu3t
2012-02-09 11:54:01 +01:00
Xavier Morel fe31030bd2 [ADD] UI for set_default in form view sidebar
bzr revid: xmo@openerp.com-20120208122153-k11n7u47n1bo63sv
2012-02-08 13:21:53 +01:00
Fabien Meghazi 739b0d4861 [FIX] Binary#save_as does not send context. Breaks some accounting downloadable reports.
Example of broken report was : Accounting > Reporting > Legal Reports > Belgium Statements > Periodical VAT Declaration

bzr revid: fme@openerp.com-20120208103935-cv9nn9kg1vssosgm
2012-02-08 11:39:35 +01:00
Xavier Morel 3294f58fdb [FIX] usage of Registry#clone
bzr revid: xmo@openerp.com-20120208161851-pip6d97o66uj6y35
2012-02-08 17:18:51 +01:00
Fabien Meghazi 7b3094ee8a [FIX] handle multilines in <label> tags of form views
bzr revid: fme@openerp.com-20120208143943-p6i12v8cd0ua831d
2012-02-08 15:39:43 +01:00
niv-openerp 44263a42b2 [fix] revert form refactoring branch
bzr revid: nicolas.vanhoren@openerp.com-20120208111110-p2nj0tehupxa0gmz
2012-02-08 12:11:10 +01:00
Xavier Morel 8c0791ca17 [FIX] protection against self-recursive onchanges: add to the processed field list during call to onchange, not right before checking for it
processed field list protects against onchange recursion (direct or indirect), but it also prevented from triggering onchanges on other fields as well

bzr revid: xmo@openerp.com-20120207161733-wh2hqtax4s1nx9ic
2012-02-07 17:17:33 +01:00
Xavier Morel bba8fde187 [ADD] handling of change_default to onchange process
bzr revid: xmo@openerp.com-20120207160158-kxbue424wa3nxz03
2012-02-07 17:01:58 +01:00
Christophe Simonis 7d05f195d9 [FIX] handle multilines in <label> tags of form views
bzr revid: chs@openerp.com-20120207140628-4yxgxv849cjg5fl9
2012-02-07 15:06:28 +01:00
niv-openerp 243d524978 [imp] polish render and render_element usage
bzr revid: nicolas.vanhoren@openerp.com-20120207130125-xexqks24jb7mguy8
2012-02-07 14:01:25 +01:00
niv-openerp d0ae0403f5 [imp] changed name of template in form widgets
bzr revid: nicolas.vanhoren@openerp.com-20120207122556-f4lzt5kjy72fnssu
2012-02-07 13:25:56 +01:00
niv-openerp e5f05086cb [imp] simplified escaping of form class namees
bzr revid: nicolas.vanhoren@openerp.com-20120207121353-0fy9djh2osxjbdof
2012-02-07 13:13:53 +01:00
niv-openerp 1ce8ef8f0f [imp] made start of widgets recursive
bzr revid: nicolas.vanhoren@openerp.com-20120207120811-juejxm2mq3xcjxga
2012-02-07 13:08:11 +01:00
niv-openerp 7cb86686ea [imp] removed strange condition in on_loaded
bzr revid: nicolas.vanhoren@openerp.com-20120207120539-ga91yxjqyqabgoa1
2012-02-07 13:05:39 +01:00
niv-openerp 9fb0a22b86 [imp] nivified notebook
bzr revid: nicolas.vanhoren@openerp.com-20120207111451-le08xlmqfhalkcgm
2012-02-07 12:14:51 +01:00
niv-openerp a898146cc1 [imp] nivified frames
bzr revid: nicolas.vanhoren@openerp.com-20120207110931-3z2iz6c3qb3b9xv0
2012-02-07 12:09:31 +01:00
niv-openerp ed9eeea3db [imp] nivified root frame
bzr revid: nicolas.vanhoren@openerp.com-20120207110129-psfxmdiw9c2gvxtp
2012-02-07 12:01:29 +01:00
niv-openerp 6143bf6680 [imp] polished renderind methods
bzr revid: nicolas.vanhoren@openerp.com-20120207103512-pzkugr4dm0ag7rsh
2012-02-07 11:35:12 +01:00
niv-openerp 5a4d636c44 [imp] externalized setting of $element
bzr revid: nicolas.vanhoren@openerp.com-20120207102307-4vc60e6y61eokawf
2012-02-07 11:23:07 +01:00
niv-openerp ceaeea239d [imp] externalized form widget element_class creation
bzr revid: nicolas.vanhoren@openerp.com-20120207101936-c40ot5upi5g57rnx
2012-02-07 11:19:36 +01:00
niv-openerp a19a8d673e [imp] externalized widget creation
bzr revid: nicolas.vanhoren@openerp.com-20120207101131-vz0s9bxiemml48fs
2012-02-07 11:11:31 +01:00
Fabien Meghazi 5ab1b4f37e [IMP] Visually indicate that the form is dirty
Need refactoring or o2m changes in order to fully support this feature

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

bzr revid: fme@openerp.com-20120130140725-2boxsrs2s7u31tup
2012-01-30 15:07:25 +01:00
Vaibhav (OpenERP) af2d74f26c [FIX] lost field context while popup search view loaded. ex. in case of account tax m2m
lp bug: https://launchpad.net/bugs/912814 fixed

bzr revid: vda@tinyerp.com-20120127112050-xu7yljp0a2mh01km
2012-01-27 16:50:50 +05:30
Xavier Morel 4939d6631a [IMP] error reporting in domain evaluation
bzr revid: xmo@openerp.com-20120203084852-ogaxcye1pltfwtvv
2012-02-03 09:48:52 +01:00
Fabien Meghazi 5e7b30e996 [FIX] Do not FormView#do_show() twice on cold do_load_state()
bzr revid: fme@openerp.com-20120201154442-gwbdm99wy8qahwie
2012-02-01 16:44:42 +01:00
Xavier Morel b9cb00f8de [IMP] change bounding function of tipsy to try to avoid tooltips being cut off
lp bug: https://launchpad.net/bugs/924286 fixed

bzr revid: xmo@openerp.com-20120131155208-ugzig1m90y4a86gk
2012-01-31 16:52:08 +01:00
Xavier Morel 52fc5d5023 [FIX] double htmlescaping in m2o fields when selecting an autocomplete choice
When providing values to the autocomplete, there are two keys used by
the autocomplete system itself:
* A mandatory label
* An optional value

If the value is not specified, the autocomplete will use the label
*but* it will htmlescape the label's value before setting it on the
input, while the provided label is raw HTML.

While this protects the input, if the label was already htmlescaped
(because it's user-provided data and may contain e.g. ampersands) in
order not to break the autocompletion list, it will end up
double-escaped with e.g. `&` characters replaced by `&amp;` in
user-visible text.

The fix is to use the `value` key and set it to unescaped text data,
the widget will escape it before setting it on the field yielding the
correct user-facing result.

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

bzr revid: xmo@openerp.com-20120131090226-8r64u4w3bb36se7n
2012-01-31 10:02:26 +01:00
Fabien Meghazi 1b011182da [FIX] Tooltips stays visible after it's trigger element has been removed
bzr revid: fme@openerp.com-20120126143734-7zl3gczn5x61k2u1
2012-01-26 15:37:34 +01:00
Fabien Meghazi 06061d4872 [FIX] Changed tooltip plugin that caused problems under firefox
bzr revid: fme@openerp.com-20120126132441-wxg1gumrq9uetd70
2012-01-26 14:24:41 +01:00