Commit Graph

71714 Commits

Author SHA1 Message Date
Denis Ledoux 055c4b94f2 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5059 rev-id: dle@openerp.com-20130828125209-5jqwjqhrl17x7kpa
bzr revid: dle@openerp.com-20130828135425-yuls3wav79znadt3
2013-08-28 15:54:25 +02:00
Denis Ledoux 57818bb779 [FIX]res_config: in _install_modules, result returned by button_immediate_install must be returned, in order to launch the action if there is one. TODO fix,at the moment, if there are missing modules, this return statement prevent their installation
bzr revid: dle@openerp.com-20130828125209-5jqwjqhrl17x7kpa
2013-08-28 14:52:09 +02:00
Martin Trigaux 3b549486e9 [FIX] pos: correctly link refund order to a current session and set to today's date (opw 589810)
lp bug: https://launchpad.net/bugs/1123575 fixed

bzr revid: mat@openerp.com-20130828123940-ik9gvx7flywia0oe
2013-08-28 14:39:40 +02:00
Martin Trigaux 1d431fe4f8 [FIX] stock,mrp: move multicomp user to test instead of demo data
bzr revid: mat@openerp.com-20130828085019-cgbj6zrug73it3nw
2013-08-28 10:50:19 +02:00
Thibault Delavallée 9825eef774 [FIX] crm: fixed a bug in opportunities merge.
_merge_notify was called with a browse record but was waiting for an ID.

bzr revid: tde@openerp.com-20130827162036-v7yhfijgpdhcyte5
2013-08-27 18:20:36 +02:00
Martin Trigaux 3b88ba87c1 [FIX] pos: avoid a user to use another user's session (opw 595033)
bzr revid: mat@openerp.com-20130828073030-mmgcd0atfm7qjq1b
2013-08-28 09:30:30 +02:00
Launchpad Translations on behalf of openerp 8c5c877948 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130828053808-8isassv2181er8jt
2013-08-28 05:38:08 +00:00
Olivier Dony baef4d3d92 [FIX] Force safer ondelete=restrict on the `alias_id` _inherits FK on models with a mail.alias parent
The delete-rule was initially set to `cascade` in revision
6897.16.13 revid:odo@openerp.com-20120705141706-5gm5mmqode3bvkuc
because the ORM would not allow anything else for the FK of
an _inherits relationship.
This constraint was later lifted in 7.0 server at revision
4681 revid:odo@openerp.com-20121212210247-emrz5rf9ewcwdggu
so we can now switch to the intended default behavior:
when deleting mail aliases we never want to cascade delete
the child records, as that could lead to unwanted deletions.
On the other hand the aliases are automatically deleted when
the record they belong to is deleted, as a kind of internal
dependency. This is the intended safe way to delete them.

There is a special case when the same alias is manually set
on multiple records, in which case you will not be able to
delete any of those records. This is an acceptable exception
and should be manually handled if ever needed, by temporarily
linking the records to delete to new dummy aliases.

bzr revid: odo@openerp.com-20130827150708-62hqk8p7twd527n0
2013-08-27 17:07:08 +02:00
Martin Trigaux f9a01a68a1 [MERGE] [FIX] account: handle value errors for inexisting object references for account reports
bzr revid: mat@openerp.com-20130827093508-0e58bj81h1qam5w1
2013-08-27 11:35:08 +02:00
Cecile Tonglet aef380c5c8 [FIX] account.account.type getter function of field report_type now handle ValueError raised by get_object_reference()
bzr revid: cto@openerp.com-20130827064025-ebw8skxpku1jad20
2013-08-27 08:40:25 +02:00
Launchpad Translations on behalf of openerp 642311aa26 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130827050316-c3hzsnzygj4np1qh
2013-08-27 05:03:16 +00:00
Martin Trigaux 98541c5827 [FIX] mrp: display Bill of Materials as a list, not as a tree
bzr revid: mat@openerp.com-20130826132943-mp8f331mxafb3z9z
2013-08-26 15:29:43 +02:00
Olivier Dony 20e5751e62 [IMP] email_template: add `datetime` and `dateutil.relativedelta` in the global rendering context for templates
The `dateutil` package is not included directly in the globals because
`dateutil.relativedelta.relativedelta` is an old-style class and jinja2
does not appear to support instantiating old-style classes within an
expression, so `relativedelta` support is provided using a "lambda proxy".

bzr revid: odo@openerp.com-20130826124405-bixzwyhl65c7v75b
2013-08-26 14:44:05 +02:00
Launchpad Translations on behalf of openerp dc07d21f86 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130824053459-k3vf5zjfz0sjn6t6
bzr revid: launchpad_translations_on_behalf_of_openerp-20130825051935-7croxf3zpoo1cvwk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130824053520-dpq7ulxrh0e06fd4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130825051953-hv03d787cy2sc9l4
bzr revid: launchpad_translations_on_behalf_of_openerp-20130825051959-4r4bun8nvl6neyi5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130826051253-70i5qzbp5ttpsmb7
2013-08-26 05:12:53 +00:00
Christophe Simonis 58868227f9 [MERGE] forward port of branch 7.0 up to revid 9382 chs@openerp.com-20130823131214-ipouwtnz8r16mlvv
bzr revid: chs@openerp.com-20130823143114-83tdjhbsdes0kydr
2013-08-23 16:31:14 +02:00
Christophe Simonis 67d431bdb9 [FIX] stock: allow modification of stock.picking.{in,out} reports via report designer
bzr revid: chs@openerp.com-20130823131214-ipouwtnz8r16mlvv
2013-08-23 15:12:14 +02:00
Martin Trigaux 1b99f0c9db [FIX] mrp, stock: permissions error on multicompany + add tests, courtesy of Camptocamp
bzr revid: mat@openerp.com-20130823132049-vah4d2ev03a9gb1v
2013-08-23 15:20:49 +02:00
Christophe Simonis dd0d003353 [MERGE] project: migrate to aliases
bzr revid: chs@openerp.com-20130823130355-5f5mi76brx1xjdge
2013-08-23 15:03:55 +02:00
Thibault Delavallée f0db93fe93 [MERGE] [FIX] mail: fixed wrong parsing of multipart/mixed emails. Alternative mode is computed when browsing the parts, not from the message content type.
Added tests.

Also added some notification_email_send=none in mail demo data to avoid sending emails in demo/data/update.

bzr revid: tde@openerp.com-20130823123716-anqlxg1gk6c19kdc
2013-08-23 14:37:16 +02:00
Cecile Tonglet 2c2ac536ce [IMP] Use the migration function migrate_to_alias of object mail.alias on model project.project
bzr revid: cto@openerp.com-20130823122955-5bbn5ivdiqxti5py
2013-08-23 14:29:55 +02:00
Thibault Delavallée d874d9980d [FIX] mail: fixed wrong parsing of multipart/mixed emails.
alternative mode is computed when browsing the parts, not from
the message content type.

Added tests.

Also added some notification_email_send to none to avoid sending
emails in demo/data/update.

bzr revid: tde@openerp.com-20130823120611-0n4ull3c8gvwug2u
2013-08-23 14:06:11 +02:00
Martin Trigaux 22a3ba7d66 [IMP] stock: convert yml test to python
bzr revid: mat@openerp.com-20130823115851-36tcrj17n5bme3uu
2013-08-23 13:58:51 +02:00
Martin Trigaux a0fa40ac16 [IMP] mrp: convert yml test to python
bzr revid: mat@openerp.com-20130823115248-5a7z35xge3ogpyvc
2013-08-23 13:52:48 +02:00
Martin Trigaux 3d6dc36407 [MERGE] base mp, courtesy of Alexandre Fayolle (camptocamp)
lp bug: https://launchpad.net/bugs/1182111 fixed

bzr revid: mat@openerp.com-20130823095912-5kwshj6nkdzduejx
2013-08-23 11:59:12 +02:00
Martin Trigaux 4bc20f2e2f [MERGE] backport of revision 8862
mrp, sale_stock: minor usability improvements + properties in sale order lines

bzr revid: mat@openerp.com-20130823092231-w5aet41ivk4f7nd9
2013-08-23 11:22:31 +02:00
Martin Trigaux 569d854403 [IMP] mrp: allow searching by components, better view for BoM structure
bzr revid: mat@openerp.com-20130823085138-bhxhitqof4m2hd7v
2013-08-23 10:51:38 +02:00
Martin Trigaux 4d87d76e43 [FIX] tree view: correct toggeling of hierarchic tree, correctly pass ids
bzr revid: mat@openerp.com-20130823081256-ab12551kejhjcqbv
2013-08-23 10:12:56 +02:00
Launchpad Translations on behalf of openerp cac1f1f1ba Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130822054012-klsl0p3ylzlwe9w5
bzr revid: launchpad_translations_on_behalf_of_openerp-20130823055246-8rlzajaxcyy6zkja
2013-08-23 05:52:46 +00:00
Launchpad Translations on behalf of openerp 2cec1eb045 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130822054004-iy1tgkww8vf91e5g
bzr revid: launchpad_translations_on_behalf_of_openerp-20130823055241-t379yr3ksuppirw0
2013-08-23 05:52:41 +00:00
Martin Trigaux a01fd767a7 [MERGE] various changes
analytic_user_function: fix traceback with non-existant variable
lunch: name_get and remove create button on you lunch account view
mail: being more permissive on check to also allow creating message when have create access rights on model

bzr revid: mat@openerp.com-20130821155818-ktljx5c1my4w540j
2013-08-21 17:58:18 +02:00
Martin Trigaux 5c2d665af8 [FIX] analytic_user_function: initialise variable
bzr revid: mat@openerp.com-20130821154401-vgjpfmmjd59bm3j6
2013-08-21 17:44:01 +02:00
Martin Trigaux b03203fd3a [FIX] mail: check create access only for acess rights, not access rules (too permissive)
bzr revid: mat@openerp.com-20130821153918-pdtf4mhcdycfdf3p
2013-08-21 17:39:18 +02:00
Martin Trigaux 11d50f0afc [MERGE] [IMP] lunch: better name_get and avoid seeing twice the create button on the cashmove view
bzr revid: mat@openerp.com-20130821144900-86hcgrwd43mavo5y
2013-08-21 16:49:00 +02:00
Martin Trigaux a6410e1bcf [IMP] mail: beeing more permissive on the condition to post new message, allow also if have only the create access
bzr revid: mat@openerp.com-20130821143714-9a1isp0ylwko275k
2013-08-21 16:37:14 +02:00
Olivier Dony 4d9c550d4c [MERGE] res.partner: skip recursive sync of `commercial` fields if none of them changed, courtesy of Holger Brunn (Therp)
lp bug: https://launchpad.net/bugs/1210186 fixed

bzr revid: odo@openerp.com-20130821135125-izp23cgkdphul5or
2013-08-21 15:51:25 +02:00
Martin Trigaux 50975a1159 [FIX] point_of_sale: avoid traceback if deleted property
bzr revid: mat@openerp.com-20130821125429-uzaqw4yx2ve63wja
2013-08-21 14:54:29 +02:00
Martin Trigaux c2dbe028a7 [FIX] account_voucher: generate empty context to avoid traceback
bzr revid: mat@openerp.com-20130821121714-5q5qa56suab0dehs
2013-08-21 14:17:14 +02:00
Olivier Dony 5a066c368e [MERGE] [DOC] make it explicit that the module name is mandatory when specifying a sub view via the context, courtesy of Alexandre Fayolle (Camptocamp)
lp bug: https://launchpad.net/bugs/1214799 fixed

bzr revid: odo@openerp.com-20130821120051-r72lz2r6jew77hym
2013-08-21 14:00:51 +02:00
Olivier Dony c57b85ed53 [DOC] minor wording/formatting/nitpicking on top of previous patch
bzr revid: odo@openerp.com-20130821115822-kd9d8m1upvo5wiux
2013-08-21 13:58:22 +02:00
Olivier Dony 7ce2c64eb4 [MERGE] [DOC] make it explicit that the module name is mandatory when specifying a sub view via the context, courtesy of Alexandre Fayolle (Camptocamp)
bzr revid: odo@openerp.com-20130821115249-qv06t608ajo0f8yi
2013-08-21 13:52:49 +02:00
alexandre.fayolle@camptocamp.com 1fdbbdda69 [FIX] [DOC] make it explicit that the module name is mandatory when specifying a sub view via the context
lp bug: https://launchpad.net/bugs/1214799 fixed

bzr revid: alexandre.fayolle@camptocamp.com-20130821094913-2frk2550b4szka5s
2013-08-21 11:49:13 +02:00
Christophe Simonis 8179683143 [IMP] html_sanitize:
- add option to reraise catched exceptions
 - only keep safe attributes (style is considered safe) (depending of lxml version)
 - remove forms tags

bzr revid: chs@openerp.com-20130821094758-1ae0d1ml5obufzxv
2013-08-21 11:47:58 +02:00
Martin Trigaux cd99b9ffac [MERGE] [FIX] reload form if button has option reload_on_button
bzr revid: mat@openerp.com-20130821085342-8k6q1d2886tmwffm
2013-08-21 10:53:42 +02:00
Martin Trigaux f4d2be978f [MERGE] [FIX] stock: use reload_on_button option in forms for reloading the form that has been modified
bzr revid: mat@openerp.com-20130821085304-s2xnyg2mitxyqwgm
2013-08-21 10:53:04 +02:00
Martin Trigaux 762f0b7214 [FIX] sale: correct report for discount column (opw #592874)
bzr revid: mat@openerp.com-20130821083256-1746jkpzpnlnhjib
2013-08-21 10:32:56 +02:00
Martin Trigaux d2f220adf6 [FIX] vertical alignment of fields on firefox (opw #590181)
bzr revid: mat@openerp.com-20130821080933-fiq3zvccgzop02on
2013-08-21 10:09:33 +02:00
Olivier Dony 788eb29237 [MERGE] Forward-port of 7.0 bugfixes up to rev.9369 rev-id: launchpad_translations_on_behalf_of_openerp-20130820051502-deoiql3lru7goosd
bzr revid: odo@openerp.com-20130820152607-0p0fx87v1rqhk3vy
2013-08-20 17:26:07 +02:00
Olivier Dony e56a0c565f [MERGE] (Manual) Foward-port of addons 7.0 bugfix revid:odo@openerp.com-20130813082247-fz1cv55l82j9uo3l
res.partner: avoid including the address in the computed display name

bzr revid: odo@openerp.com-20130820152025-3yt7gtnaeztdt1nh
2013-08-20 17:20:25 +02:00
Olivier Dony fbd0758cb5 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5054 rev-id: odo@openerp.com-20130820091157-e5brwlxuhujf8rrd
bzr revid: chs@openerp.com-20130724085026-525l9apggc9yzx0h
bzr revid: odo@openerp.com-20130730140644-1xih0as5jsks4pub
bzr revid: dle@openerp.com-20130801130723-khgwjkglgsdn34fj
bzr revid: odo@openerp.com-20130820091638-jpbcmh653bpa29em
2013-08-20 11:16:38 +02:00
Olivier Dony 0995418289 [DOC] changelog: more details
bzr revid: odo@openerp.com-20130820091157-e5brwlxuhujf8rrd
2013-08-20 11:11:57 +02:00