Commit Graph
81391 Commits
Author SHA1 Message Date
Paramjit Singh Sahota effe4d0318 [IMP] Improved the tooltip 'sale' to 'sell'.
bzr revid: psa@tinyerp.com-20130417050045-n10923534ysi7v81
2013-04-17 10:30:45 +05:30
Foram Katharotiya (OpenERP) 4144d4826a [MERGE] with trunk
bzr revid: fka@tinyerp.com-20130417045851-0oecsdcqybcdiw9t
2013-04-17 10:28:51 +05:30
Thibault Delavallée a68e7fe9eb [FIX] mail_thread: message_process: fixed body of bounced emails.
bzr revid: tde@openerp.com-20130416153809-d5xbjqw6i7l7x4av
2013-04-16 17:38:09 +02:00
Xavier Morel c19bc50648 [FIX] ids of deleted records living in shared dataset when clicking on list row
When a record is activated, the listview will do some jiggling around
assigning the ids of internal dataset to the one shared between all
views, this is mostly for the case where one switches from a "grouped"
list view, so the form view only cycles on the "current" group.

Problem is, that internal dataset is not correctly synchronized with
the shared one, so when the id is removed from the shared dataset it
is *not* removed from the internal one(s), and when the switch is made
the ids from the internal dataset are set on the shared one and
reintroduce the deleted record, leading to the form view's incorrect
state.

Fix the issue by updating the dataset's ids list when a record is
deleted from the records tree.

Also extracted some stuff from DataSetSearch's unlink callback so it
can be overridden and is more stable across datasets.

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

bzr revid: xmo@openerp.com-20130416152000-06dbwkgdb8zlf9pc
2013-04-16 17:20:00 +02:00
Vo Minh Thu 3fe1f53514 [REF] get_module_resource() must imported from openerp.modules (instead of openerp.addons).
bzr revid: vmt@openerp.com-20130416151844-gatbo4s2l2e6reme
2013-04-16 17:18:44 +02:00
Thibault Delavallée a91274c18c [IMP] project, mail_group, hr_job, sales team: added alias_contact parameter in form view. Also fixed a typo in project form view about visilibity -> privacy_visibility.
bzr revid: tde@openerp.com-20130416142901-c6wbc82yp2kwj1dt
2013-04-16 16:29:01 +02:00
Thibault Delavallée ef210bd489 [FIX] project: default visibility is employees only. Updated demo data by the way.
bzr revid: tde@openerp.com-20130416141145-3tsaz7u51xt80rer
2013-04-16 16:11:45 +02:00
Thibault Delavallée c2f02f6798 [FIX] mail, crm: fixed some access rights issues when using chatter on a document without access rights with portal users.
bzr revid: tde@openerp.com-20130417085927-wg07siehk2uhrkpu
2013-04-17 10:59:27 +02:00
Martin Trigaux b2bb03ba4a [FIX] correct actions
bzr revid: mat@openerp.com-20130416134847-celf4nbl7748vnj5
2013-04-16 15:48:47 +02:00
Christophe Matthieu f6b6035922 [IMP] crm: salesteams, add target_invoice_duration attribute
bzr revid: chm@openerp.com-20130416134520-znocwh73q6x3nk1r
2013-04-16 15:45:20 +02:00
Thibault Delavallée c1a0489156 [FIX] Chatter: fixed calls to refactored methos.
bzr revid: tde@openerp.com-20130416134405-nxtwbvxbz77pxufx
2013-04-16 15:44:05 +02:00
Thibault Delavallée c7897690e2 [REF] project: removed duplicate files introduced when merging 7 into branch, because of backport of some modifications done in this branch in 7
bzr revid: tde@openerp.com-20130416133936-cr0sno29vk5dyj0e
2013-04-16 15:39:36 +02:00
Thibault Delavallée 7f6a475590 [IMP] [REF] mail_thread: refactored a bit message_parse, message_route and various find_partner methods.
Now handles private aliases (alias_contact as partners or followers).
message_route now works in 2 steps :
1/ finding all possible routes, as before
2/ checks and filtrates those routes, by finding the most
relevant message author and using it to check alias contact settings.
Also refactored the various partner finding method in one method
that checks in res.partner, for: partners, partners that are users,
partners that follow a given document.

bzr revid: tde@openerp.com-20130416132813-zcm1r5kx0dwrfeic
2013-04-16 15:28:13 +02:00
Vo Minh Thu 39c88d0922 [IMP] account: cash.box.in defines its _columns, do the same for cash.box.out.
This is needed to solve an inheritance problem when adding a superclass
`base.model` (I guess this is related to the fact some code in the orm
does a copy from the class to the instance).

bzr revid: vmt@openerp.com-20130416132621-xo0lckimczqpvyos
2013-04-16 15:26:21 +02:00
Martin Trigaux 0b0c24a636 [REF] moving to only hr_gamification module
bzr revid: mat@openerp.com-20130416124558-p40tkw8mgr4e7v04
2013-04-16 14:45:58 +02:00
Christophe Matthieu 7394f41f83 [IMP] crm: salesteams, add target_invoice field
bzr revid: chm@openerp.com-20130416124011-qbyf0wa5pvs36jp3
2013-04-16 14:40:11 +02:00
Christophe Matthieu 329459237f [FIX] auth_signup: if not context: context = {}
bzr revid: chm@openerp.com-20130416103002-sdbrpbnwxkx0qcpw
2013-04-16 12:30:02 +02:00
Martin Trigaux 8d23c604d9 [IMP] switch to challenges
bzr revid: mat@openerp.com-20130416102724-0ejrlecls30xhol3
2013-04-16 12:27:24 +02:00
Cedric Snauwaert 0cae5cb047 [FIX]purchase: remove default filter that prevent to see quotations that have been sent but not yet validated
bzr revid: csn@openerp.com-20130416095622-gxmxb5gpfqgs30eh
2013-04-16 11:56:22 +02:00
Olivier Dony 06cd0a1c7f [FIX] res.partner: avoid hiding parent_id and child_ids fields if they are set, irregardless of the rest of the is_company flag
This prevents hiding real data and also allows creating more
complex/flexible structures by setting the values of these
fields before or after setting is_company, to reach the
desired result.

bzr revid: odo@openerp.com-20130416093403-9m484d30qqq5ab8l
2013-04-16 11:34:03 +02:00
Olivier Dony d734bf58cc [FIX] res.partner: name_get: return "Company, Contact" rather than "Contact (Company)" to make it clearer that the company is selected as well
bzr revid: odo@openerp.com-20130416093121-t5soophs2aui8rzq
2013-04-16 11:31:21 +02:00
Xavier Morel a455d6c2b2 [FIX] correctly handle group_by_no_leaf when no grouping applied
If there are no grouping field specified *but* group_by_no_leaf is
specified, should call read_group with no grouping fields: will
generate a single group (which can not be opened) for all of the
model.

Necessary for analysis views since individual "records" make no sense.

bzr revid: xmo@openerp.com-20130416092344-2pqog8f7xprn6hsh
2013-04-16 11:23:44 +02:00
Quentin (OpenERP) d2e71a65e1 [IMP] ir_translation: GUI improve in order to be able to change the english value of a model field (eg: a product name) directly in the translation window + small refactoring in order to test 'if context is None' rather than 'if not context' (see lp bug 525808)
bzr revid: qdp-launchpad@openerp.com-20130416091501-sgm3gdm80oxajahz
2013-04-16 11:15:01 +02:00
Olivier Dony 2c6d69e0f1 [FIX] res.partner: propagate is_supplier property when creating parent or child partner for a supplier
This is not necessary for the `is_customer` flag, as it is
always True by default (customers are created more frequently).
Passing the field value via an invisible field in the mini
contact form is necessary because context `default_*` values are
automatically discarded by the ORM when creating o2m
or m2m records (as they are supposed to apply to a different model).

bzr revid: odo@openerp.com-20130416091027-y7iwvpjhowg53lry
2013-04-16 11:10:27 +02:00
Foram Katharotiya (OpenERP) 09c85837c5 [IMP] add access rights of sales own lead in analytic.user.funct.grid
bzr revid: fka@tinyerp.com-20130416090901-47jy1fbrmkmgylbf
2013-04-16 14:39:01 +05:30
Christophe Simonis d7b63202f3 [MERGE] [FIX] mail: mail composer: Use a text field instead of a html field
html fields are sanitized just before saving data into the database.
In the composer, this cause the sanitization of the templated
message (for mass mailing messages) before the rendering, forbidding
the use of templated html links.
The html of the message is sanitized by message_post()

bzr revid: chs@openerp.com-20130416083812-jvqeivfxhdr32djh
2013-04-16 10:38:12 +02:00
Foram Katharotiya (OpenERP) a7ad46c903 [MERGE] with trunk
bzr revid: fka@tinyerp.com-20130412053039-j063wpv8ytb0m2p3
bzr revid: fka@tinyerp.com-20130416083739-i4saz4bu3q3s3vrj
2013-04-16 14:07:39 +05:30
Thibault Delavallée 3c79c0be17 [MERGE] Sync with trunk, especially about project and portal project security rules that were backported into 7.0
bzr revid: tde@openerp.com-20130416081736-ictzkj9feu46wm6y
2013-04-16 10:17:36 +02:00
Thibault Delavallée 054836185a [FORWARD] [MERGE] Forward port of addons 7.0 until revision 9021.
bzr revid: tde@openerp.com-20130416081254-59im5jx15r7pjzl3
2013-04-16 10:12:54 +02:00
Stephane Wirtel 1a06d3d28f [MERGE] accounts: Load the charts of account from Apps whether those are not in
the local addons path.

bzr revid: stw@openerp.com-20130416080508-ujt54nh0n7bvtkl1
2013-04-16 10:05:08 +02:00
Stephane Wirtel 294e675f8b [MERGE] After the installation, reload the Apps interface if the modules are not
on the local repo of the addons.

bzr revid: stw@openerp.com-20130416080120-2xbxilnaw2j3i0lu
2013-04-16 10:01:20 +02:00
Cedric Snauwaert 6ca0770257 [REF]crm_lead, crm_meeting: minor changes to follow pep8 standard
bzr revid: csn@openerp.com-20130416074335-qx8c6f4fjueknjk9
2013-04-16 09:43:35 +02:00
Thibault Delavallée efceba5b8b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130416073641-pcelb6zsq8dg56wb
2013-04-16 09:36:41 +02:00
Foram Katharotiya (OpenERP) b4ccaaaac2 [IMP] change string of Storage location when type is service
bzr revid: fka@tinyerp.com-20130416072459-6p0n69rqhc0nozjd
2013-04-16 12:54:59 +05:30
bth-openerp 30b847fbf0 [REM] Remove unwanted changes.
bzr revid: bth@tinyerp.com-20130416072248-qtn1ajo89i4wt048
2013-04-16 12:52:48 +05:30
Dharti Ratani (Open ERP) 49e50a3cc4 [FIX]Set the filter properly in partner ledger as it was stretched wide
bzr revid: dhr@tinyerp.com-20130416071934-n68fffm5kd9kbj8h
2013-04-16 12:49:34 +05:30
Foram Katharotiya (OpenERP) c7a24718e0 [IMP] improve code
bzr revid: fka@tinyerp.com-20130416063449-rcpk6yr2ravm1l7e
2013-04-16 12:04:49 +05:30
Launchpad Translations on behalf of openerp e8e6f434f4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130416052741-3au0bx7ha7of6lzg
2013-04-16 05:27:41 +00:00
Launchpad Translations on behalf of openerp 46e5767367 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130416052714-8akmv4r170byjx0k
2013-04-16 05:27:14 +00:00
Paramjit Singh Sahota 91c3c84e7c [MERGE] Merged lp:openobject-addons
bzr revid: psa@tinyerp.com-20130416050730-tm4hq1o7u20hued3
2013-04-16 10:37:30 +05:30
Paramjit Singh Sahota fc1ee21fa7 [IMP] Improve code and make the meetings available in Advanced search by name.
bzr revid: psa@tinyerp.com-20130416045334-70gt4bb7v83q7z02
2013-04-16 10:23:34 +05:30
Foram Katharotiya (OpenERP) b5b0dd8a54 [MERGE] with trunk
bzr revid: fka@tinyerp.com-20130415045553-2pjczc1ul80k9v3v
bzr revid: fka@tinyerp.com-20130416044900-uk3rzd4rb1d7i5je
2013-04-16 10:19:00 +05:30
Launchpad Translations on behalf of openerp 0cb5a70340 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130416043749-u2l62c4syfay8q48
2013-04-16 04:37:49 +00:00
Olivier Dony f985391ba0 [MERGE] Sync with 7.0
bzr revid: odo@openerp.com-20130415181836-cmq936wu0w7alwky
2013-04-15 20:18:36 +02:00
Olivier Dony 8d03cf7740 [MERGE] res.partner, orm._check_recursion: prevent recursive partner structures + fix false positives in check_recursion()
- res.partner must prevent creating loops in partner
hierarchies, and this can be done easily with an
extra _constraint using the ORM's builtin _check_recursion

- _check_recursion's implementation incorrectly
assumed that the provided 'ids' were unrelated
(not part of a common hierarchy).

- add tests for _check_recursion via extra
tests on res.partner structure
(explains why both patches are in the same
commit)

bzr revid: odo@openerp.com-20130415181108-b2ytpuxflr8srpqf
2013-04-15 20:11:08 +02:00
Olivier Dony 556e4e76c3 [FIX] l10n_ro: unique constraints on vat and nrc columns need to be updated for 7.0 model
With the 7.0 model all accounting-related fields are synchronized
from company to contacts (both are res.partner records), so the
unique check is not a trivial unique constraint. It must be updated
to use a *partial unique index* that applies only to "commercial
entities" and not to contacts. The condition for being a commercial
entity is "is_company is true or parent_id is NULL".
If companies have unique vat/nrc numbers, then their contacts
will be consistent because they are automatically synchronized,
so the uniqueness between contacts does not have to be checked.
(The auto-sync is performed by res.partner automatically and covered
by tests in the "base" module)

bzr revid: odo@openerp.com-20130415175258-l15meqin80sbhggu
2013-04-15 19:52:58 +02:00
Olivier Dony 05d0c3cb48 [FIX] auth_signup: upon signup of new user, the company_id[s] of the corresponding partner must be used
The default was to use those of the template user,
which may not be correct in multi-company cases.

bzr revid: odo@openerp.com-20130415173901-sevyy27244m6iks0
2013-04-15 19:39:01 +02:00
Olivier Dony 8efd16f25a [FIX] res.partner, orm._check_recursion: prevent recursive partner structures + fix false positives in check_recursion()
- res.partner must prevent creating loops in partner
hierarchies, and this can be done easily with an
extra _constraint using the ORM's builtin _check_recursion

- _check_recursion's implementation incorrectly
assumed that the provided 'ids' were unrelated
(not part of a common hierarchy).

- add tests for _check_recursion via extra
tests on res.partner structure
(explains why both patches are in the same
commit)

bzr revid: odo@openerp.com-20130415171732-aj3j2e2mycvzf4kp
2013-04-15 19:17:32 +02:00
Martin Trigaux 0222ae2a21 [IMP] better data
bzr revid: mat@openerp.com-20130415155014-y6bdafhnmb5g7kqj
2013-04-15 17:50:14 +02:00
Stephane Wirtel f4d8ba79ec [MERGE] Upstream
bzr revid: stw@openerp.com-20130415154412-dyis8r4y48q8b1we
2013-04-15 17:44:12 +02:00