Commit Graph

36873 Commits

Author SHA1 Message Date
Vo Minh Thu 9f11dfe53c [IMP] startup script: added little reminder when the `web` module can not be imported.
bzr revid: vmt@openerp.com-20111007073330-t0mh6x7ohv82i1g6
2011-10-07 09:33:30 +02:00
Xavier Morel 28b0daeaff [FIX] correctly update pager when adding a new record in an editable list
bzr revid: xmo@openerp.com-20111007072019-l59qcgikjeu71v26
2011-10-07 09:20:19 +02:00
Xavier Morel acc3d54316 [ADD] update pager on record deletion
bzr revid: xmo@openerp.com-20111007071756-h73imu0g4tl3fhay
2011-10-07 09:17:56 +02:00
Launchpad Translations on behalf of openerp 4bee5d20fa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111007043631-kklsn4cdxnp790tt
2011-10-07 04:36:31 +00:00
Xavier Morel a12c082d55 [IMP] modules have quite a number of fields we don't need, get only the name
bzr revid: xmo@openerp.com-20111006153959-mft8gh1g08s4vzqz
2011-10-06 17:39:59 +02:00
Xavier Morel 18ec203641 [IMP] use sets for modules to load instead of value-less dicts
bzr revid: xmo@openerp.com-20111006153622-i6g5pmk25dal358e
2011-10-06 17:36:22 +02:00
Xavier Morel 6c1499ecd9 [FIX] clear in search views should clear small filters as well
bzr revid: xmo@openerp.com-20111006152332-g0ifsv53jwq66u9u
2011-10-06 17:23:32 +02:00
Xavier Morel 404db3a08b [FIX] correctly handle 'false' value on selection fields
bzr revid: xmo@openerp.com-20111006145439-mklud8aaezmd2b1p
2011-10-06 16:54:39 +02:00
Antony Lesuisse bfb7cb0d6e [FIX] compute modules list fixed
bzr revid: al@openerp.com-20111006143457-i74b719vjic34ie4
2011-10-06 16:34:57 +02:00
Xavier Morel f5d22f9391 [ADD] modifiers setup on account.move.line override of fields_view_get
this way, the web clients correctly gets @required fields, and hides the columns which should be hidden

bzr revid: xmo@openerp.com-20111006143452-xxlv81axttm29m2n
2011-10-06 16:34:52 +02:00
Stephane Wirtel 2d817dfaa1 [FIX] base_setup: Set the right xml_id for the hidden/link category
bzr revid: stw@openerp.com-20111006143137-vj6y3pczx7euy13i
2011-10-06 16:31:37 +02:00
Xavier Morel 4e44e08920 [FIX] setup and serialize modifiers on overridden view for account.move.line
bzr revid: xmo@openerp.com-20111006143008-awuryu2n7otgaij6
2011-10-06 16:30:08 +02:00
Stephane Wirtel 33963719aa [FIX] base: set the right xml_id for the hidden/link category
bzr revid: stw@openerp.com-20111006142946-qebop8c2gs620ma7
2011-10-06 16:29:46 +02:00
Xavier Morel 65456808bc [ADD] wrapper to the modifiers setup process to simplify its call by third parties
bzr revid: xmo@openerp.com-20111006142727-spfj8foiln6m2jb9
2011-10-06 16:27:27 +02:00
Xavier Morel 20411473be [IMP] account: unpack field tuple on the fly in iteration to generate view fields in account.move.line
also remove unused name (third item of the tuple)

bzr revid: xmo@openerp.com-20111006132307-7fikg28u10023bty
2011-10-06 15:23:07 +02:00
Fabien Meghazi 5db16cd946 [FIX] Confirmation dialog buttons won't close the dialog
bzr revid: fme@openerp.com-20111006132241-b4491vh5jm4ct974
2011-10-06 15:22:41 +02:00
Xavier Morel 39c490a842 [IMP] lxml-ify fields_view_get override in account.move.line
bzr revid: xmo@openerp.com-20111006132009-ci16jjrylmb23nnn
2011-10-06 15:20:09 +02:00
Stephane Wirtel eab1356855 [FIX] base_setup: Set the right modules of the category
bzr revid: stw@openerp.com-20111006130909-9sqjw6mgnldeammf
2011-10-06 15:09:09 +02:00
Fabien Meghazi 84a94d7ec9 [FIX] Button@special=cancel should not trigger form save
bzr revid: fme@openerp.com-20111006121411-sltmagi0n068fbym
2011-10-06 14:14:11 +02:00
Xavier Morel bcaac70b1b [FIX] make m2o form fields focusable
bzr revid: xmo@openerp.com-20111006120425-z154ck3xez87ufbr
2011-10-06 14:04:25 +02:00
Stephane Wirtel 253467dfe2 [FIX] base_setup: Fix a problem with categories to show
bzr revid: stw@openerp.com-20111006120338-9zetw1glf0rdxo27
2011-10-06 14:03:38 +02:00
Vo Minh Thu 9990d8126e [IMP] orm: added small comment.
bzr revid: vmt@openerp.com-20111006114444-4llzirnl4tg4p5qy
2011-10-06 13:44:44 +02:00
Xavier Morel cecd7f5e55 [FIX] duplicated element_class on form widgets (on container and widget), and some incorrect element_id breaking click-on-label behavior
bzr revid: xmo@openerp.com-20111006114127-vc4mbflum68pjlbo
2011-10-06 13:41:27 +02:00
Olivier Dony dd2ff5e7ba [IMP] account_invoice_layout: missing state field in list view (used for `states` modifiers)
bzr revid: odo@openerp.com-20111006102402-cdjcw8rv2xfea6v3
2011-10-06 12:24:02 +02:00
Xavier Morel 06787922c0 [FIX] selection field value in case there's no value (haha)
bzr revid: xmo@openerp.com-20111006100235-2x41tzki77sk6i3v
2011-10-06 12:02:35 +02:00
Xavier Morel 0fc5a423e3 [FIX] don't screw up typing of selection values in search view
bzr revid: xmo@openerp.com-20111006095301-98cda38m1y270f3m
2011-10-06 11:53:01 +02:00
Xavier Morel 69c6913915 [FIX] forgot to filter installed modules outside
bzr revid: xmo@openerp.com-20111006093430-knl8fcjh4avc2dvh
2011-10-06 11:34:30 +02:00
Fabien Meghazi 5df08eb7d7 [FIX] m2o: Search More cause a traceback. (views now excpect to receive evaluated domain, context and group_by)
bzr revid: fme@openerp.com-20111006092247-zcbnrdbld00somam
2011-10-06 11:22:47 +02:00
Xavier Morel 03918aefa7 [IMP] avoid static home crashing after server side was completely broken
bzr revid: xmo@openerp.com-20111006090331-x6euo8vsnzuqqf73
2011-10-06 11:03:31 +02:00
Fabien Meghazi 9380f9ae30 [FIX] 'Select' button for file upload not working in wizards
lp bug: https://launchpad.net/bugs/860736 fixed

bzr revid: fme@openerp.com-20111006085138-dqezqznktrimhrxm
2011-10-06 10:51:38 +02:00
Vo Minh Thu 4dc26443d1 [MERGE] orm: cleand get_pg_type(). Changes as written in the merge prop.:
* Extracted creation of VARCHAR pg_type into a separate function, make missing 
  size (or size 0) create an unlimited VARCHAR field (effectively limited by
  postgres to 1GB data)
* Extracted fields to pg_types mapping outside of get_pg_type
* Made fields.function recursively forward to get_pg_type (via a type overload) 
  instead of reimplementing half get_pg_type in itself
* Simplified some get_pg_type cases

Note: if this is merged, it might be nice to convert fields.selection to use an 
API similar to fields.function: default to VARCHAR storage, if there's a type
attribute override use that type. Currently, fields.selection is handled the
following way:

* If the selection is a list and the type of the first half of the first item 
  is an integer, use type int4
* If the field has a __size=-1__ attribute, use type int4
* Else use type varchar (with size specified on the field, if any)

One change from previous version is that if type of the first half of the first 
item of the selection was str or unicode, it tried to find the longest string
and used that as the field's size. This meant silent loss of data if new,
longer items were added to the selection without recreating the whole db (or at
least manually altering the relevant fields). It also used the field's size or
*16* as a minimum default, for some reason, and if there was no size specified
on the selection (or size=0) it just hardcoded the size to 16.

bzr revid: vmt@openerp.com-20111006081336-uka6srvdmvs0s4lm
2011-10-06 10:13:36 +02:00
Xavier Morel c73c70550f [FIX] originally correct to-be-merged code broken during merge
bzr revid: xmo@openerp.com-20111006081119-zyzazce6fkc8oq0q
2011-10-06 10:11:19 +02:00
Vo Minh Thu 3606959a1a [MERGE] expression: no active_test when rewriting the main query.
bzr revid: vmt@openerp.com-20111006075655-gl444vgzcbu1j887
2011-10-06 09:56:55 +02:00
Vo Minh Thu f8e797ea28 [MERGE] fields.property: correctly tests for many2one/relative fields.
bzr revid: vmt@openerp.com-20111006074753-e505g95tcz8js5ju
2011-10-06 09:47:53 +02:00
Xavier Morel a3a45e18b3 [FIX] m2o fields with selection widget in search view
Plan was originally to just ignore this because "it should just work"
 but turns out m2o and m2o[@widget=selection] fields have very
 different behaviors when it comes to default values, especially
 custom domains and contexts:

 * An m2o field uses its string value always (behaves like a char
   field), for UI and clarity purposes we added an [[name, '=', id]]
   case when the user specifically selects an autocompletion value,
   but that's not "cannon", when it comes to dealing with custom
   domains (filter_domain) and contexts the field always uses its
   string value.

* An m2o[@widget=selection] field on the other hand uses its ids
  always (behaves like a selection field).

  That's not entirely true, really, because it has the converse to
  what we implemented on the m2o field in the web client (in the GTK
  client): if there is no @filter_domain *and* the user has entered a
  value which is not in the dropdown (it's a combobox in the GTK
  client), then it falls back on using 'ilike'. This string value is
  *not* used in custom domains and custom filters, which simply are
  not submitted.

  This second section has *not* been implemented so far in the web
  client, we'll come round to it if people actually need it.

bzr revid: xmo@openerp.com-20111006063949-fl5rbg3wwubcaay8
2011-10-06 08:39:49 +02:00
Launchpad Translations on behalf of openerp aed28ba69b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111006043633-2qqugk8decu2zcj1
2011-10-06 04:36:33 +00:00
Antony Lesuisse 82f4829a64 [IMP] redhat remove unused stuff
bzr revid: al@openerp.com-20111006031426-6vkjnku1tygyhptb
2011-10-06 05:14:26 +02:00
Antony Lesuisse 45e0b0a671 [FIX] packaging rename doc python rpm build does not tolerate spaces in files
bzr revid: al@openerp.com-20111006030516-uy8p3b5y1d2pbia0
2011-10-06 05:05:16 +02:00
Antony Lesuisse 56408a52a0 [FIX] packaging rename doc python rpm build does not tolerate spaces in files
bzr revid: al@openerp.com-20111006025617-0frl240letuc4gov
2011-10-06 04:56:17 +02:00
Antony Lesuisse 7ef2b87d40 [IMP] debian missing deps
bzr revid: al@openerp.com-20111006021841-blwc0r0uz3x07mxh
2011-10-06 04:18:41 +02:00
Antony Lesuisse f7d34d9c2d [FIX] web_chat flagged as not installable
bzr revid: al@openerp.com-20111006020250-6wkp8uxqzo3ezes5
2011-10-06 04:02:50 +02:00
Antony Lesuisse ee5f341ec7 [IMP] debian remove unused info
bzr revid: al@openerp.com-20111006001810-ew5fm6w2lsr790xy
2011-10-06 02:18:10 +02:00
Antony Lesuisse cbbf60412e [IMP] debian remove unused po files
bzr revid: al@openerp.com-20111006001357-29sfz3h2qk7d7zt8
2011-10-06 02:13:57 +02:00
Antony Lesuisse 527fe0ff65 [IMP] README cleanups
bzr revid: al@openerp.com-20111006001218-uzsqgl8ilkndxfr0
2011-10-06 02:12:18 +02:00
Antony Lesuisse e29e8f80de [FIX] debian packaging only happens if you used previous openerp packages
bzr revid: al@openerp.com-20111005200458-7ggpb7envf16yvfw
2011-10-05 22:04:58 +02:00
Antony Lesuisse 71dd8fd138 [FIX] forgot to add xml2json.py
bzr revid: al@openerp.com-20111005181529-dbfsmptdi671l94z
2011-10-05 20:15:29 +02:00
Antony Lesuisse 545765173e [FIX] crm tests, openid import
bzr revid: al@openerp.com-20111005180601-z55oq92j3g883akf
2011-10-05 20:06:01 +02:00
Antony Lesuisse 0d79dca93f [IMP] cleanup of web.common
bzr revid: al@openerp.com-20111005175826-7fzk3wesvz198kpm
2011-10-05 19:58:26 +02:00
Antony Lesuisse caec244322 [MERGE] fixmodloading by chs
bzr revid: al@openerp.com-20111005172010-ii718o6v1oe6gijk
2011-10-05 19:20:10 +02:00
Antony Lesuisse 7a06e4c05d [MERGE] base_setup dynamic introspecting ir_module_module
bzr revid: al@openerp.com-20111005165504-ohkyy7edqhykirei
2011-10-05 18:55:04 +02:00