← Back to team overview

openerp-india team mailing list archive

[Bug 1096161] Re: 7.0 partner - company and contact have always the same address

 

On 01/29/2013 02:23 PM, Twinkle Christian(OpenERP) wrote:
> Hello Dr.
>
> Currently, Use company address is checked that's way when you change contact address then it change company address.
> But, If you won't to set different address rather then the company address then you have to unchecked "USE COMPANY ADDRESS".So, Would you please recheck it again and notify us If you have any problem regarding this issue.
OK I see

the field "use compay address" is only availabe if the contact is edited 
"stand alone"

if the contact is edited in context of the company, this field is not 
available,
IMO nobody is going to edit the contact out of context of the company. 
(= closing the contact popup , searching for the contact, editing)
the field must be displayed also in the pup up to allow easy 
modification of addresses.

./openerp/addons/base/res/res_partner_view.xml
the check for parent_id must olso be made for the popup
...
                             <label for="type" attrs="{'invisible': 
[('parent_id','=', False)]}"/>
                             <div attrs="{'invisible': 
[('parent_id','=', False)]}" name="div_type">
                                 <field class="oe_inline"
                                     name="type"/>
                                 <label for="use_parent_address" 
class="oe_edit_only"/>
                                 <field name="use_parent_address" 
class="oe_edit_only oe_inline"
on_change="onchange_address(use_parent_address, parent_id)"/>
                             </div>


>
> I hope you understand.
>
> Thanks for reporting...
>
> ** Attachment added: "company.ogv"
>     https://bugs.launchpad.net/openobject-server/+bug/1096161/+attachment/3505733/+files/company.ogv
>
> ** Changed in: openobject-server
>         Status: New => Incomplete
>


** Changed in: openobject-server
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1096161

Title:
  7.0 partner - company and contact have always the same address

Status in OpenERP Server:
  New

Bug description:
  to reproduce
  create "a Company" - city Paris
  create " a Contact" - city London

  Edit "a Contact" and set the company to "a Company"

  the company address must not change to London

   - SHOW STOPPER for many companies

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1096161/+subscriptions


References