~openerp-dev/openobject-server/7.0-fix-contact-company-handling

Viewing all changes in revision 4930.

  • Committer: Olivier Dony
  • Date: 2013-04-10 17:01:01 UTC
  • Revision ID: odo@openerp.com-20130410170101-t9covdj6nmyn44jf
[FIX] res.partner form: switch default `use_parent_address` to False in kanban contact too, replace by defaults for address fields

We should never turn the `use_parent_address` option on
unless the user explicitly wants to use it. It makes
further editing more convoluted (need to go to the
company address) and is really an advanced feature.

It was only set by via context defaults when adding
contacts to a company ; we can replace that with a
set of defaults that will copy the company address
fields to the contact. Users can still switch to
automatic synchronization if they really want it,
or simply further edit the address of the contact.

Also fixed the layout of the mini-form view, now
using a simpler vertical layout with address at
bottom, since the main info of a contact needs
to be entered first.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: