odoo/odoo.git
12 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Sun, 9 Oct 2011 05:22:53 +0000 (05:22 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20111008053003-ofklqrdyck9k7i2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20111009052253-98uh6331k4inaxmc

12 years ago[MERGE] lp:859751. Adding missing incoterm. Courtesy to Alexis de Lattre
Quentin (OpenERP) [Fri, 7 Oct 2011 16:51:19 +0000 (18:51 +0200)]
[MERGE] lp:859751. Adding missing incoterm. Courtesy to Alexis de Lattre

bzr revid: qdp-launchpad@openerp.com-20111007165119-rjvx11dmt4b5e73b

12 years ago[imp] put back graph view in o2m in ideas because we decided to support it back in...
niv-openerp [Fri, 7 Oct 2011 16:22:43 +0000 (18:22 +0200)]
[imp] put back graph view in o2m in ideas because we decided to support it back in the web client

bzr revid: nicolas.vanhoren@openerp.com-20111007162243-wqsr90xgd5et1qr1

12 years ago[imp] mado o2m compatible with graph view
niv-openerp [Fri, 7 Oct 2011 16:21:56 +0000 (18:21 +0200)]
[imp] mado o2m compatible with graph view

bzr revid: nicolas.vanhoren@openerp.com-20111007162156-10r2h2zws40oabnp

12 years ago[FIX] account: cannot install generic chart of account
ara [Fri, 7 Oct 2011 15:54:17 +0000 (17:54 +0200)]
[FIX] account: cannot install generic chart of account

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

bzr revid: qdp-launchpad@openerp.com-20111007155417-0xclk6ccrvozbsqx

12 years ago[MERGE] lp:849603
Quentin (OpenERP) [Fri, 7 Oct 2011 15:49:17 +0000 (17:49 +0200)]
[MERGE] lp:849603

bzr revid: qdp-launchpad@openerp.com-20111007154917-77ppd8dnasrhiyqq

12 years ago[imp] improved graph view to support o2m (not finished)
niv-openerp [Fri, 7 Oct 2011 15:21:16 +0000 (17:21 +0200)]
[imp] improved graph view to support o2m (not finished)

bzr revid: nicolas.vanhoren@openerp.com-20111007152116-r4ad6z4u035pjxgq

12 years ago[IMP] if no address value is provided for res.partner.bank default_get context, try...
Xavier Morel [Fri, 7 Oct 2011 13:10:52 +0000 (15:10 +0200)]
[IMP] if no address value is provided for res.partner.bank default_get context, try to read the address from its id

the web client currently does not send all record data when an o2m is used as a context value, it only sends the ids (at least when the o2m records have not been locally modified)

bzr revid: xmo@openerp.com-20111007131052-4qqo027b2mp16nd6

12 years ago[IMP] ir.sequence: tone down get_id() deprecation WARNING to DEBUG
Olivier Dony [Fri, 7 Oct 2011 14:54:06 +0000 (16:54 +0200)]
[IMP] ir.sequence: tone down get_id() deprecation WARNING to DEBUG

For 6.1 we will still support get_id(), but should start phasing it
out for 6.2, so we will switch it back to WARNING after 6.1

bzr revid: odo@openerp.com-20111007145406-9rmfowimthedvoni

12 years ago[FIX] orm.browse_record: avoid printing unrelated traceback upon KeyError
Olivier Dony [Fri, 7 Oct 2011 14:49:44 +0000 (16:49 +0200)]
[FIX] orm.browse_record: avoid printing unrelated traceback upon KeyError

bzr revid: odo@openerp.com-20111007144944-j4obwcbvx9awkj30

12 years ago[IMP] tools.ustr: fix possible stack overflow for exception_to_unicode + tabs->spaces
Olivier Dony [Fri, 7 Oct 2011 14:48:06 +0000 (16:48 +0200)]
[IMP] tools.ustr: fix possible stack overflow for exception_to_unicode + tabs->spaces

bzr revid: odo@openerp.com-20111007144806-lodke0woag32sin5

12 years ago[MERGE] lp:856422
Quentin (OpenERP) [Fri, 7 Oct 2011 14:22:36 +0000 (16:22 +0200)]
[MERGE] lp:856422

bzr revid: qdp-launchpad@openerp.com-20111007142236-krddiikdzwkrdavs

12 years ago[MERGE] document_ftp: use the --load command line option.
Vo Minh Thu [Fri, 7 Oct 2011 14:06:53 +0000 (16:06 +0200)]
[MERGE] document_ftp: use the --load command line option.

bzr revid: vmt@openerp.com-20111007140653-52nkqyxwrsofy6u5

12 years ago[MERGE] lp862207
Quentin (OpenERP) [Fri, 7 Oct 2011 13:51:51 +0000 (15:51 +0200)]
[MERGE] lp862207

bzr revid: qdp-launchpad@openerp.com-20111007135151-tb4ha1zembtlpi37

12 years ago[FIX] hr_payroll_account: deletion of a payslip with account_move
Quentin (OpenERP) [Fri, 7 Oct 2011 13:49:26 +0000 (15:49 +0200)]
[FIX] hr_payroll_account: deletion of a payslip with account_move

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

bzr revid: qdp-launchpad@openerp.com-20111007134926-ur815yiv5gdq02pg

12 years ago[MERGE] lp:856501
Quentin (OpenERP) [Fri, 7 Oct 2011 13:39:29 +0000 (15:39 +0200)]
[MERGE] lp:856501

bzr revid: qdp-launchpad@openerp.com-20111007133929-4aagibnako646x84

12 years ago[FIX] point_of_sale: error message translation if no receivable account defined for...
Quentin (OpenERP) [Fri, 7 Oct 2011 13:22:46 +0000 (15:22 +0200)]
[FIX] point_of_sale: error message translation if no receivable account defined for partner

bzr revid: qdp-launchpad@openerp.com-20111007132246-2ilpi2t1ii6s4tnw

12 years ago[IMP] openerp-server: start services, load any server-wide module, then preload some...
Vo Minh Thu [Fri, 7 Oct 2011 13:19:02 +0000 (15:19 +0200)]
[IMP] openerp-server: start services, load any server-wide module, then preload some registries.

bzr revid: vmt@openerp.com-20111007131902-bcq26tpmc2u6iwlh

12 years ago[MERGE] lp862140: phase_id in context of field survey_request_ids
Quentin (OpenERP) [Fri, 7 Oct 2011 12:31:30 +0000 (14:31 +0200)]
[MERGE] lp862140: phase_id in context of field survey_request_ids

bzr revid: qdp-launchpad@openerp.com-20111007123130-7dkjdmnprqnkntzu

12 years ago[MERGE] lp865296
Quentin (OpenERP) [Fri, 7 Oct 2011 12:27:53 +0000 (14:27 +0200)]
[MERGE] lp865296

bzr revid: qdp-launchpad@openerp.com-20111007122753-iy190ull4etq9sr4

12 years ago[MERGE] lp:865227
Quentin (OpenERP) [Fri, 7 Oct 2011 12:25:13 +0000 (14:25 +0200)]
[MERGE] lp:865227

bzr revid: qdp-launchpad@openerp.com-20111007122513-lx88aisi1rccbsln

12 years ago[MERGE] lp:842381
Quentin (OpenERP) [Fri, 7 Oct 2011 12:23:16 +0000 (14:23 +0200)]
[MERGE] lp:842381

bzr revid: qdp-launchpad@openerp.com-20111007122316-dr4a50ftf4bt4sc4

12 years ago[MERGE] lp:866048
Quentin (OpenERP) [Fri, 7 Oct 2011 12:19:29 +0000 (14:19 +0200)]
[MERGE] lp:866048

bzr revid: qdp-launchpad@openerp.com-20111007121929-nlac0u8wsf5i8dkb

12 years ago[MERGE] lp798739: no translation of warning message in holidays confirmation. Note...
Quentin (OpenERP) [Fri, 7 Oct 2011 10:41:49 +0000 (12:41 +0200)]
[MERGE] lp798739: no translation of warning message in holidays confirmation. Note that this will only work once the server will propagate the context through the workflow triggers

bzr revid: qdp-launchpad@openerp.com-20111007104149-j4m9i68ysi4bf14z

12 years ago[FIX] document_ftp: tests: smash those tests with lots of commits.
Vo Minh Thu [Fri, 7 Oct 2011 09:17:37 +0000 (11:17 +0200)]
[FIX] document_ftp: tests: smash those tests with lots of commits.
(Otherwise changes happening on one cursor are not visible to the other one.)
Normally, as those yaml files commit(), they sould be inside demo data
instead of tests. But really we want to test a completely initialized
database, not being executed while the database is being initialized
(as the demo data are). This is just a matter of convention as the
tests are only executed when you also install demo data.

bzr revid: vmt@openerp.com-20111007091737-2dzocv2rgm2gfbi2

12 years ago[I18N] update PO templates for all addons after enabling LP translation sync
Olivier Dony [Fri, 7 Oct 2011 08:39:49 +0000 (10:39 +0200)]
[I18N] update PO templates for all addons after enabling LP translation sync

bzr revid: odo@openerp.com-20111007083949-0mz4q7fwtmyps8nu

12 years ago[FIX] search selection default value in case no default is set: select option with...
Xavier Morel [Fri, 7 Oct 2011 08:29:05 +0000 (10:29 +0200)]
[FIX] search selection default value in case no default is set: select option with value 'false' if there's any

bzr revid: xmo@openerp.com-20111007082905-86zc0dzwu0bv4bwz

12 years ago[IMP] startup script: added little reminder when the `web` module can not be imported.
Vo Minh Thu [Fri, 7 Oct 2011 07:33:30 +0000 (09:33 +0200)]
[IMP] startup script: added little reminder when the `web` module can not be imported.

bzr revid: vmt@openerp.com-20111007073330-t0mh6x7ohv82i1g6

12 years ago[FIX] correctly update pager when adding a new record in an editable list
Xavier Morel [Fri, 7 Oct 2011 07:20:19 +0000 (09:20 +0200)]
[FIX] correctly update pager when adding a new record in an editable list

bzr revid: xmo@openerp.com-20111007072019-l59qcgikjeu71v26

12 years ago[ADD] update pager on record deletion
Xavier Morel [Fri, 7 Oct 2011 07:17:56 +0000 (09:17 +0200)]
[ADD] update pager on record deletion

bzr revid: xmo@openerp.com-20111007071756-h73imu0g4tl3fhay

12 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Fri, 7 Oct 2011 04:36:31 +0000 (04:36 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20111007043631-kklsn4cdxnp790tt

12 years ago[IMP] modules have quite a number of fields we don't need, get only the name
Xavier Morel [Thu, 6 Oct 2011 15:39:59 +0000 (17:39 +0200)]
[IMP] modules have quite a number of fields we don't need, get only the name

bzr revid: xmo@openerp.com-20111006153959-mft8gh1g08s4vzqz

12 years ago[IMP] use sets for modules to load instead of value-less dicts
Xavier Morel [Thu, 6 Oct 2011 15:36:22 +0000 (17:36 +0200)]
[IMP] use sets for modules to load instead of value-less dicts

bzr revid: xmo@openerp.com-20111006153622-i6g5pmk25dal358e

12 years ago[FIX] clear in search views should clear small filters as well
Xavier Morel [Thu, 6 Oct 2011 15:23:32 +0000 (17:23 +0200)]
[FIX] clear in search views should clear small filters as well

bzr revid: xmo@openerp.com-20111006152332-g0ifsv53jwq66u9u

12 years ago[FIX] correctly handle 'false' value on selection fields
Xavier Morel [Thu, 6 Oct 2011 14:54:39 +0000 (16:54 +0200)]
[FIX] correctly handle 'false' value on selection fields

bzr revid: xmo@openerp.com-20111006145439-mklud8aaezmd2b1p

12 years ago[FIX] compute modules list fixed
Antony Lesuisse [Thu, 6 Oct 2011 14:34:57 +0000 (16:34 +0200)]
[FIX] compute modules list fixed

bzr revid: al@openerp.com-20111006143457-i74b719vjic34ie4

12 years ago[ADD] modifiers setup on account.move.line override of fields_view_get
Xavier Morel [Thu, 6 Oct 2011 14:34:52 +0000 (16:34 +0200)]
[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

12 years ago[FIX] base_setup: Set the right xml_id for the hidden/link category
Stephane Wirtel [Thu, 6 Oct 2011 14:31:37 +0000 (16:31 +0200)]
[FIX] base_setup: Set the right xml_id for the hidden/link category

bzr revid: stw@openerp.com-20111006143137-vj6y3pczx7euy13i

12 years ago[FIX] setup and serialize modifiers on overridden view for account.move.line
Xavier Morel [Thu, 6 Oct 2011 14:30:08 +0000 (16:30 +0200)]
[FIX] setup and serialize modifiers on overridden view for account.move.line

bzr revid: xmo@openerp.com-20111006143008-awuryu2n7otgaij6

12 years ago[FIX] base: set the right xml_id for the hidden/link category
Stephane Wirtel [Thu, 6 Oct 2011 14:29:46 +0000 (16:29 +0200)]
[FIX] base: set the right xml_id for the hidden/link category

bzr revid: stw@openerp.com-20111006142946-qebop8c2gs620ma7

12 years ago[ADD] wrapper to the modifiers setup process to simplify its call by third parties
Xavier Morel [Thu, 6 Oct 2011 14:27:27 +0000 (16:27 +0200)]
[ADD] wrapper to the modifiers setup process to simplify its call by third parties

bzr revid: xmo@openerp.com-20111006142727-spfj8foiln6m2jb9

12 years ago[IMP] account: unpack field tuple on the fly in iteration to generate view fields...
Xavier Morel [Thu, 6 Oct 2011 13:23:07 +0000 (15:23 +0200)]
[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

12 years ago[FIX] Confirmation dialog buttons won't close the dialog
Fabien Meghazi [Thu, 6 Oct 2011 13:22:41 +0000 (15:22 +0200)]
[FIX] Confirmation dialog buttons won't close the dialog

bzr revid: fme@openerp.com-20111006132241-b4491vh5jm4ct974

12 years ago[IMP] lxml-ify fields_view_get override in account.move.line
Xavier Morel [Thu, 6 Oct 2011 13:20:09 +0000 (15:20 +0200)]
[IMP] lxml-ify fields_view_get override in account.move.line

bzr revid: xmo@openerp.com-20111006132009-ci16jjrylmb23nnn

12 years ago[FIX] base_setup: Set the right modules of the category
Stephane Wirtel [Thu, 6 Oct 2011 13:09:09 +0000 (15:09 +0200)]
[FIX] base_setup: Set the right modules of the category

bzr revid: stw@openerp.com-20111006130909-9sqjw6mgnldeammf

12 years ago[FIX] Button@special=cancel should not trigger form save
Fabien Meghazi [Thu, 6 Oct 2011 12:14:11 +0000 (14:14 +0200)]
[FIX] Button@special=cancel should not trigger form save

bzr revid: fme@openerp.com-20111006121411-sltmagi0n068fbym

12 years ago[FIX] make m2o form fields focusable
Xavier Morel [Thu, 6 Oct 2011 12:04:25 +0000 (14:04 +0200)]
[FIX] make m2o form fields focusable

bzr revid: xmo@openerp.com-20111006120425-z154ck3xez87ufbr

12 years ago[FIX] base_setup: Fix a problem with categories to show
Stephane Wirtel [Thu, 6 Oct 2011 12:03:38 +0000 (14:03 +0200)]
[FIX] base_setup: Fix a problem with categories to show

bzr revid: stw@openerp.com-20111006120338-9zetw1glf0rdxo27

12 years ago[IMP] orm: added small comment.
Vo Minh Thu [Thu, 6 Oct 2011 11:44:44 +0000 (13:44 +0200)]
[IMP] orm: added small comment.

bzr revid: vmt@openerp.com-20111006114444-4llzirnl4tg4p5qy

12 years ago[FIX] duplicated element_class on form widgets (on container and widget), and some...
Xavier Morel [Thu, 6 Oct 2011 11:41:27 +0000 (13:41 +0200)]
[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

12 years ago[IMP] account_invoice_layout: missing state field in list view (used for `states...
Olivier Dony [Thu, 6 Oct 2011 10:24:02 +0000 (12:24 +0200)]
[IMP] account_invoice_layout: missing state field in list view (used for `states` modifiers)

bzr revid: odo@openerp.com-20111006102402-cdjcw8rv2xfea6v3

12 years ago[FIX] selection field value in case there's no value (haha)
Xavier Morel [Thu, 6 Oct 2011 10:02:35 +0000 (12:02 +0200)]
[FIX] selection field value in case there's no value (haha)

bzr revid: xmo@openerp.com-20111006100235-2x41tzki77sk6i3v

12 years ago[FIX] don't screw up typing of selection values in search view
Xavier Morel [Thu, 6 Oct 2011 09:53:01 +0000 (11:53 +0200)]
[FIX] don't screw up typing of selection values in search view

bzr revid: xmo@openerp.com-20111006095301-98cda38m1y270f3m

12 years ago[FIX] forgot to filter installed modules outside
Xavier Morel [Thu, 6 Oct 2011 09:34:30 +0000 (11:34 +0200)]
[FIX] forgot to filter installed modules outside

bzr revid: xmo@openerp.com-20111006093430-knl8fcjh4avc2dvh

12 years ago[FIX] m2o: Search More cause a traceback. (views now excpect to receive evaluated...
Fabien Meghazi [Thu, 6 Oct 2011 09:22:47 +0000 (11:22 +0200)]
[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

12 years ago[IMP] avoid static home crashing after server side was completely broken
Xavier Morel [Thu, 6 Oct 2011 09:03:31 +0000 (11:03 +0200)]
[IMP] avoid static home crashing after server side was completely broken

bzr revid: xmo@openerp.com-20111006090331-x6euo8vsnzuqqf73

12 years ago[FIX] 'Select' button for file upload not working in wizards
Fabien Meghazi [Thu, 6 Oct 2011 08:51:38 +0000 (10:51 +0200)]
[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

12 years ago[MERGE] orm: cleand get_pg_type(). Changes as written in the merge prop.:
Vo Minh Thu [Thu, 6 Oct 2011 08:13:36 +0000 (10:13 +0200)]
[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

12 years ago[FIX] originally correct to-be-merged code broken during merge
Xavier Morel [Thu, 6 Oct 2011 08:11:19 +0000 (10:11 +0200)]
[FIX] originally correct to-be-merged code broken during merge

bzr revid: xmo@openerp.com-20111006081119-zyzazce6fkc8oq0q

12 years ago[MERGE] expression: no active_test when rewriting the main query.
Vo Minh Thu [Thu, 6 Oct 2011 07:56:55 +0000 (09:56 +0200)]
[MERGE] expression: no active_test when rewriting the main query.

bzr revid: vmt@openerp.com-20111006075655-gl444vgzcbu1j887

12 years ago[MERGE] fields.property: correctly tests for many2one/relative fields.
Vo Minh Thu [Thu, 6 Oct 2011 07:47:53 +0000 (09:47 +0200)]
[MERGE] fields.property: correctly tests for many2one/relative fields.

bzr revid: vmt@openerp.com-20111006074753-e505g95tcz8js5ju

12 years ago[FIX] m2o fields with selection widget in search view
Xavier Morel [Thu, 6 Oct 2011 06:39:49 +0000 (08:39 +0200)]
[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

12 years agoLaunchpad automatic translations update.
Launchpad Translations on behalf of openerp [Thu, 6 Oct 2011 04:36:33 +0000 (04:36 +0000)]
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20111006043633-2qqugk8decu2zcj1

12 years ago[IMP] redhat remove unused stuff
Antony Lesuisse [Thu, 6 Oct 2011 03:14:26 +0000 (05:14 +0200)]
[IMP] redhat remove unused stuff

bzr revid: al@openerp.com-20111006031426-6vkjnku1tygyhptb

12 years ago[FIX] packaging rename doc python rpm build does not tolerate spaces in files
Antony Lesuisse [Thu, 6 Oct 2011 03:05:16 +0000 (05:05 +0200)]
[FIX] packaging rename doc python rpm build does not tolerate spaces in files

bzr revid: al@openerp.com-20111006030516-uy8p3b5y1d2pbia0

12 years ago[FIX] packaging rename doc python rpm build does not tolerate spaces in files
Antony Lesuisse [Thu, 6 Oct 2011 02:56:17 +0000 (04:56 +0200)]
[FIX] packaging rename doc python rpm build does not tolerate spaces in files

bzr revid: al@openerp.com-20111006025617-0frl240letuc4gov

12 years ago[IMP] debian missing deps
Antony Lesuisse [Thu, 6 Oct 2011 02:18:41 +0000 (04:18 +0200)]
[IMP] debian missing deps

bzr revid: al@openerp.com-20111006021841-blwc0r0uz3x07mxh

12 years ago[FIX] web_chat flagged as not installable
Antony Lesuisse [Thu, 6 Oct 2011 02:02:50 +0000 (04:02 +0200)]
[FIX] web_chat flagged as not installable

bzr revid: al@openerp.com-20111006020250-6wkp8uxqzo3ezes5

12 years ago[IMP] debian remove unused info
Antony Lesuisse [Thu, 6 Oct 2011 00:18:10 +0000 (02:18 +0200)]
[IMP] debian remove unused info

bzr revid: al@openerp.com-20111006001810-ew5fm6w2lsr790xy

12 years ago[IMP] debian remove unused po files
Antony Lesuisse [Thu, 6 Oct 2011 00:13:57 +0000 (02:13 +0200)]
[IMP] debian remove unused po files

bzr revid: al@openerp.com-20111006001357-29sfz3h2qk7d7zt8

12 years ago[IMP] README cleanups
Antony Lesuisse [Thu, 6 Oct 2011 00:12:18 +0000 (02:12 +0200)]
[IMP] README cleanups

bzr revid: al@openerp.com-20111006001218-uzsqgl8ilkndxfr0

12 years ago[FIX] debian packaging only happens if you used previous openerp packages
Antony Lesuisse [Wed, 5 Oct 2011 20:04:58 +0000 (22:04 +0200)]
[FIX] debian packaging only happens if you used previous openerp packages

bzr revid: al@openerp.com-20111005200458-7ggpb7envf16yvfw

12 years ago[FIX] forgot to add xml2json.py
Antony Lesuisse [Wed, 5 Oct 2011 18:15:29 +0000 (20:15 +0200)]
[FIX] forgot to add xml2json.py

bzr revid: al@openerp.com-20111005181529-dbfsmptdi671l94z

12 years ago[FIX] crm tests, openid import
Antony Lesuisse [Wed, 5 Oct 2011 18:06:01 +0000 (20:06 +0200)]
[FIX] crm tests, openid import

bzr revid: al@openerp.com-20111005180601-z55oq92j3g883akf

12 years ago[IMP] cleanup of web.common
Antony Lesuisse [Wed, 5 Oct 2011 17:58:26 +0000 (19:58 +0200)]
[IMP] cleanup of web.common

bzr revid: al@openerp.com-20111005175826-7fzk3wesvz198kpm

12 years ago[MERGE] fixmodloading by chs
Antony Lesuisse [Wed, 5 Oct 2011 17:20:10 +0000 (19:20 +0200)]
[MERGE] fixmodloading by chs

bzr revid: al@openerp.com-20111005172010-ii718o6v1oe6gijk

12 years ago[MERGE] base_setup dynamic introspecting ir_module_module
Antony Lesuisse [Wed, 5 Oct 2011 16:55:04 +0000 (18:55 +0200)]
[MERGE] base_setup dynamic introspecting ir_module_module

bzr revid: al@openerp.com-20111005165504-ohkyy7edqhykirei

12 years ago[MERGE] base_setup dynamic category defintions
Antony Lesuisse [Wed, 5 Oct 2011 16:52:59 +0000 (18:52 +0200)]
[MERGE] base_setup dynamic category defintions

bzr revid: al@openerp.com-20111005165259-2xbmw8vo5k1neikn

12 years ago[FIX] category selection
Antony Lesuisse [Wed, 5 Oct 2011 16:52:02 +0000 (18:52 +0200)]
[FIX] category selection

bzr revid: al@openerp.com-20111005165202-s3jv23v7n5py4mx1

12 years ago[FIX] sed substitution
Antony Lesuisse [Wed, 5 Oct 2011 16:35:14 +0000 (18:35 +0200)]
[FIX] sed substitution

bzr revid: al@openerp.com-20111005163514-dzvvpsdg1hhhzb5t

12 years ago[FIX] Fixed addons path for binaries. Improved placeholder.
Fabien Meghazi [Wed, 5 Oct 2011 15:57:40 +0000 (17:57 +0200)]
[FIX] Fixed addons path for binaries. Improved placeholder.

bzr revid: fme@openerp.com-20111005155740-ufdr7lwp4abpsfsu

12 years ago[IMP] fields.property: be more explicit when testing if something is a browse_record.
Vo Minh Thu [Wed, 5 Oct 2011 15:48:57 +0000 (17:48 +0200)]
[IMP] fields.property: be more explicit when testing if something is a browse_record.

bzr revid: vmt@openerp.com-20111005154857-ic3yzb3dead33us3

12 years ago[FIX] Do not compute modifiers for aggregates in list view.
Fabien Meghazi [Wed, 5 Oct 2011 15:32:02 +0000 (17:32 +0200)]
[FIX] Do not compute modifiers for aggregates in list view.

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

bzr revid: fme@openerp.com-20111005153202-4ao575zh3885ukuy

12 years ago[MERGE] Upstream
Stephane Wirtel [Wed, 5 Oct 2011 14:59:31 +0000 (16:59 +0200)]
[MERGE] Upstream

bzr revid: stw@openerp.com-20111005145931-piwiavbep6sr8nx3

12 years ago[IMP] base_setup: Add the shortcut 'Add More Features' and reindent the code
Stephane Wirtel [Wed, 5 Oct 2011 14:58:55 +0000 (16:58 +0200)]
[IMP] base_setup: Add the shortcut 'Add More Features' and reindent the code

bzr revid: stw@openerp.com-20111005145855-hu14h1whjiv669iq

12 years ago[FIX] stock: set the right category
Stephane Wirtel [Wed, 5 Oct 2011 14:58:22 +0000 (16:58 +0200)]
[FIX] stock: set the right category

bzr revid: stw@openerp.com-20111005145822-r0thbg86zt52lis3

12 years ago[FIX] base: set the right category for base
Stephane Wirtel [Wed, 5 Oct 2011 14:42:49 +0000 (16:42 +0200)]
[FIX] base: set the right category for base

bzr revid: stw@openerp.com-20111005144249-p46i4up2omsuymqj

12 years ago[IMP] set module category to Hidden
Antony Lesuisse [Wed, 5 Oct 2011 14:36:07 +0000 (16:36 +0200)]
[IMP] set module category to Hidden

bzr revid: al@openerp.com-20111005143607-7p5z3gn4ddt3pios

12 years ago[FIX] base: Add the visible field in the ir.module.category, this field will be used...
Stephane Wirtel [Wed, 5 Oct 2011 14:23:15 +0000 (16:23 +0200)]
[FIX] base: Add the visible field in the ir.module.category, this field will be used by the new base.setup.installer

bzr revid: stw@openerp.com-20111005142315-r9ypz1jeqbi8rfpo

12 years ago[MERGE] Upstream
Stephane Wirtel [Wed, 5 Oct 2011 14:20:57 +0000 (16:20 +0200)]
[MERGE] Upstream

bzr revid: stw@openerp.com-20111005142057-qshud5cor3s7j8v7

12 years ago[FIX] base_setup: Use a new flag of the ir.module.category object for the listing...
Stephane Wirtel [Wed, 5 Oct 2011 14:19:32 +0000 (16:19 +0200)]
[FIX] base_setup: Use a new flag of the ir.module.category object for the listing of applications

bzr revid: stw@openerp.com-20111005141932-mw8n1ccs1msino92

12 years ago[FIX] Set the categories
Stephane Wirtel [Wed, 5 Oct 2011 14:19:02 +0000 (16:19 +0200)]
[FIX] Set the categories

bzr revid: stw@openerp.com-20111005141902-72du0lku4x176ix9

12 years ago[FIX] two loops one loop (a previous commit) was wrongly done :(.
Vo Minh Thu [Wed, 5 Oct 2011 13:55:49 +0000 (15:55 +0200)]
[FIX] two loops one loop (a previous commit) was wrongly done :(.

bzr revid: vmt@openerp.com-20111005135549-xvhtt57fl1ib7o6e

12 years ago[FIX] expression: we dont add any restriction on the main ids
Vo Minh Thu [Wed, 5 Oct 2011 13:33:37 +0000 (15:33 +0200)]
[FIX] expression: we dont add any restriction on the main ids
as the possible active=True/False is already present in the main domain.

bzr revid: vmt@openerp.com-20111005133337-p8nvv26tlii7x253

12 years ago[REV] 1150, broke filter_domain in case of empty field
Xavier Morel [Wed, 5 Oct 2011 13:02:52 +0000 (15:02 +0200)]
[REV] 1150, broke filter_domain in case of empty field

bzr revid: xmo@openerp.com-20111005130252-oovrpbo4a1pjavwd

12 years ago[FIX] fields.reference: post-process reference fields to test if the referenced recor...
Vo Minh Thu [Wed, 5 Oct 2011 11:34:34 +0000 (13:34 +0200)]
[FIX] fields.reference: post-process reference fields to test if the referenced record exists.

bzr revid: vmt@openerp.com-20111005113434-itjuj0u3d6fhryn8

12 years ago[IMP] raise error when iterating over browse_record
Xavier Morel [Wed, 5 Oct 2011 11:24:44 +0000 (13:24 +0200)]
[IMP] raise error when iterating over browse_record

Python has an iteration fallback protocol: when iterating over an
object which does not define __iter__, if the object defines
__getitem__ it considers that it's a list, and invokes __getitem__
from index `0`.

This can be a problem in openerp in methods which expect an list of
ids but are only given a single id (not a singleton list), in that
case self.browse() will return a single browse_record (instea of a
list) and the method tries to iterate over it by calling
browse_record.__getitem__.

Problem is that browse_record.__getitem__ is pretty deep and does
little validation, so the error appears 3 frames below where the
actual issue is with a completely cryptic message of "KeyError: 0",
which makes the actual harder to track.

By raising an error immediately in browse_record.__iter__, this kind
of issues is much easier to handle, the stack points precisely to the
frame in error with a clearer message.

bzr revid: xmo@openerp.com-20111005112444-jcp9fw6pa36ahpsd

12 years ago[FIX] viewmanageraction loading: auto_search is the default, not the exception
Xavier Morel [Wed, 5 Oct 2011 11:12:10 +0000 (13:12 +0200)]
[FIX] viewmanageraction loading: auto_search is the default, not the exception

this means if the auto_search attribute is missing, search automatically. Search should only
be prevented if auto_search is precisely false

bzr revid: xmo@openerp.com-20111005111210-qju8ocbhvqahczsz

12 years ago[FIX] handling of value and default domain in search m2o
Xavier Morel [Wed, 5 Oct 2011 10:57:31 +0000 (12:57 +0200)]
[FIX] handling of value and default domain in search m2o

bzr revid: xmo@openerp.com-20111005105731-9431uvhay91bt10c

12 years ago[IMP] fields.reference: two loops one loop.
Vo Minh Thu [Wed, 5 Oct 2011 10:51:03 +0000 (12:51 +0200)]
[IMP] fields.reference: two loops one loop.

bzr revid: vmt@openerp.com-20111005105103-cutnuvfkgsjej3vc