← Back to team overview

openerp-india team mailing list archive

[Bug 939917] Re: stock warehouse address must display adderss not partner

 

Hello Dr Ferdinand,

I have checked your Issue, I don't think this is a bug. But it's  good
behaviour that show the partner name also. "Delivery orders" and
"Receive products" have also same behaviour.

So we can not consider this Issue.

Thanks for understanding!

** Changed in: openobject-addons
       Status: New => Invalid

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

Title:
  stock warehouse address must display adderss not partner

Status in OpenERP Addons (modules):
  Invalid

Bug description:

  IMHO <field name="partner_address_id" context="{'contact_display':'partner'}"/>
  is wrong especially if company has multiple contacts (adresses)


  /stock/stock_view.xml

          <record id="view_warehouse" model="ir.ui.view">
              <field name="name">stock.warehouse</field>
              <field name="model">stock.warehouse</field>
              <field name="type">form</field>
              <field name="arch" type="xml">
                  <form string="Warehouse">
                      <field colspan="4" name="name" select="1"/>
                      <field name="lot_input_id"/>
                      <field name="lot_stock_id"/>
                      <field name="lot_output_id"/>
                      <field name="company_id" select="1" groups="base.group_multi_company" widget="selection"/>
                      <newline/>
                      <field name="partner_address_id" context="{'contact_display':'partner'}"/>
                  </form>
              </field>
          </record>
          <record id="view_warehouse_tree" model="ir.ui.view">
              <field name="name">stock.warehouse.tree</field>
              <field name="model">stock.warehouse</field>
              <field name="type">tree</field>
              <field name="arch" type="xml">
                  <tree string="Warehouse">
                      <field name="name"/>
                      <field name="lot_input_id"/>
                      <field name="lot_stock_id"/>
                      <field name="lot_output_id"/>
                      <field name="partner_address_id" context="{'contact_display':'partner'}"/>
                  </tree>
              </field>
          </record>

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


References