Commit Graph

1283 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 616950dce1 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111104045519-32vjnqdqwo2ekurm
2011-11-04 04:55:19 +00:00
Antony Lesuisse 01dce90eb4 [IMP] Create Setting->Email root menu item
bzr revid: al@openerp.com-20111027071000-cwfpk7wd7r82sw2c
2011-10-27 09:10:00 +02:00
Launchpad Translations on behalf of openerp 7fd2f34625 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111027052151-iq59w01y3570qp2r
bzr revid: launchpad_translations_on_behalf_of_openerp-20111027052219-al2lmoforak20zt4
2011-10-27 05:22:19 +00:00
Fabien Meghazi 39904f481a [FIX] Fixed partner kanban view (Missing <field/> tags)
[ADD] Added partners image for kanban view

bzr revid: fme@openerp.com-20111025204847-qjalrra46mgxmvvn
2011-10-25 22:48:47 +02:00
Olivier Dony d8e5a280d5 [ADD] res.currency data: definition of Chilean Peso
bzr revid: odo@openerp.com-20111024120219-k0a1l6ekjsrgc2p0
2011-10-24 14:02:19 +02:00
Olivier Dony 956ed719ae [IMP] fields.boolean,integer,float: warning when required=True, as it has no effect
A PendingDeprecationWarning is used in order to reduce the
verbosity of the logging, and to indicate that we might
forbid passing required=True in a future OpenERP version
for fields types where it makes no sense.

bzr revid: odo@openerp.com-20111021142836-0k4qruhe1vgodysu
2011-10-21 16:28:36 +02:00
Olivier Dony 222d75cb1e [FIX] ir.action.report_xml: useless required attribute on boolean column
bzr revid: odo@openerp.com-20111021132802-segctl9j05k2khq0
2011-10-21 15:28:02 +02:00
Xavier Morel e317c222a1 [IMP] alias some values in data import, for readability
bzr revid: xmo@openerp.com-20111019114618-6ih4wgfr5hu1kgiy
2011-10-19 13:46:18 +02:00
Xavier Morel b0a92831b3 [IMP] iterate over list indexes + ids via enumerate() rather than via range(len()) + __getitem__
bzr revid: xmo@openerp.com-20111019110215-9jykf1xrzavh00j2
2011-10-19 13:02:15 +02:00
Launchpad Translations on behalf of openerp e3ffcd94d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019044609-vzsrc1a6nn17ahbo
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019055343-7s4rmkn8lpxvyt4n
bzr revid: launchpad_translations_on_behalf_of_openerp-20111019060521-3smagczfoys4j5wl
2011-10-19 06:05:21 +00:00
Xavier Morel 5c8d64d862 [FIX] make module categories readable by all users
web client's new default home dashboard uses module categories to know what to display,
this means it did not work for regular users who would not be allowed to view the
application tiles of the default home, and would get an error popup instead

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

bzr revid: xmo@openerp.com-20111018111920-qetmtu06x4p3t3kp
2011-10-18 13:19:20 +02:00
Antony Lesuisse a12afa90e3 [MERGE] mark demo res_log entries as read
bzr revid: al@openerp.com-20111017151252-zklo1vm2tlogp7v8
2011-10-17 17:12:52 +02:00
Olivier Dony 5823bf1634 [FIX] ir.mail_server: except_osv's signature has changed + care for non-ascii mail errors
bzr revid: odo@openerp.com-20111017145714-36khvwvipuf8cauh
2011-10-17 16:57:14 +02:00
Raphael Collet 3b3cf8e430 [IMP] mark as read all res_log entries created during a module installation
bzr revid: rco@openerp.com-20111017144615-e5b45twvm1s07ruf
2011-10-17 16:46:15 +02:00
Olivier Dony 9d916e684e [FIX] ir_model.name_search: was incorrectly relying on name_search implementation details
As a result, it had been broken by a recent change in the implementation
of Model.name_search().

bzr revid: odo@openerp.com-20111017133702-mppmb8w54n6z23ck
2011-10-17 15:37:02 +02:00
Vo Minh Thu ec3ea4197e [FIX] tools.translate: release.support_email has been removed, so we no longer set the Report-Msgid-Bugs-To value in .po files.
lp bug: https://launchpad.net/bugs/873959 fixed

bzr revid: vmt@openerp.com-20111014150210-qs7n58cocvnjputl
2011-10-14 17:02:10 +02:00
Christophe Simonis 952e4cf602 [IMP] command line: move the option "addons-path" to the right group
bzr revid: chs@openerp.com-20111014093626-4ndm6kzgxd2idmjn
2011-10-14 11:36:26 +02:00
Christophe Simonis a760d1f75a [IMP] do no hardcode the port for the default value of ir.config_parameter web.base.url
bzr revid: chs@openerp.com-20111014093328-lztmfdnekti62i43
2011-10-14 11:33:28 +02:00
Olivier Dony 462f808500 [IMP] ir.model.data: sanity check to help prevent external IDs conflict between models
bzr revid: odo@openerp.com-20111013163316-gjct0pyrxfz9bm45
2011-10-13 18:33:16 +02:00
Olivier Dony 8d994ad625 [MERGE] added authenticate() API method for checking credentials w/ UA environment
bzr revid: odo@openerp.com-20111013152007-xj780k9r7j9roipx
2011-10-13 17:20:07 +02:00
Christophe Simonis bd7c5ee6f8 [IMP] base: authenticate: use "base_location" key instead on "host"
bzr revid: chs@openerp.com-20111013143245-vrcs89hennc2beu4
2011-10-13 16:32:45 +02:00
Olivier Dony 97ba7be42d [IMP] res.users,web_services: new authenticate() API method for testing credentials
Provides a way to login for a given environment, passing
      user agent environment parameters.
      Currently used to initialize the web.base.url config
      parameter based on the web host whenever the admin user
      logs in.

bzr revid: odo@openerp.com-20111013104750-y0natm9v3wapn10l
2011-10-13 12:47:50 +02:00
Quentin (OpenERP) 2be7586c54 [FIX] fields.related: fix example in docstring
bzr revid: qdp-launchpad@openerp.com-20111013093423-lynuxoan01327jv9
2011-10-13 11:34:23 +02:00
Olivier Dony c18e1fc203 [FIX] res.users: last login time should use UTC like all server-side timestamps
bzr revid: odo@openerp.com-20111012162927-iq83m08vuwj43syz
2011-10-12 18:29:27 +02:00
Olivier Dony 0d2bc8f3ae [FIX] modules.graph: avoid crash when a module has been deleted from the filesystem
bzr revid: odo@openerp.com-20111012155818-u07arzkokf9zshr0
2011-10-12 17:58:18 +02:00
Olivier Dony abf626b644 [IMP] ir.config.parameter: move all default params together
bzr revid: odo@openerp.com-20111012155707-fgb0pn8dj2l0ukiu
2011-10-12 17:57:07 +02:00
Vo Minh Thu bfbfbc4ac6 [FIX] orm.copy(): corrected return value in docstring.
bzr revid: vmt@openerp.com-20111012090357-2lt8md5s37qp2vm1
2011-10-12 11:03:57 +02:00
Olivier Dony 76c702ca3c [FIX] Model.import_data docstring: cleanup + clear RST warnings for autodoc
The pipe character is taken as an inline substitution
marker, and is easy to avoid in most cases except within
literal blocks.

bzr revid: odo@openerp.com-20111011171148-rluwokcsx7i38i6e
2011-10-11 19:11:48 +02:00
Olivier Dony 4140e3546a [FIX] expression: proper handling of empty string in m2o domain criterions
Also fixed incorrect name_search() implementations in
res.partner and res.currency, and added corresponding
tests.

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

bzr revid: odo@openerp.com-20111011163435-szj9vm6x9x8nryn8
2011-10-11 18:34:35 +02:00
Olivier Dony 7f34a19db6 [MERGE] new ORM method for converting o2m commands sequences to record dicts, useful for addons (by Xavier Morel)
bzr revid: odo@openerp.com-20111011144927-mch6uy11z347fcku
2011-10-11 16:49:27 +02:00
Olivier Dony c16befa983 [IMP] orm: resolve_o2m_commands_...: simplify assert, remove context doc following guidelines
bzr revid: odo@openerp.com-20111011144146-b9rt5kc9sb5lj0dr
2011-10-11 16:41:46 +02:00
Xavier Morel 34fcc08a1f [IMP] docstring for resolve_o2m_commands_...
bzr revid: xmo@openerp.com-20111011094551-vr27on7iibdd9tv6
2011-10-11 11:45:51 +02:00
Xavier Morel 8507ceddcf [IMP] make resolve_o2m_commands_to_record_dicts's result eager as per vmt's suggestion
bzr revid: xmo@openerp.com-20111011085715-cvcficcy4di9q29i
2011-10-11 10:57:15 +02:00
Xavier Morel 2646a34cf0 [ADD] don't blow up on a singleton DELETE_ALL command (that command takes no parameters, so can have just (5,))
bzr revid: xmo@openerp.com-20111011084852-hborz317ru5pbzux
2011-10-11 10:48:52 +02:00
Xavier Morel 8734ffb6c2 [IMP] raise assertion error if an o2m command is not one of CREATE, UPDATE or LINK_TO
bzr revid: xmo@openerp.com-20111011083824-4g0ros6f3xgslkq4
2011-10-11 10:38:24 +02:00
Xavier Morel 4d0a189796 [IMP] handle case where o2m commands are pairs instead of triplets
bzr revid: xmo@openerp.com-20111011081202-y1ou74u038o2kl58
2011-10-11 10:12:02 +02:00
Xavier Morel b5ee13a845 [IMP] rename serialize_o2m_commands to resolve_o2m_commands_to_record_dicts
bzr revid: xmo@openerp.com-20111011080338-hup42vivlvk4dly0
2011-10-11 10:03:38 +02:00
Launchpad Translations on behalf of openerp 9ceaf4fdf3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011052920-un4k47tkwv7djqt2
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011053536-w0rdhuhwp04uxnpd
bzr revid: launchpad_translations_on_behalf_of_openerp-20111011054224-cr2q9q3picqoasam
2011-10-11 05:42:24 +00:00
Quentin (OpenERP) d2e0d0fc41 [MERGE] added lempiria currency (HNL) used in Honduras
bzr revid: qdp-launchpad@openerp.com-20111010164823-n8snd4ghwa16jens
2011-10-10 18:48:23 +02:00
Quentin (OpenERP) 8ee01638a5 [IMP] base, res.currency data: added HNL currency (from Honduras) and rate
bzr revid: qdp-launchpad@openerp.com-20111010155809-2k3tp80n8cfn8hx0
2011-10-10 17:58:09 +02:00
Olivier Dony 0c9e9a7643 [IMP] rng,convert: add support for report `usage` attribute
The `usage` attribute may indicate a special purpose
of this report. For instance, the "default" usage
is used to identify the report to include along with
a record for EDI exports.

bzr revid: odo@openerp.com-20111010142226-ceradf4acsbr3r5l
2011-10-10 16:22:26 +02:00
Xavier Morel d5accc0fae [ADD] method to correctly serialize o2m commands into a sequence of record-dicts for e.g. onchanges
also alters res.partner.bank _default_value to use it with res.partner addresses, and adds a few tests to ensure behavior is correct

bzr revid: xmo@openerp.com-20111010135157-dafgcwwcni5gkeom
2011-10-10 15:51:57 +02:00
Xavier Morel 8a5314b15e [FIX] context usage (context may be None in _default_value), dict.get (no need for a False default value in a conditional)
bzr revid: xmo@openerp.com-20111010081021-ijcuchd53dbdr9lc
2011-10-10 10:10:21 +02:00
Xavier Morel 26140ce8f4 [IMP] further improve reading of o2m commands, first read the record itself if an id was provided then update it with the record data if any
bzr revid: xmo@openerp.com-20111010080911-ykosbh8kp3tljyri
2011-10-10 10:09:11 +02:00
Xavier Morel fc28192527 [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
2011-10-07 15:10:52 +02:00
Olivier Dony f3cf4c359a [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
2011-10-07 16:54:06 +02:00
Olivier Dony d86c283434 [FIX] orm.browse_record: avoid printing unrelated traceback upon KeyError
bzr revid: odo@openerp.com-20111007144944-j4obwcbvx9awkj30
2011-10-07 16:49:44 +02:00
Olivier Dony 5aca6a91fa [IMP] tools.ustr: fix possible stack overflow for exception_to_unicode + tabs->spaces
bzr revid: odo@openerp.com-20111007144806-lodke0woag32sin5
2011-10-07 16:48:06 +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