Commit Graph

71890 Commits

Author SHA1 Message Date
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
Paramjit Singh Sahota 9d6cc51728 [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
2013-08-22 16:38:48 +05:30
Paramjit Singh Sahota 024d57f43d [MERGE] Sync with lp:openobject-addons/7.0
bzr revid: psa@tinyerp.com-20130822051059-eq0r7kpvi7uxrje4
2013-08-22 10:40:59 +05:30
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
Christophe Matthieu bad1a58eba [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
2013-08-20 14:32:24 +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
Olivier Dony aa0da8414e [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
2013-08-20 10:54:51 +02:00
Launchpad Translations on behalf of openerp a5ac1c4cfc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130820051502-deoiql3lru7goosd
2013-08-20 05:15:02 +00:00
Christophe Simonis e78a83ac03 [FIX] browse records do not prefetch fields with groups
bzr revid: chs@openerp.com-20130819174930-xjzmrhuuuuwnbdg0
2013-08-19 19:49:30 +02:00
Christophe Simonis 815fc8f84a [FIX] browse records do not try to prefetch fields user can't read
bzr revid: chs@openerp.com-20130819164622-7cre7yqpvlyzsslj
2013-08-19 18:46:22 +02:00
Olivier Dony 8a9db0b58f [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
2013-08-19 16:23:14 +02:00
Launchpad Translations on behalf of openerp 0e74fd31a4 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
2013-08-19 04:57:37 +00:00
Launchpad Translations on behalf of openerp d91ba409fd 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
2013-08-18 05:04:55 +00:00
niv-openerp ba782d1acd [FIX] removed last password feature
lp bug: https://launchpad.net/bugs/1211795 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130813142738-bm27qu6jnr3e5y72
2013-08-13 16:27:38 +02:00
Paramjit Singh Sahota 22669ee07c [MERGE] Merged lp:openobject-addons/7.0
bzr revid: psa@tinyerp.com-20130624131850-bz1speq0m5qvklx5
bzr revid: psa@tinyerp.com-20130813111300-mx6ditfva9dn01nj
2013-08-13 16:43:00 +05:30
Launchpad Translations on behalf of openerp b9cc4e0c33 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130813060644-aqcty76tubwcndqr
bzr revid: launchpad_translations_on_behalf_of_openerp-20130814061143-xd9u24slxcp1dft9
2013-08-14 06:11:43 +00:00
niv-openerp a07da01457 [FIX] remove last password saving feature
lp bug: https://launchpad.net/bugs/1211795 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130813142011-osv12ybmwvjj5dso
2013-08-13 16:20:11 +02:00
Olivier Dony 54499cd053 [FIX] account_report_company: avoid including the address in the computed display name
bzr revid: odo@openerp.com-20130813082247-fz1cv55l82j9uo3l
2013-08-13 10:22:47 +02:00
Martin Trigaux f9ddd354bd [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
2013-08-14 17:30:28 +02:00
Martin Trigaux 1984305843 [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
2013-08-14 17:20:30 +02:00
Martin Trigaux 41ca4aa350 [FIX] point_of_sale: ok this one should be good
bzr revid: mat@openerp.com-20130814140240-f0qqsks6tcc423s8
2013-08-14 16:02:40 +02:00
Martin Trigaux 9f5c0f54ec [FIX] point_of_sale: oups, needs an id
bzr revid: mat@openerp.com-20130814135346-6zpzl6tc0efowquj
2013-08-14 15:53:46 +02:00
Martin Trigaux 38f2806579 [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
2013-08-14 15:45:11 +02:00
Martin Trigaux 427b7b6910 [FIX] l10n_be: move yml file to l10n_be_hr_payroll_account
bzr revid: mat@openerp.com-20130814094047-a3hbjt3iklavlzyr
2013-08-14 11:40:47 +02:00
Martin Trigaux 91cc0b5494 [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
2013-08-13 17:38:29 +02:00
Martin Trigaux 5800fa9a53 [FIX] l10n_be: can not add new dependency in 7.0 (stable), too bad for multilang
bzr revid: mat@openerp.com-20130813144132-8n7gw43i3e1w9hw7
2013-08-13 16:41:32 +02:00