summaryrefslogtreecommitdiff
path: root/addons/note/note_data.xml
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2013-04-20 05:25:29 +0200
committerOlivier Dony <odo@openerp.com>2013-04-20 05:25:29 +0200
commit360b549677842cfe6e61bc8176578a57b4301633 (patch)
treefcb97ad905702a92055cc62c43a5167349b585fb /addons/note/note_data.xml
parent1f2064cb93aae96868c5b7f430bbaca71248ab81 (diff)
parent16b38a053afea9436e21cf5325d83cf029a84d24 (diff)
[MERGE] res.partner: many important fixes for contact/company management and address management, see bug 1160365
- Fix autosync of accounting/invoicing-related fields on contacts, just as if they were actually modeled as fields.related to the parent commercial entity. This starts with the addition of the new functional field `commercial_partner_id`, to locate the commercial entity for any partner. The commercial entity is defined as the first ancestor (starting at the partner itself) that is either marked `is_company` or has no parent. - Corrected autosync of address fields (bug 1160425). Also included in the same patch, because those two mechanisms are closely related and share some parts of the implementation. "use_parent_address" now defaults to False, and auto-sync only happens downstream, except for a special case when creating a new company and a new contact at the same time - `is_company` does not reset the parent_id field anymore, to allow for multi-level structures. The `parent_id` field now also stays visible if it has a non-empty value - the `email`, `phone`, `fax`, `mobile`, `lang`, etc. that were sometimes synced when changing parent company are now properly left alone - res.partner.address_get() now defaults to the partner being looked up rather than company when no match is found at all and no "default" exists. This avoids losing the contact info on invoices when a new contact+company pair is created. - the embedded contact creation mini-form was updated to include the address fields and the `type` field - res.partner.name_get now return "Company, Contact" rather than "Contact (Company)" to make it clearer that the company is selected as well. - Added warning message when changing the Company of a Contact that already has a company, so it is clear that it should only be done if the Company was incorrect - in other cases a new contact must be created under the new company. - Fixed search domains using "child_of" to also include deactived records, so that using this operator in the search view of business documents returns the expected results. - fixed propagation of "is_supplier" flag when creation a parent company for a contact created on the fly on a Purchase Order, and when adding contacts to an existing Supplier Company lp bug: https://launchpad.net/bugs/1160365 fixed lp bug: https://launchpad.net/bugs/1122363 fixed lp bug: https://launchpad.net/bugs/1160425 fixed bzr revid: odo@openerp.com-20130420032529-pvv6vuelp84bt26j
Diffstat (limited to 'addons/note/note_data.xml')
0 files changed, 0 insertions, 0 deletions