Commit Graph

1789 Commits

Author SHA1 Message Date
Xavier Morel 2d08b98ea4 [FIX] bug introduced during xmo@openerp.com-20120208130738-pr92lh9qotki71o4
Change made registry inheritance "lazy", keeping a permanent relation
between child and parent and walking the tree to find matches.

But editable listviews relied on an implementation detail (that an
extension eagerly created keys in the children registry) and iterated
over the internal map of the child registry they'd just created to
replace the form keys with overridden versions of the form widgets.

Just iterate over form's registry, but really the editable list should
have its own Registry subclass doing that stuff more solidly.

bzr revid: xmo@openerp.com-20120209154844-zk2xuxdhhi57eqhp
2012-02-09 16:48:44 +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
Olivier Dony affdaf2566 [FIX] Application Tiles now heed the custom menu domain, just like the nain menu
This makes both behaviors consistent
and allows the portal module to work
properly.

bzr revid: odo@openerp.com-20120209141339-c2vs0lrx7ws6plzs
2012-02-09 15:13:39 +01:00
Fabien Meghazi af15e1d83e [ADD] Added tipsy.clear()
bzr revid: fme@openerp.com-20120209135939-pcnmoswvnqjjb6ik
2012-02-09 14:59:39 +01:00
Xavier Morel 5f9b77de4c [FIX] even if there is a spoon, there may be no widget.field
bzr revid: xmo@openerp.com-20120209120747-hkf0accbs05gayd7
2012-02-09 13:07:47 +01:00
Xavier Morel c55f68d419 [IMP] add change default to debug mode
bzr revid: xmo@openerp.com-20120209120139-gw9n06vcma3hjl7f
2012-02-09 13:01: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 c120ee72a6 [CNG] don't filter out function fields from import or export, only readonly fields
bzr revid: xmo@openerp.com-20120209090214-84d6jjr1jnf32kpi
2012-02-09 10:02:14 +01:00
Xavier Morel fda65c7c69 [FIX] menus handling in case user has no menu_id
also add comments to explain some strange-looking code's behavior

bzr revid: xmo@openerp.com-20120209083554-2b8d8qlzz8y9fhan
2012-02-09 09:35:54 +01:00
Launchpad Translations on behalf of openerp 0e2e9ddd78 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209055558-qfwy9bg1km791dys
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209071015-0jykfhbo8iamzpzk
bzr revid: launchpad_translations_on_behalf_of_openerp-20120209072746-stmwycdircyzrxn4
2012-02-09 07:27:46 +00: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
Launchpad Translations on behalf of openerp 320b2d2e2e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208060921-wir47e717rh04xxn
bzr revid: launchpad_translations_on_behalf_of_openerp-20120208063913-vg9qdu30tx09ojrl
2012-02-08 06:39:13 +00:00
Antony Lesuisse 98bd34a2eb [FIX] better fix for portal menu using res.users._menu_id reverting 2107 revid:al@openerp.com-20120203132249-pbkdci0q5fxz1k33
bzr revid: al@openerp.com-20120208001305-ef3c2w7a222ph7v0
2012-02-08 01:13:05 +01:00
Xavier Morel 84685f620a [IMP] translations: if en and en_US translate the same term, don't use en's translation
bzr revid: xmo@openerp.com-20120208163948-g7m9dv2xz8fpds7d
2012-02-08 17:39:48 +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
Carlos Vásquez bad6cde80e [ADD] es_CR.po: in all modules
bzr revid: carlos.vasquez@clearcorp.co.cr-20120208083551-nev12pk8a4jnrou4
2012-02-08 02:35:51 -06: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
Xavier Morel 289eba0e4f [FIX] sign handling when parsing float_time values
bzr revid: xmo@openerp.com-20120208140445-xfgz3vm18r4t9ijb
2012-02-08 15:04:45 +01:00
Xavier Morel 9cc531505f [FIX] formatting of float_time fields
lp bug: https://launchpad.net/bugs/928220 fixed

bzr revid: xmo@openerp.com-20120208135655-79qnr5tl6admxr1e
2012-02-08 14:56:55 +01:00
Xavier Morel f70b73f244 [FIX] get_any with inheritance
bzr revid: xmo@openerp.com-20120208130651-7mdv7p1qcfgxczon
2012-02-08 14:06:51 +01:00
Xavier Morel f5ee468ca5 [REF] rename Registry#clone to Registry#extend
bzr revid: xmo@openerp.com-20120208124634-qucyuwlangw15nqh
2012-02-08 13:46:34 +01:00
Xavier Morel ff570e8d23 [IMP] have registries remain linked so alterations to a parent registry alters its clone as well (if keys are not overwritten in the child)
bzr revid: xmo@openerp.com-20120208124309-iho04vgae2nz6xix
2012-02-08 13:43:09 +01:00
Xavier Morel 69fdc31167 [FIX] jquery-ui URL in test file
bzr revid: xmo@openerp.com-20120208123915-cj5cujrpv41ilztm
2012-02-08 13:39:15 +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
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
Olivier Dony df0b4f8c35 [IMP] i18n extractor now ignores comments and PIs + additional spurious translations removed
PO templates updated accordingly

bzr revid: odo@openerp.com-20120207182255-23s4yp4hrteierht
2012-02-07 19:22:55 +01:00
Xavier Morel e736b32783 [FIX] fucking trailing comma by niv
bzr revid: xmo@openerp.com-20120207170008-f3ct2wdmn587ci9r
2012-02-07 18:00:08 +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
Fabien Meghazi ce65bc3ac3 [IMP] Add QWeb preprocess_node callback. Translate @label, @title and @alt attributes in web client
bzr revid: fme@openerp.com-20120207132901-ifwnfj6c4mp451tl
2012-02-07 14:29:01 +01:00
Xavier Morel fcd616b158 [FIX] docstring references
bzr revid: xmo@openerp.com-20120207132110-nv6hd2ea8zk7p17s
2012-02-07 14:21:10 +01:00
Olivier Dony a93634d80c [FIX] base.xml: exclude classnames set with @t-set from translatable things
This could cause problems if someone was to translate these
class names to something different, possibly breaking all
menu rendering.
The corresponding web.pot template was already re-exported,
to remove the spurious terms (and incidentally update all
source line references).

bzr revid: odo@openerp.com-20120207143116-tnyerd15j9hlpjff
2012-02-07 15:31:16 +01:00
niv-openerp b5579eee20 [merge] refactoring of form view widgets
bzr revid: nicolas.vanhoren@openerp.com-20120207130546-bu0m5fl99krcqbbb
2012-02-07 14:05:46 +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 58dee55da3 [imp] put some more things in old widget
bzr revid: nicolas.vanhoren@openerp.com-20120207123425-02jofowbat61e500
2012-02-07 13:34: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
Olivier Dony 8e3edb1a42 [I18N] Update translation template with newly exported attributes
Includes @title, @alt and @label attributes
for all qweb template elements.
Web addons without any such attributes have
not been re-exported.

bzr revid: odo@openerp.com-20120207093155-laswlg40wgz6itlx
2012-02-07 10:31:55 +01:00
Olivier Dony 1b3701ce59 [IMP] Fix some remaining untranslated areas, and extract @title,@alt and @label attributes too
(pending an update of the qweb rendering engine to
 actually translate the newly exported attributes)

bzr revid: odo@openerp.com-20120207092655-kgdcxa8myalxfyjq
2012-02-07 10:26:55 +01:00