base_contact address required fields
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Invalid
|
Wishlist
|
OpenERP R&D Addons Team 1 |
Bug Description
The new res.partner.address object defined in base_contact needs partner_id and contact_id to be required.
In fact, this new res.partner.address actually represents a job of some contact at some company:
- there is no point of creating a job record without knowing the references to both the person and its employer.
- moreover, allowing all fields to be blank on this object is error prone and does rapidly clutter the address book with partial and/or duplicated records.
For information, this is by opposition to the "original" res.partner.address object (defined in base) where there is no contact_id field and where partner_id may be intentionally left blank so that the address can be seen as a generic address unrelated to a company/partner.
Related branches
- Amit Parik (community): Disapprove
- OpenERP Core Team: Pending requested
-
Diff: 548 lines (+284/-56)3 files modifiedbase_contact/base_contact.py (+161/-25)
base_contact/base_contact_view.xml (+121/-30)
base_contact/security/ir.model.access.csv (+2/-1)
- OpenERP Core Team: Pending requested
-
Diff: 23054 lines (+11150/-1264) (has conflicts)109 files modifiedaccount/i18n/el.po (+14/-2)
account/i18n/fr.po (+19/-10)
account/i18n/id.po (+48/-22)
account/i18n/mk.po (+25/-15)
account/i18n/nl.po (+259/-70)
account/i18n/pl.po (+12/-3)
account/i18n/ta.po (+12/-2)
account_analytic_analysis/i18n/nl.po (+9/-0)
account_anglo_saxon/i18n/fr.po (+14/-4)
account_anglo_saxon/i18n/nl_BE.po (+100/-0)
account_asset/i18n/fr.po (+48/-27)
account_asset/i18n/nl.po (+72/-54)
account_asset/i18n/pt_BR.po (+49/-38)
account_budget/i18n/nl.po (+11/-2)
account_budget/i18n/pt_BR.po (+11/-1)
account_cancel/i18n/fa.po (+11/-1)
account_cancel/i18n/gu.po (+23/-0)
account_cancel/i18n/id.po (+14/-0)
account_check_writing/i18n/nl.po (+203/-0)
account_followup/i18n/fr.po (+21/-3)
account_followup/i18n/nl.po (+10/-1)
account_invoice_layout/i18n/nl.po (+10/-0)
account_payment/i18n/lv.po (+726/-0)
account_payment/i18n/nl.po (+15/-2)
account_voucher/i18n/fr.po (+70/-39)
account_voucher/i18n/gu.po (+1114/-0)
account_voucher/i18n/nl.po (+13/-4)
account_voucher/i18n/pl.po (+78/-38)
analytic/i18n/fr.po (+19/-6)
analytic_journal_billing_rate/i18n/fr.po (+14/-2)
analytic_journal_billing_rate/i18n/gu.po (+79/-0)
audittrail/i18n/fr.po (+15/-2)
audittrail/i18n/gu.po (+369/-0)
auth_openid/i18n/fr.po.OTHER (+112/-0)
base_action_rule/i18n/gu.po (+496/-0)
base_calendar/base_calendar.py (+13/-29)
base_calendar/i18n/fr.po (+23/-12)
base_contact/base_contact.py (+153/-25)
base_contact/base_contact_view.xml (+115/-29)
base_contact/i18n/fr.po (+24/-14)
base_contact/i18n/gu.po (+264/-0)
base_contact/security/ir.model.access.csv (+2/-1)
base_iban/i18n/es.po (+15/-3)
base_iban/i18n/fr.po (+19/-5)
base_module_doc_rst/i18n/fr.po (+17/-1)
base_module_quality/i18n/fr.po (+17/-7)
base_module_record/i18n/fr.po (+15/-0)
base_setup/i18n/fr.po (+34/-16)
base_synchro/i18n/fr.po (+11/-1)
base_tools/i18n/nl_BE.po (+32/-0)
base_vat/i18n/es.po (+15/-5)
base_vat/i18n/fr.po (+14/-3)
base_vat/i18n/gu.po (+75/-0)
board/i18n/fr.po (+12/-2)
caldav/i18n/fr.po (+15/-5)
caldav/i18n/nl.po (+10/-0)
crm/i18n/fr.po (+74/-51)
crm/i18n/it.po (+12/-1)
crm_caldav/i18n/nl_BE.po (+33/-0)
crm_helpdesk/i18n/fr.po (+18/-8)
decimal_precision/i18n/nl_BE.po (+49/-0)
document/i18n/fr.po (+23/-7)
document/i18n/gu.po (+1003/-0)
document_webdav/i18n/fr.po (+15/-5)
email_template/i18n/nl.po (+9/-0)
fetchmail_hr_recruitment/i18n/fr.po (+32/-0)
fetchmail_hr_recruitment/i18n/pt.po (+32/-0)
google_map/i18n/gu.po (+35/-0)
hr/i18n/en_AU.po (+688/-0)
hr/i18n/id.po (+56/-35)
hr_payroll/i18n/gu.po (+1119/-0)
hr_payroll/i18n/nl.po (+10/-1)
hr_payroll_account/i18n/gu.po (+140/-0)
hr_timesheet/i18n/fr.po (+18/-7)
hr_timesheet_invoice/i18n/fr.po (+51/-26)
hr_timesheet_sheet/i18n/fr.po (+54/-20)
import_base/i18n/fr.po (+100/-0)
import_sugarcrm/i18n/ar.po (+404/-0)
mrp/i18n/fr.po (+12/-0)
mrp_subproduct/i18n/nl.po (+15/-1)
point_of_sale/i18n/bg.po (+209/-189)
point_of_sale/i18n/nl.po (+105/-87)
portal/i18n/nl.po (+9/-0)
product/i18n/es.po (+12/-2)
product/i18n/fr.po (+76/-23)
product/i18n/nl.po (+10/-1)
project/i18n/fr.po (+101/-68)
project/i18n/nl.po (+100/-69)
project_gtd/i18n/fr.po (+39/-28)
project_issue/i18n/fr.po (+35/-25)
project_issue/i18n/nl_BE.po (+981/-0)
project_issue_sheet/i18n/fr.po (+18/-1)
project_issue_sheet/i18n/nl.po (+15/-0)
project_issue_sheet/project_issue_sheet_view.xml (+1/-1)
project_long_term/i18n/fr.po (+41/-18)
project_mailgate/i18n/nl_BE.po (+79/-0)
project_mrp/i18n/nl.po (+14/-0)
project_timesheet/i18n/fr.po (+31/-9)
project_timesheet/i18n/nl.po (+13/-0)
purchase/i18n/fr.po (+13/-3)
purchase/i18n/nl.po (+24/-15)
sale/i18n/fr.po (+58/-32)
sale/i18n/lt.po (+41/-15)
sale_mrp/i18n/nl_BE.po (+53/-0)
share/i18n/nl.po (+9/-0)
stock/i18n/nl.po (+19/-8)
stock_location/i18n/nl.po (+10/-0)
warning/i18n/fr.po (+11/-1)
wiki/i18n/fr.po (+11/-1)
tags: | added: mso |
Dear Julien,
Private addresses do not have a partner assigned
Default addresses for partners that hold switchboard phone etc. do not have a contact assigned.
Please have a look at my work in https:/ /code.launchpad .net/~openerp- community/ openobject- addons/ trunk-bug- 923440- base_contact_ finalise6. 1
Etienne