odoo/addons
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
..
account [MERGE/ADD] Many important fixes for contact/company management + new module account_report_company 2013-04-20 05:42:21 +02:00
account_accountant Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
account_analytic_analysis [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
account_analytic_default Launchpad automatic translations update. 2013-03-29 05:09:03 +00:00
account_analytic_plans Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
account_anglo_saxon Launchpad automatic translations update. 2013-03-29 05:09:03 +00:00
account_asset [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
account_bank_statement_extensions Launchpad automatic translations update. 2013-04-10 05:54:52 +00:00
account_budget Launchpad automatic translations update. 2013-04-05 06:23:13 +00:00
account_cancel Launchpad automatic translations update. 2013-04-05 06:23:13 +00:00
account_chart Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
account_check_writing Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
account_followup Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
account_payment Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
account_report_company [REVERT] account_report_company: undo override of res.partner.commercial_partner_id field to store it, as the ORM does not support it and it's not strictly necessary 2013-04-20 03:50:03 +02:00
account_sequence Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
account_test Launchpad automatic translations update. 2013-04-03 15:03:38 +00:00
account_voucher [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
analytic Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
analytic_contract_hr_expense Launchpad automatic translations update. 2013-04-16 05:27:41 +00:00
analytic_user_function Launchpad automatic translations update. 2013-03-29 05:09:03 +00:00
anonymization Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
association Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
audittrail Launchpad automatic translations update. 2013-03-29 05:09:03 +00:00
auth_crypt Launchpad automatic translations update. 2013-04-16 05:27:41 +00:00
auth_ldap Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
auth_oauth Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
auth_oauth_signup Launchpad automatic translations update. 2013-04-16 05:27:41 +00:00
auth_openid Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
auth_signup [FIX] auth_signup: upon signup of new user, the company_id[s] of the corresponding partner must be used 2013-04-15 19:39:01 +02:00
base_action_rule Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
base_calendar Launchpad automatic translations update. 2013-04-18 06:06:03 +00:00
base_gengo Launchpad automatic translations update. 2013-04-08 06:20:55 +00:00
base_iban Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
base_import Launchpad automatic translations update. 2013-04-18 06:06:03 +00:00
base_report_designer [MERGE] base_report_designer: Remove double . in numbered bulleted list 2013-04-05 15:57:50 +02:00
base_setup Launchpad automatic translations update. 2013-04-18 06:06:03 +00:00
base_status Launchpad automatic translations update. 2013-04-16 05:27:41 +00:00
base_vat [MERGE] Sync with 7.0 2013-04-18 19:21:23 +02:00
board Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
claim_from_delivery Launchpad automatic translations update. 2013-03-29 05:09:03 +00:00
contacts Launchpad automatic translations update. 2013-04-16 05:27:41 +00:00
crm [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
crm_claim [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
crm_helpdesk [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
crm_partner_assign Launchpad automatic translations update. 2013-04-08 06:20:55 +00:00
crm_profiling Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
crm_todo Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
decimal_precision Launchpad automatic translations update. 2013-04-08 06:20:55 +00:00
delivery Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
document Launchpad automatic translations update. 2013-03-29 05:09:03 +00:00
document_ftp Launchpad automatic translations update. 2013-03-29 05:09:03 +00:00
document_page Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
document_webdav Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
edi Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
email_template [REVERT] mail: undo model-level change that can cause issue for stable deployments 2013-04-17 10:14:10 +02:00
event Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
event_moodle Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
event_sale Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
fetchmail [FIX] fetchmail, on demand cron, context test for date write 2013-04-05 05:00:26 +02:00
fleet Launchpad automatic translations update. 2013-04-17 05:57:42 +00:00
google_base_account Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
google_docs Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
hr [FIX] hr: typo in welcome message + [IMP] hr_holidays: better message when a constraint is fired 2013-04-15 17:06:55 +02:00
hr_attendance Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
hr_contract Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
hr_evaluation Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
hr_expense [FIX] hr_expense, usability: added sum in tree view 2013-04-18 15:53:56 +02:00
hr_holidays [FIX] hr: typo in welcome message + [IMP] hr_holidays: better message when a constraint is fired 2013-04-15 17:06:55 +02:00
hr_payroll [MERGE] hr & co, demo data: update of the pictures of employees 2013-04-10 14:16:08 +02:00
hr_payroll_account [FIX] account* modules: added 'account_period_prefer_normal':True in context when trying to find the period related to a date. 2013-04-18 12:24:33 +02:00
hr_recruitment Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
hr_timesheet Launchpad automatic translations update. 2013-04-11 14:43:57 +00:00
hr_timesheet_invoice Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
hr_timesheet_sheet Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
idea Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
knowledge Launchpad automatic translations update. 2013-04-18 06:06:03 +00:00
l10n_ar Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_at [IMP] use the openerp namespace. 2012-12-06 15:56:32 +01:00
l10n_be [FIX]l10n_be: remove bad account from fiscal position Régime National 2013-04-10 10:54:30 +02:00
l10n_be_coda [FIX] l10n_be_coda: fixed a glitch in the coda import when the starting balance of the statement is negative. Courtesy of Damien Carlier (Idealis Consulting) 2013-04-15 11:29:56 +02:00
l10n_be_hr_payroll Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_be_hr_payroll_account
l10n_be_invoice_bba [FIX] res.partner: Hide commercial-related fields on contacts form + autosync them from parent company 2013-04-08 01:50:13 +02:00
l10n_bo Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_br Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_ca Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_ch [FIX] l10n_ch: typo in last merge 2012-12-21 11:32:42 +01:00
l10n_cl Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_cn Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_co [FIX] Some no-brain fixed due to odony comments on 2012-12-04 15:04:39 -04:30
l10n_cr Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_de Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_ec Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_es Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_et Add Ethiopian localization for SMEs. 2012-12-14 19:52:54 +03:00
l10n_fr Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_fr_hr_payroll [FIX]l10n_fr_hr_payroll: fix a few errors in report 2013-03-06 16:22:16 +01:00
l10n_fr_rib Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_gr Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_gt Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_hn Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_hr l10n_hr fixes. Removed unused files, Removed i18n/ folder, fixed l10n_hr_chart_template.xml search=... to XMLID ref=... 2012-12-10 16:22:50 +01:00
l10n_in Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_in_hr_payroll Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_it Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_lu Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_ma Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_multilang Launchpad automatic translations update. 2013-04-08 06:20:55 +00:00
l10n_mx [MERGE] l10n_mx: manual merge of updated l10n_mx, courtesy of Vauxoo 2012-12-18 03:37:14 +01:00
l10n_nl Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_pa [ADD] l10n_pa 2012-11-14 11:26:13 -05:00
l10n_pe Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_pl Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_pt [IMP] l10n_pt new account chart and taxes for Portugal 2012-12-19 16:32:38 +01:00
l10n_ro [FIX] l10n_ro: unique constraints on `vat` and `nrc` columns need to be updated for 7.0 model 2013-04-15 19:52:58 +02:00
l10n_si [MERGE]l10n_si : slovenian chart of account courtesy of Mentis d.o.o 2012-12-21 11:20:16 +01:00
l10n_syscohada Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_th Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_tr [FIX] l10n_at,l10n_tr: remove windows UTF8 BOM in Python source files, redundant with magic coding comment 2012-11-24 00:42:56 +01:00
l10n_uk Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
l10n_us
l10n_uy
l10n_ve Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
lunch Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
mail [REVERT] mail: undo model-level change that can cause issue for stable deployments 2013-04-17 10:14:10 +02:00
marketing Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
marketing_campaign Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
marketing_campaign_crm_demo Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
membership Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
mrp Launchpad automatic translations update. 2013-04-16 05:27:41 +00:00
mrp_byproduct Launchpad automatic translations update. 2013-04-08 06:20:55 +00:00
mrp_jit Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
mrp_operations Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
mrp_repair [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
multi_company Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
note Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
note_pad Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
pad [FIX] pad: revert part of previous fix because it could produce problems in some cases 2013-04-19 16:42:38 +02:00
pad_project Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
plugin Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
plugin_outlook Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
plugin_thunderbird Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
point_of_sale [FIX] account* modules: added 'account_period_prefer_normal':True in context when trying to find the period related to a date. 2013-04-18 12:24:33 +02:00
portal Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
portal_anonymous Launchpad automatic translations update. 2013-04-10 05:54:52 +00:00
portal_claim Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
portal_crm Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
portal_event Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
portal_hr_employees Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
portal_project [TEST] portal_project_issue: added tests for access rights. 2013-04-12 17:12:36 +02:00
portal_project_issue [FIX] project_issue, project_phase: fixed access rights on anonymous. 2013-04-15 17:01:07 +02:00
portal_project_long_term [FIX] project_issue, project_phase: fixed access rights on anonymous. 2013-04-15 17:01:07 +02:00
portal_sale Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
portal_stock [FIX]portal_stock: remove 2 useless ir rules since the model doesn't inherit mail.thread 2013-04-04 11:14:01 +02:00
process Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
procurement Launchpad automatic translations update. 2013-04-18 06:06:03 +00:00
product [MERGE] Sync with 7.0 2013-04-18 19:21:23 +02:00
product_expiry Launchpad automatic translations update. 2013-04-08 06:20:55 +00:00
product_manufacturer Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
product_margin Launchpad automatic translations update. 2013-04-03 15:03:38 +00:00
product_visible_discount Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
project [MERGE/ADD] Many important fixes for contact/company management + new module account_report_company 2013-04-20 05:42:21 +02:00
project_gtd Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
project_issue [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
project_issue_sheet Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
project_long_term Launchpad automatic translations update. 2013-04-18 06:06:03 +00:00
project_mrp Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
project_timesheet [MERGE] hr & co, demo data: update of the pictures of employees 2013-04-10 14:16:08 +02:00
purchase [MERGE] Sync with 7.0 2013-04-18 19:21:23 +02:00
purchase_analytic_plans [MERGE] better use of analytic distribution options on sale & purchase settings that now have an impact only on dedicated invoice view 2013-04-05 15:51:26 +02:00
purchase_double_validation Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
purchase_requisition Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
report_intrastat Launchpad automatic translations update. 2013-04-08 06:20:55 +00:00
report_webkit Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
resource Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
sale [MERGE] Sync with 7.0 2013-04-18 19:21:23 +02:00
sale_analytic_plans Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
sale_crm [FIX] crm: fixed on_change_user that was crashing because 2013-04-11 14:33:56 +02:00
sale_journal [FIX] res.partner: Hide commercial-related fields on contacts form + autosync them from parent company 2013-04-08 01:50:13 +02:00
sale_margin Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
sale_mrp Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
sale_order_dates Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
sale_stock [MERGE] Sync with 7.0 2013-04-18 19:21:23 +02:00
share Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
stock [FIX] search views: use child_of operator for partner_id fields that can reference both companies and contacts 2013-04-20 04:26:42 +02:00
stock_invoice_directly Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
stock_location Launchpad automatic translations update. 2013-04-15 06:07:22 +00:00
stock_no_autopicking Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
subscription Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
survey Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
thunderbird/plugin
warning Launchpad automatic translations update. 2013-04-03 15:03:38 +00:00
web [MERGE] Fixed http controllers inheritance 2013-04-18 19:17:50 +02:00
web_analytics [FIX] web_analytics: test mock does not have a proper wbeclient instance 2013-01-30 18:43:34 +01:00
web_api Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
web_calendar Launchpad automatic translations update. 2013-04-18 06:06:06 +00:00
web_diagram [MERGE] Fixed http controllers inheritance 2013-04-18 19:17:50 +02:00
web_gantt Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
web_graph Launchpad automatic translations update. 2013-04-18 06:06:06 +00:00
web_hello Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
web_kanban [FIX] web_kanban: hide the counter on the top of column to display option drop down when the mouse is hover. 2013-04-15 13:45:45 +02:00
web_linkedin Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
web_shortcuts Launchpad automatic translations update. 2013-03-28 06:05:00 +00:00
web_tests Launchpad automatic translations update. 2013-04-02 05:48:17 +00:00
web_tests_demo [FIX] warning due to missing description of web_tests_demo module 2012-12-12 14:16:51 +01:00
web_view_editor [FIX] problem in view editor 2013-04-18 15:59:53 +02:00
.bzrignore