Commit Graph
3266 Commits
Author SHA1 Message Date
Quentin (OpenERP) 33f27b362b [MERGE] forward port of addons v7 up to revision 9045
bzr revid: qdp-launchpad@openerp.com-20130422153449-c62emljfa4a49758
2013-04-22 17:34:49 +02:00
Olivier Dony 65ff677697 [MERGE/ADD] Many important fixes for contact/company management + new module account_report_company
This patch comes with a corresponding server-side patch (revision 4946 revid: odo@openerp.com-20130420032529-pvv6vuelp84bt26j)


- module-specific overrides of _commercial_fields() for all modules adding accounting/invoicing-related fields to res.partner

- corresponding changes to inherited views of res.partner form to hide these commercial fields when they are in fact "related fields" of their parent commercial entity. This mainly concerns 2 sections of the Partner form: the whole Accounting tab, and the bottom of the Sales&Purchase tabs with the pricelists and invoicing fields. These sections are replaced by a short message and a button to open the commercial entity to view/edit the fields

- a few fixes to properly delegate the resolution of various contact/address types to the corrected res.partner.address_get()

- changes to search views of the main business documents so that searching for a company name will also match its contacts

- a fix of the _find_accounting_partner() method that the account module uses to locate the partner to which journal entries must be linked - it will now use the same semantics as for "commercial entity"

- fix issue detected by Joël Grand-Guillaume in comment #34 of bug 1160365: when invoicing after delivery, the invoicing contact/address must be used rather than the main customer. Tests updated accordingly.

- add new 7.0 module "account_report_company": this module adds an extra stored field "commercial_partner_id" on Invoices to make reporting/aggregating by partner easier in the Invoice list and in the Invoice Analysis report. This module is expected to be merged in the main account module in the next major release. The module can be installed without any risk on any existing 7.0 databases.
This module also mitigates group_by issues on all models by adding a new stored function field `display_name` on res.partner that contains the name_get() result in the form "ACME, John Doe" and set it as the default _order for res.partner. This ensures that group_by entries for the same company will always be next to each other on all documents: "ACME" is directly followed by "ACME, John Doe", "ACME, John Anderson", etc. This field also replaces the `name` field in the list and kanban views of Partners, so that the display order matches the display labels.

- fixed unique constraints definition on some commercial fields on res.partner (l10n_ro)

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

bzr revid: odo@openerp.com-20130420034221-2wvf6rezwl7gog74
2013-04-20 05:42:21 +02:00
Olivier Dony feefb0ad36 [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts
The goal is to match both the Company and its contacts
when searching for the Company

bzr revid: odo@openerp.com-20130420022642-6qe8pp4ifexjms65
2013-04-20 04:26:42 +02:00
Launchpad Translations on behalf of openerp 230b23e6cb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061733-j4th561m2dju73zo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130419061748-4sz8agg8laqbyu4p
2013-04-19 06:17:48 +00:00
Thibault Delavallée efceba5b8b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130416073641-pcelb6zsq8dg56wb
2013-04-16 09:36:41 +02:00
Thibault Delavallée 812c852fd0 [FORWARD] Merged 7.0 addons revisions until 9021
bzr revid: tde@openerp.com-20130415084302-hx7zxtpl5u6yphfg
bzr revid: tde@openerp.com-20130415153732-v4ols3t56rku92oz
2013-04-15 17:37:32 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Thibault Delavallée b6223ecb7f [FIX] [ADD] project, project_issue, portal_project, portal_project_issue: improved privacy_visibility selection of project.project; improved access rules; added tests to enforce them.
bzr revid: tde@openerp.com-20130412143719-ztjo06r900l024dm
2013-04-12 16:37:19 +02:00
Launchpad Translations on behalf of openerp c13ceba6b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130412060536-q07q8ed9v8ldi2kv
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414055031-dgknuaf8a4dhgt16
bzr revid: launchpad_translations_on_behalf_of_openerp-20130413063110-rtd3r7hxe54yb8eq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414054933-k6o13mitp3dl62xq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130415060648-klbxmc1afr5jq4vb
bzr revid: launchpad_translations_on_behalf_of_openerp-20130412060533-fq4nwi1i6h39y7pl
bzr revid: launchpad_translations_on_behalf_of_openerp-20130413063146-745583mwivnzgjqj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130414055028-v2dnk713g9ydbvpo
bzr revid: launchpad_translations_on_behalf_of_openerp-20130415060722-gvarcrrppfcq777a
2013-04-15 06:07:22 +00:00
Raphael Collet 894eeef8e0 [MERGE] from trunk
bzr revid: rco@openerp.com-20130411073708-gaxl2332umtedmg6
2013-04-11 09:37:08 +02:00
Launchpad Translations on behalf of openerp 75997ddc1c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130410055452-4saqwvwv6cgtil6s
2013-04-10 05:54:52 +00:00
Launchpad Translations on behalf of openerp 6fe10fc8e5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130409055857-v475gufg9pm5zbqy
bzr revid: launchpad_translations_on_behalf_of_openerp-20130409055920-gtfw1ljrgaej1u0u
bzr revid: launchpad_translations_on_behalf_of_openerp-20130406063645-b7q6s71zvtm9orxm
bzr revid: launchpad_translations_on_behalf_of_openerp-20130407060119-7ojh5lykuwm3ydbn
bzr revid: launchpad_translations_on_behalf_of_openerp-20130409055924-46ylmw1wqri80wgs
2013-04-09 05:59:24 +00:00
Launchpad Translations on behalf of openerp eb3ffc52ed Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130406063640-151b9f95w2tgiifb
bzr revid: launchpad_translations_on_behalf_of_openerp-20130407060111-hobhqctome9qtz6c
bzr revid: launchpad_translations_on_behalf_of_openerp-20130408062055-hzgkrbw8lvkfphxe
2013-04-08 06:20:55 +00:00
Thibault Delavallée 1fe0a9afe9 [MERGE] Alias Visibility and Salesteams View. Improve the display of alias in form views and in empty list help messages. Improve the use, visibility and display of salesteams.
This revision adds a configuration in Settings/Sales: enable the use of sales team. If not enabled, users have access to Leads and Opportunities menus; Sales Teams menu is hidden, as well as all fields related to sales teams. If enabled, a Sales Teams menu is added that works as the Project menu. The new sales Teams kanban view allows to have an overview of the sales team (leads, opportunities, quotations, sales orders, invoices). Clicking on a link of the kanban vignette redirect to the related list/kanban view, filtered by the chosen sales team.

This revision also improves the display of help message (also shown for empty kanban views) for leads, opportunities, tasks, issues, applicants. It displays the current sales team / project / job alias, or a default alias if no context is provided.

bzr revid: tde@openerp.com-20130405151914-8892yfmsmr2xwbbk
2013-04-05 17:19:14 +02:00
Thibault Delavallée d50b159f81 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130405111048-kqxll4mdwnsq2r8o
2013-04-05 13:10:48 +02:00
Thibault Delavallée 034d244be6 [REF] crm, hr, project: refactored kanban/form html/css to be cleaner and remove custom CSS. kanban specific css for aliases has been moved into web_kanban.
bzr revid: tde@openerp.com-20130405110737-xhdgxodrffqtfrzp
2013-04-05 13:07:37 +02:00
Thibault Delavallée 040ceb0125 [IMP] crm, project: fixed css issues preventing alias to be displayed in readonly mode; improved form view of salesteams and project about aliases; improved sequence of menus to display salesteam as first menu entry.
bzr revid: tde@openerp.com-20130404115627-3vw1uv4xrmeu13k2
2013-04-04 13:56:27 +02:00
Quentin (OpenERP) 3bb51ac696 [MERGE] forward port of bugfixes made in 7.0, up to revision 8969.
bzr revid: qdp-launchpad@openerp.com-20130404095257-oek77sijuxjyi0aj
2013-04-04 11:52:57 +02:00
Thibault Delavallée ba9412cb5d [CLEAN] addons: various linkt cleanup (indentation, spaces, ...).
bzr revid: tde@openerp.com-20130403081009-jy35sm7dl4pq7eyu
2013-04-03 10:10:09 +02:00
Launchpad Translations on behalf of openerp 252bcc802f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060824-pc5f2pj14gj0ak27
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055726-frtzw3gc9ut4wx4y
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053127-tolr13p1b3bhjny1
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054749-t3x0zc7qk3n4man2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060920-k0cnlpk0rxcli841
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055741-loojniiz6du9upat
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053211-yvt1h32v41rs6jje
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054814-fwg742kzhsupr6kc
bzr revid: launchpad_translations_on_behalf_of_openerp-20130329051100-3ul1k4qwwm2f49gt
bzr revid: launchpad_translations_on_behalf_of_openerp-20130330060923-wch1f8ndmb15nu6x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130331055759-aj1nc93t9420lov0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130401053215-kqqgqefzp95fa1tk
bzr revid: launchpad_translations_on_behalf_of_openerp-20130402054817-k33rri349nc2ioiz
2013-04-02 05:48:17 +00:00
Raphael Collet 96ad608854 [IMP] general: use registry[X] instead registry.get(X) when X is dynamic
bzr revid: rco@openerp.com-20130329143720-80pkd4csemlk1aqz
2013-03-29 15:37:20 +01:00
Launchpad Translations on behalf of openerp 7a8d71be6d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130329050903-yuxb08q83hlvg6ok
2013-03-29 05:09:03 +00:00
Launchpad Translations on behalf of openerp fc04522286 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130328060500-yc40z00ubsz154vw
2013-03-28 06:05:00 +00:00
Christophe Matthieu 43d34d9a0d [IMP] project: get_empty_list_help
bzr revid: chm@openerp.com-20130327161107-zpgjva798txezvkr
2013-03-27 17:11:07 +01:00
Christophe Matthieu b863d3c7ba [IMP] project_issue,alias: hidden choice to create task or issue if the user check only one
bzr revid: chm@openerp.com-20130325144423-zlp2362uxx6alyan
2013-03-25 15:44:23 +01:00
Christophe Matthieu 9845f41c09 [IMP] project, project_issue: improve get_empty_list_help
bzr revid: chm@openerp.com-20130325104012-h5ryupgzglia4twg
2013-03-25 11:40:12 +01:00
Christophe Matthieu 9d45f9ad82 [IMP] code cleaning for get_empty_list_help
bzr revid: chm@openerp.com-20130321133139-k6ycur34ojw2qhjq
2013-03-21 14:31:39 +01:00
Christophe Matthieu 8f2961d6f6 [IMP] alias and sales teams
bzr revid: chm@openerp.com-20130321100844-5hcdg90900lzt7gs
2013-03-21 11:08:44 +01:00
Christophe Matthieu ae30f8fff3 [MERGE] from trunk
bzr revid: chm@openerp.com-20130320125517-jv2ot85iypncoesj
2013-03-20 13:55:17 +01:00
Thibault Delavallée de5a303c4d [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130318101828-6csyuhmutrvm5ld5
2013-03-18 11:18:28 +01:00
Launchpad Translations on behalf of openerp 4ce8d2697d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130316055338-ogfw01ap8fh1hlaj
bzr revid: launchpad_translations_on_behalf_of_openerp-20130317045918-zi1230lgxjbkqw3x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130318044640-ts2tr31y2gl25rev
2013-03-18 04:46:40 +00:00
Thibault Delavallée 4484a3197c [MERGE] Sync with trunk, resolved conflicts due to forward port of 7.0
bzr revid: tde@openerp.com-20130315114338-54scb00rkp7zwr30
2013-03-15 12:43:38 +01:00
Quentin (OpenERP) d0f5b28bd0 [MERGE] merge with main trunk branch to get last translations from launchpad
bzr revid: qdp-launchpad@openerp.com-20130315103116-lxj96usw3ipd11z5
2013-03-15 11:31:16 +01:00
Thibault Delavallée cb6b598763 [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130315093907-8kc28n669unmr1n2
2013-03-15 10:39:07 +01:00
Launchpad Translations on behalf of openerp 72f29d98b8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130315055412-luy9qg1pkdjnqlud
2013-03-15 05:54:12 +00:00
Thibault Delavallée a147b69404 [IMP] addons: add default employee group on default_groups_ref.
bzr revid: tde@openerp.com-20130314162141-skfq5w98zhpn31yh
2013-03-14 17:21:41 +01:00
Quentin (OpenERP) be05b374a1 [MERGE] forwardport of bugfixes made in v7 up to revision 8854.
bzr revid: qdp-launchpad@openerp.com-20130314112740-s01t51p4m7mxcumz
2013-03-14 12:27:40 +01:00
Thibault Delavallée 53150088ad [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130314083401-6reysmzjuvnii1bz
2013-03-14 09:34:01 +01:00
Launchpad Translations on behalf of openerp cdb474f179 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130314053439-q79rdq445kptn3nn
2013-03-14 05:34:39 +00:00
Christophe Matthieu b255703166 [MERGE] from trunk
bzr revid: chm@openerp.com-20130313141718-dw76m7fvy0co3rfi
2013-03-13 15:17:18 +01:00
Launchpad Translations on behalf of openerp f79f6a5a25 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130313045907-qk0bmylr4b75nwiq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130313045910-tzs0o1kzuyfhsx05
2013-03-13 04:59:10 +00:00
Launchpad Translations on behalf of openerp f053d2fb5b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130312051930-f0frlcd04x9qau0w
2013-03-12 05:19:30 +00:00
Launchpad Translations on behalf of openerp c5319f47f7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053740-hrhdafa05mp0s6cd
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051349-azaf8kb3hdi6ux85
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054204-8yc0hga0v6pkk36x
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053843-8x3181swnc2x0rim
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051523-z6034cfpv1qbztzx
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054303-38ti3nq1h5jfbasa
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309053849-8eqsc9sjxknzfha8
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310051527-tajzx0x6p7mzpg43
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311054307-qgl6ao1a06b9an3a
2013-03-11 05:43:07 +00:00
Launchpad Translations on behalf of openerp c867cb5acc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308043703-sqgjbxw13bobkf55
bzr revid: launchpad_translations_on_behalf_of_openerp-20130309051402-esq5vajdnklva2ki
bzr revid: launchpad_translations_on_behalf_of_openerp-20130310044558-svke7ciicubnu9u2
bzr revid: launchpad_translations_on_behalf_of_openerp-20130311045526-lyh89qtb60302wwf
2013-03-11 04:55:26 +00:00
Launchpad Translations on behalf of openerp cc87ba5db7 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308052354-6aerviht20qnfh26
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308060553-lujyj3qxhqljssu0
bzr revid: launchpad_translations_on_behalf_of_openerp-20130308060749-69tgopwkctb0v5ei
2013-03-08 06:07:49 +00:00
Olivier Dony 1e5a3aa787 [I18N] *: update translation templates for latest term changes due to bug fixes
bzr revid: odo@openerp.com-20130307121934-jfwfl1q0jtvswe0c
2013-03-07 13:19:34 +01:00
Quentin (OpenERP) 96267bdfce [FIX] project: when writing on several projects, don't erase the name of all projects with the last one's name! stupid me.
bzr revid: qdp-launchpad@openerp.com-20130306172856-35dmxn7efydr5xyf
2013-03-06 18:28:56 +01:00
Christophe Matthieu ae16e29f87 [IMP] project,crm: display default alias_domain for creation
bzr revid: chm@openerp.com-20130305090452-lkt7y1clbaj1qe5r
2013-03-05 10:04:52 +01:00
Thibault Delavallée 336ad7d37f [MERGE] Sync with trunk.
bzr revid: tde@openerp.com-20130305082659-lbtrmek08p078upz
2013-03-05 09:26:59 +01:00
Christophe Matthieu 7515824c60 [IMP] display alias on project, crm, hr
bzr revid: chm@openerp.com-20130304151355-g3asldjob722urc0
2013-03-04 16:13:55 +01:00