Olivier Dony [Tue, 3 Sep 2013 17:26:06 +0000 (19:26 +0200)]
[FIX] ir.filters: deduplicate redundant ACL on ir.filters
By default everybody should be able to read and modify
filters, and this is coupled with a global ir.rule that
only permits viewing and touching global filters and
owned filters.
bzr revid: odo@openerp.com-
20130903172606-7vn0z2gz71urfdtz
Olivier Dony [Tue, 3 Sep 2013 17:04:33 +0000 (19:04 +0200)]
[FIX] hr_expense: duplicate copy() method corrected, courtesy of Yannick Vaucher, Camptocamp
lp bug: https://launchpad.net/bugs/1219691 fixed
bzr revid: odo@openerp.com-
20130903170433-u6f66lcgjp4w57th
Martin Trigaux [Tue, 3 Sep 2013 16:01:08 +0000 (18:01 +0200)]
[IMP] account: set default value on account invoice line and fallback on id for ordering if no sequence is available
bzr revid: mat@openerp.com-
20130903160108-gc7hnhdmzx7rg6tm
Martin Trigaux [Tue, 3 Sep 2013 12:59:00 +0000 (14:59 +0200)]
[FIX] account: order on invoice lines based on sequence number (for complains, please refer to dle)
bzr revid: mat@openerp.com-
20130903125900-wl1r1etx9pyhe185
Amit Dodiya [Tue, 3 Sep 2013 09:41:43 +0000 (15:11 +0530)]
[FIX]: synchronize sxw file according to rml for displaying the partner address correctly on some reports
bzr revid: ado@tinyerp.com-
20130903094143-cbv6pg2nufrhb7e2
Martin Trigaux [Tue, 3 Sep 2013 09:36:40 +0000 (11:36 +0200)]
[MERGE] various changes
account: move button on analytic chart wizard to bottom
account: use button Target Moves in financial report views (bug lp:1078146)
project: set duplicated task in default stage instead of current
bzr revid: mat@openerp.com-
20130903093640-7jfbmhc441pnrz7y
Martin Trigaux [Tue, 3 Sep 2013 09:27:32 +0000 (11:27 +0200)]
[IMP] account: pass target_move in common report instead of only financial report
bzr revid: mat@openerp.com-
20130903092732-4zs6g63jgo0jjayi
Turkesh Patel (Open ERP) [Tue, 3 Sep 2013 07:07:07 +0000 (12:37 +0530)]
[IMP] improved code to set default accounts in l10n_us,l10n_ma and added new currency_id field to set currency based on select coa, fixed installation time error of l10n_ve
bzr revid: tpa@tinyerp.com-
20130903070707-7ib7qi5yubhr11u8
Launchpad Translations on behalf of openerp [Tue, 3 Sep 2013 06:08:45 +0000 (06:08 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130903060845-m8b568p0wk2zcy20
Denis Ledoux [Mon, 2 Sep 2013 12:46:48 +0000 (14:46 +0200)]
[FIX]account: field partner_id, define store param to handle updates of partner changes in entries
bzr revid: dle@openerp.com-
20130902124648-340vz90i1ng1zh01
Martin Trigaux [Mon, 2 Sep 2013 12:14:12 +0000 (14:14 +0200)]
[IMP] account: unify wizard view for chart of analytic accounts with other wizards
bzr revid: mat@openerp.com-
20130902121412-m6ovn2yt4bngbfns
Martin Trigaux [Mon, 2 Sep 2013 12:10:17 +0000 (14:10 +0200)]
[FIX] project: set duplicated task in default stage (opw #589907)
bzr revid: mat@openerp.com-
20130902121017-xjtnuhf9llqpy7ch
Martin Trigaux [Mon, 2 Sep 2013 12:04:50 +0000 (14:04 +0200)]
[FIX] account: use field taget_move for generation of account financial report (all entires or all posted entries)
lp bug: https://launchpad.net/bugs/1078146 fixed
lp bug: https://launchpad.net/bugs/1135349 fixed
bzr revid: mat@openerp.com-
20130902120450-k0gqnclqhgq8nbe6
Amit Dodiya [Mon, 2 Sep 2013 11:49:40 +0000 (17:19 +0530)]
[FIX]: synchronize sxw file according to rml for displaying the partner address properly on some reports
bzr revid: ado@tinyerp.com-
20130902114940-7mlg4mfaqduigjcn
Yannick Vaucher [Mon, 2 Sep 2013 09:32:34 +0000 (11:32 +0200)]
[FIX] hr_expense - merge 2 declarations of method copy for hr_expense_expense
lp bug: https://launchpad.net/bugs/1219691 fixed
bzr revid: yannick.vaucher@camptocamp.com-
20130902093234-fyfytwjzexnzc9s3
Martin Trigaux [Mon, 2 Sep 2013 08:27:42 +0000 (10:27 +0200)]
[FIX] base_calendar: avoid duplication of event on invitation acceptance (opw 586763)
bzr revid: mat@openerp.com-
20130902082742-gm422qo1qzev9r35
Martin Trigaux [Mon, 2 Sep 2013 07:50:12 +0000 (09:50 +0200)]
[FIX] membership: set priority on search view to avoid getting it for other modules
bzr revid: mat@openerp.com-
20130902075012-y6o3wjgz9qhqm837
alexandre.fayolle@camptocamp.com [Mon, 2 Sep 2013 06:26:41 +0000 (08:26 +0200)]
[IMP] document create/delete=false in view definitions
lp bug: https://launchpad.net/bugs/1219655 fixed
bzr revid: alexandre.fayolle@camptocamp.com-
20130902062641-f8hzfnfo7ci2b9jy
Launchpad Translations on behalf of openerp [Sun, 1 Sep 2013 04:52:49 +0000 (04:52 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130831052828-a5n010v6fokrjpfc
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130901045249-hckidxuc7v6109fp
Paramjit Singh Sahota [Fri, 30 Aug 2013 13:26:12 +0000 (18:56 +0530)]
[MERGE] Merged lp:openobject-addons/7.0
bzr revid: psa@tinyerp.com-
20130830132612-ekntqdkholcg15sx
Cecile Tonglet [Fri, 30 Aug 2013 12:54:28 +0000 (14:54 +0200)]
[FIX] Skip register reports that have xsl but no xml
bzr revid: cto@openerp.com-
20130830125428-s1ameps865er1r7f
Denis Ledoux [Fri, 30 Aug 2013 12:51:55 +0000 (14:51 +0200)]
[FIX]mrp: _bom_explode, rounding used must be max(bom.product_rounding, bom.product_uom.rounding), in order to avoid asking 0.5 Unit
bzr revid: dle@openerp.com-
20130830125155-1vedifnupu2xvth7
Denis Ledoux [Fri, 30 Aug 2013 09:15:09 +0000 (11:15 +0200)]
[FIX]delivery: sxw report did not match the rml report
bzr revid: dle@openerp.com-
20130830091509-xj82mh1bk3zj08yz
Launchpad Translations on behalf of openerp [Fri, 30 Aug 2013 05:25:00 +0000 (05:25 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130830052500-0164t59q0z42znde
Martin Trigaux [Thu, 29 Aug 2013 12:44:48 +0000 (14:44 +0200)]
[FIX] tree views: rename variable parent-id to avoid conflicts with record fields name (eg: account.account)
bzr revid: mat@openerp.com-
20130829124448-xr89v0gsuoukqhao
Olivier Dony [Thu, 29 Aug 2013 09:52:40 +0000 (11:52 +0200)]
[FIX] purchase: res.partner.copy() must properly return the super() call's result
lp bug: https://launchpad.net/bugs/1189966 fixed
bzr revid: odo@openerp.com-
20130829095240-19ka4u1ikgd6ti5n
Launchpad Translations on behalf of openerp [Thu, 29 Aug 2013 05:27:59 +0000 (05:27 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130829052759-jx9b15a0ss1lxapn
Denis Ledoux [Wed, 28 Aug 2013 15:58:15 +0000 (17:58 +0200)]
[FIX]account: in wizard of refund, replace type(line.reconcile_id) != osv.orm.browse_null with simply if line.reconcile_id: + imp of the following line
bzr revid: dle@openerp.com-
20130828155815-0i8uoez4guh0i85x
Martin Trigaux [Wed, 28 Aug 2013 15:14:34 +0000 (17:14 +0200)]
[FIX] stock: post messages on stock.pciking instead of stock.picking.in/out to be able to display messages on the form
This will only display newly posted messages, not already existing.
To do so apply the following SQL command:
UPDATE mail_message SET model = 'stock.picking' WHERE model = 'stock.picking.in' OR model = 'stock.picking.out';
lp bug: https://launchpad.net/bugs/1197169 fixed
bzr revid: mat@openerp.com-
20130828151434-5nu7o0ybguh86w6f
Martin Trigaux [Wed, 28 Aug 2013 14:11:23 +0000 (16:11 +0200)]
[FIX] project: correct name_search for analytic accounts, use args, name, limit and context
bzr revid: mat@openerp.com-
20130828141123-ws38n7353f717not
Denis Ledoux [Wed, 28 Aug 2013 12:52:09 +0000 (14:52 +0200)]
[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
Martin Trigaux [Wed, 28 Aug 2013 12:39:40 +0000 (14:39 +0200)]
[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
Martin Trigaux [Wed, 28 Aug 2013 08:50:19 +0000 (10:50 +0200)]
[FIX] stock,mrp: move multicomp user to test instead of demo data
bzr revid: mat@openerp.com-
20130828085019-cgbj6zrug73it3nw
Thibault Delavallée [Tue, 27 Aug 2013 16:20:36 +0000 (18:20 +0200)]
[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
Martin Trigaux [Wed, 28 Aug 2013 07:30:30 +0000 (09:30 +0200)]
[FIX] pos: avoid a user to use another user's session (opw 595033)
bzr revid: mat@openerp.com-
20130828073030-mmgcd0atfm7qjq1b
Launchpad Translations on behalf of openerp [Wed, 28 Aug 2013 05:38:08 +0000 (05:38 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130828053808-8isassv2181er8jt
Olivier Dony [Tue, 27 Aug 2013 15:07:08 +0000 (17:07 +0200)]
[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
Martin Trigaux [Tue, 27 Aug 2013 09:35:08 +0000 (11:35 +0200)]
[MERGE] [FIX] account: handle value errors for inexisting object references for account reports
bzr revid: mat@openerp.com-
20130827093508-0e58bj81h1qam5w1
Cecile Tonglet [Tue, 27 Aug 2013 06:40:25 +0000 (08:40 +0200)]
[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
Paramjit Singh Sahota [Tue, 27 Aug 2013 05:46:08 +0000 (11:16 +0530)]
[IMP] Improved the product_id in yml.
bzr revid: psa@tinyerp.com-
20130827054608-ppf03r3xzu9td4db
Launchpad Translations on behalf of openerp [Tue, 27 Aug 2013 05:03:16 +0000 (05:03 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130827050316-c3hzsnzygj4np1qh
Martin Trigaux [Mon, 26 Aug 2013 13:29:43 +0000 (15:29 +0200)]
[FIX] mrp: display Bill of Materials as a list, not as a tree
bzr revid: mat@openerp.com-
20130826132943-mp8f331mxafb3z9z
Launchpad Translations on behalf of openerp [Mon, 26 Aug 2013 05:12:53 +0000 (05:12 +0000)]
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
Christophe Simonis [Fri, 23 Aug 2013 13:12:14 +0000 (15:12 +0200)]
[FIX] stock: allow modification of stock.picking.{in,out} reports via report designer
bzr revid: chs@openerp.com-
20130823131214-ipouwtnz8r16mlvv
Martin Trigaux [Fri, 23 Aug 2013 13:20:49 +0000 (15:20 +0200)]
[FIX] mrp, stock: permissions error on multicompany + add tests, courtesy of Camptocamp
bzr revid: mat@openerp.com-
20130823132049-vah4d2ev03a9gb1v
Christophe Simonis [Fri, 23 Aug 2013 13:03:55 +0000 (15:03 +0200)]
[MERGE] project: migrate to aliases
bzr revid: chs@openerp.com-
20130823130355-5f5mi76brx1xjdge
Thibault Delavallée [Fri, 23 Aug 2013 12:37:16 +0000 (14:37 +0200)]
[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
Cecile Tonglet [Fri, 23 Aug 2013 12:29:55 +0000 (14:29 +0200)]
[IMP] Use the migration function migrate_to_alias of object mail.alias on model project.project
bzr revid: cto@openerp.com-
20130823122955-5bbn5ivdiqxti5py
Thibault Delavallée [Fri, 23 Aug 2013 12:06:11 +0000 (14:06 +0200)]
[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
Martin Trigaux [Fri, 23 Aug 2013 11:58:51 +0000 (13:58 +0200)]
[IMP] stock: convert yml test to python
bzr revid: mat@openerp.com-
20130823115851-36tcrj17n5bme3uu
Martin Trigaux [Fri, 23 Aug 2013 11:52:48 +0000 (13:52 +0200)]
[IMP] mrp: convert yml test to python
bzr revid: mat@openerp.com-
20130823115248-5a7z35xge3ogpyvc
Martin Trigaux [Fri, 23 Aug 2013 09:59:12 +0000 (11:59 +0200)]
[MERGE] base mp, courtesy of Alexandre Fayolle (camptocamp)
lp bug: https://launchpad.net/bugs/1182111 fixed
bzr revid: mat@openerp.com-
20130823095912-5kwshj6nkdzduejx
Martin Trigaux [Fri, 23 Aug 2013 09:22:31 +0000 (11:22 +0200)]
[MERGE] backport of revision 8862
mrp, sale_stock: minor usability improvements + properties in sale order lines
bzr revid: mat@openerp.com-
20130823092231-w5aet41ivk4f7nd9
Martin Trigaux [Fri, 23 Aug 2013 08:51:38 +0000 (10:51 +0200)]
[IMP] mrp: allow searching by components, better view for BoM structure
bzr revid: mat@openerp.com-
20130823085138-bhxhitqof4m2hd7v
Martin Trigaux [Fri, 23 Aug 2013 08:12:56 +0000 (10:12 +0200)]
[FIX] tree view: correct toggeling of hierarchic tree, correctly pass ids
bzr revid: mat@openerp.com-
20130823081256-ab12551kejhjcqbv
Launchpad Translations on behalf of openerp [Fri, 23 Aug 2013 05:52:46 +0000 (05:52 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130822054012-klsl0p3ylzlwe9w5
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130823055246-8rlzajaxcyy6zkja
Launchpad Translations on behalf of openerp [Fri, 23 Aug 2013 05:52:41 +0000 (05:52 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130822054004-iy1tgkww8vf91e5g
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130823055241-t379yr3ksuppirw0
Paramjit Singh Sahota [Thu, 22 Aug 2013 11:08:48 +0000 (16:38 +0530)]
[ADD] Added the test for MRP Issue where producing a BoM with a component of Service type is not possible.
bzr revid: psa@tinyerp.com-
20130822110848-kg8g2s3gfhbgxsg9
Paramjit Singh Sahota [Thu, 22 Aug 2013 05:10:59 +0000 (10:40 +0530)]
[MERGE] Sync with lp:openobject-addons/7.0
bzr revid: psa@tinyerp.com-
20130822051059-eq0r7kpvi7uxrje4
Martin Trigaux [Wed, 21 Aug 2013 15:58:18 +0000 (17:58 +0200)]
[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
Martin Trigaux [Wed, 21 Aug 2013 15:44:01 +0000 (17:44 +0200)]
[FIX] analytic_user_function: initialise variable
bzr revid: mat@openerp.com-
20130821154401-vgjpfmmjd59bm3j6
Martin Trigaux [Wed, 21 Aug 2013 15:39:18 +0000 (17:39 +0200)]
[FIX] mail: check create access only for acess rights, not access rules (too permissive)
bzr revid: mat@openerp.com-
20130821153918-pdtf4mhcdycfdf3p
Martin Trigaux [Wed, 21 Aug 2013 14:49:00 +0000 (16:49 +0200)]
[MERGE] [IMP] lunch: better name_get and avoid seeing twice the create button on the cashmove view
bzr revid: mat@openerp.com-
20130821144900-86hcgrwd43mavo5y
Martin Trigaux [Wed, 21 Aug 2013 14:37:14 +0000 (16:37 +0200)]
[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
Olivier Dony [Wed, 21 Aug 2013 13:51:25 +0000 (15:51 +0200)]
[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
Martin Trigaux [Wed, 21 Aug 2013 12:54:29 +0000 (14:54 +0200)]
[FIX] point_of_sale: avoid traceback if deleted property
bzr revid: mat@openerp.com-
20130821125429-uzaqw4yx2ve63wja
Martin Trigaux [Wed, 21 Aug 2013 12:17:14 +0000 (14:17 +0200)]
[FIX] account_voucher: generate empty context to avoid traceback
bzr revid: mat@openerp.com-
20130821121714-5q5qa56suab0dehs
Olivier Dony [Wed, 21 Aug 2013 12:00:51 +0000 (14:00 +0200)]
[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
Olivier Dony [Wed, 21 Aug 2013 11:58:22 +0000 (13:58 +0200)]
[DOC] minor wording/formatting/nitpicking on top of previous patch
bzr revid: odo@openerp.com-
20130821115822-kd9d8m1upvo5wiux
Olivier Dony [Wed, 21 Aug 2013 11:52:49 +0000 (13:52 +0200)]
[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
alexandre.fayolle@camptocamp.com [Wed, 21 Aug 2013 09:49:13 +0000 (11:49 +0200)]
[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
Martin Trigaux [Wed, 21 Aug 2013 08:53:42 +0000 (10:53 +0200)]
[MERGE] [FIX] reload form if button has option reload_on_button
bzr revid: mat@openerp.com-
20130821085342-8k6q1d2886tmwffm
Martin Trigaux [Wed, 21 Aug 2013 08:53:04 +0000 (10:53 +0200)]
[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
Martin Trigaux [Wed, 21 Aug 2013 08:32:56 +0000 (10:32 +0200)]
[FIX] sale: correct report for discount column (opw #592874)
bzr revid: mat@openerp.com-
20130821083256-1746jkpzpnlnhjib
Martin Trigaux [Wed, 21 Aug 2013 08:09:33 +0000 (10:09 +0200)]
[FIX] vertical alignment of fields on firefox (opw #590181)
bzr revid: mat@openerp.com-
20130821080933-fiq3zvccgzop02on
Christophe Matthieu [Tue, 20 Aug 2013 12:32:24 +0000 (14:32 +0200)]
[FIX] base_calendar: change write, create and search method display recurrency date, and recurrency date with number of repetitions
bzr revid: chm@openerp.com-
20130820123224-33bwr2gt9tp7x9qg
Olivier Dony [Tue, 20 Aug 2013 09:11:57 +0000 (11:11 +0200)]
[DOC] changelog: more details
bzr revid: odo@openerp.com-
20130820091157-e5brwlxuhujf8rrd
Olivier Dony [Tue, 20 Aug 2013 08:54:51 +0000 (10:54 +0200)]
[FIX] Model.browse: prefetching should not include model-level restricted fields (with @groups)
This usually causes spurious AccessDenied errors that would
not have occurred in most cases because the restricted fields
would not be actually read/accessed.
This patch treats fields with model-level `groups` attributes
(which means access is restricted by the ORM, not just the UI)
as not prefetchable, irregardless of the actual groups that are
restricted. This agnostic approach was chosen to save the
extra group membership lookup in most cases, which is currently
not cached (caching it would be a bigger change and come with
cache invalidation issues).
In the worst case the non-prefetching will cause an extra
SQL query for each restricted field that is browsed, but in
most cases this will make no performance hit, as this
from of access control is typically used only for a few
fields.
bzr revid: odo@openerp.com-
20130820085451-e1a30wfod2hc52hf
Launchpad Translations on behalf of openerp [Tue, 20 Aug 2013 05:15:02 +0000 (05:15 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130820051502-deoiql3lru7goosd
Christophe Simonis [Mon, 19 Aug 2013 17:49:30 +0000 (19:49 +0200)]
[FIX] browse records do not prefetch fields with groups
bzr revid: chs@openerp.com-
20130819174930-xjzmrhuuuuwnbdg0
Christophe Simonis [Mon, 19 Aug 2013 16:46:22 +0000 (18:46 +0200)]
[FIX] browse records do not try to prefetch fields user can't read
bzr revid: chs@openerp.com-
20130819164622-7cre7yqpvlyzsslj
Olivier Dony [Mon, 19 Aug 2013 14:23:14 +0000 (16:23 +0200)]
[FIX] account,hr_timesheet_sheet: fix YML assertRaise-like testcases that did not verify the result, courtesy of Laetitia Gangloff (Acsone)
bzr revid: odo@openerp.com-
20130819142314-cirsm5jxg6e0uw02
Launchpad Translations on behalf of openerp [Mon, 19 Aug 2013 04:57:37 +0000 (04:57 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130815055122-qjjh1oa8122npkdt
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130816060311-osd5epg0pjqggizo
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130817061650-b596lee67z2gon1h
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130818050503-e1c1ferew0px4k1y
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130819045737-ef63g3nwk154ezyw
Launchpad Translations on behalf of openerp [Sun, 18 Aug 2013 05:04:55 +0000 (05:04 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130815055129-l249p9ncbc2h5ofe
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130815055040-zhr6j27dl2pml3xj
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130817061604-2qsvxvuesqqeah0x
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130818050455-fwt3xl3oyarv2ed8
Paramjit Singh Sahota [Tue, 13 Aug 2013 11:13:00 +0000 (16:43 +0530)]
[MERGE] Merged lp:openobject-addons/7.0
bzr revid: psa@tinyerp.com-
20130624131850-bz1speq0m5qvklx5
bzr revid: psa@tinyerp.com-
20130813111300-mx6ditfva9dn01nj
Launchpad Translations on behalf of openerp [Wed, 14 Aug 2013 06:11:43 +0000 (06:11 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130813060644-aqcty76tubwcndqr
bzr revid: launchpad_translations_on_behalf_of_openerp-
20130814061143-xd9u24slxcp1dft9
niv-openerp [Tue, 13 Aug 2013 14:20:11 +0000 (16:20 +0200)]
[FIX] remove last password saving feature
lp bug: https://launchpad.net/bugs/1211795 fixed
bzr revid: nicolas.vanhoren@openerp.com-
20130813142011-osv12ybmwvjj5dso
Olivier Dony [Tue, 13 Aug 2013 08:22:47 +0000 (10:22 +0200)]
[FIX] account_report_company: avoid including the address in the computed display name
bzr revid: odo@openerp.com-
20130813082247-fz1cv55l82j9uo3l
Martin Trigaux [Wed, 14 Aug 2013 15:30:28 +0000 (17:30 +0200)]
[MERGE] l10n_be: add translation of belgian chart of accounts in Flemish
requires merge 5049 in server 7.0 (support of i18n_extra folder)
requires l10n_multilang preinstalled before l10n_be (to add translatable fields)
move l10n_be_wizard.yml to l10n_be_hr_payroll_account (requires an accounting plan installed to import data)
set action wizard for multichart selection opened
add translation of chart of account into nl_BE, courtesy of Geert Janssens
point_of_sale: fix default journal selection for config (broken runbot test)
lp bug: https://launchpad.net/bugs/1189865 fixed
bzr revid: mat@openerp.com-
20130814153028-f0rj5truwrlqgrxe
Martin Trigaux [Wed, 14 Aug 2013 15:20:30 +0000 (17:20 +0200)]
[MERGE] ir_translation: add support for i18n_extra folder for additional translations
lp bug: https://launchpad.net/bugs/1189865 fixed
bzr revid: mat@openerp.com-
20130814152030-fnv48qljigdj0hjb
Martin Trigaux [Wed, 14 Aug 2013 14:02:40 +0000 (16:02 +0200)]
[FIX] point_of_sale: ok this one should be good
bzr revid: mat@openerp.com-
20130814140240-f0qqsks6tcc423s8
Martin Trigaux [Wed, 14 Aug 2013 13:53:46 +0000 (15:53 +0200)]
[FIX] point_of_sale: oups, needs an id
bzr revid: mat@openerp.com-
20130814135346-6zpzl6tc0efowquj
Martin Trigaux [Wed, 14 Aug 2013 13:45:11 +0000 (15:45 +0200)]
[FIX] point_of_sale: better default sale journal for new pos.config, use company of current user
done to fix test in 01_order_to_payment.yml when creating pos.order
default config can have journal of different company, will get exception if done with a journal of main company
bzr revid: mat@openerp.com-
20130814134511-c0f3z27f9p2gflt6
Martin Trigaux [Wed, 14 Aug 2013 09:40:47 +0000 (11:40 +0200)]
[FIX] l10n_be: move yml file to l10n_be_hr_payroll_account
bzr revid: mat@openerp.com-
20130814094047-a3hbjt3iklavlzyr
Martin Trigaux [Tue, 13 Aug 2013 15:38:29 +0000 (17:38 +0200)]
[FIX] l10n_be: trying to cheat runbot into going green, still a data problem with l10n_be_hr_payroll_account
bzr revid: mat@openerp.com-
20130813153829-t3ssexue8yreeeld
Martin Trigaux [Tue, 13 Aug 2013 14:41:32 +0000 (16:41 +0200)]
[FIX] l10n_be: can not add new dependency in 7.0 (stable), too bad for multilang
bzr revid: mat@openerp.com-
20130813144132-8n7gw43i3e1w9hw7
Martin Trigaux [Tue, 13 Aug 2013 14:03:00 +0000 (16:03 +0200)]
[ADD] changelog file with support of i18n_extra folder
bzr revid: mat@openerp.com-
20130813140300-g9amgza8h9w1lt4j
Martin Trigaux [Tue, 13 Aug 2013 13:01:09 +0000 (15:01 +0200)]
[IMP] ir_translation: better log message
bzr revid: mat@openerp.com-
20130813130109-yhvgipdy9m63jcqy
Martin Trigaux [Tue, 13 Aug 2013 12:33:46 +0000 (14:33 +0200)]
[ADD] l10n_be: translation belgian accounts templates, courtsey of Geert Janssens
bzr revid: mat@openerp.com-
20130813123346-91ua3udtegb03vi0
Martin Trigaux [Tue, 13 Aug 2013 12:28:35 +0000 (14:28 +0200)]
[MERGE] [ADD] l10n_be: l10n_be inherits from l10n_multilang, remove yml for automatic account assignment and replace it by the more common wizard in open state
bzr revid: mat@openerp.com-
20130813122835-bvue248y36zkottt