← Back to team overview

openerp-india team mailing list archive

[Bug 887447] Re: stock - wrong stock valuation account in demo data

 

Hello,

Thanks For the patch.
It has been Fixed in http://bazaar.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-887447-ksa
revision-id: ksa@xxxxxxxxxxx-20111111131621-6oo59y2ul7kpw0ty 
revno: 5592
It will be available in trunk soon.

Thanks.

** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

-- 
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/887447

Title:
  stock - wrong stock valuation account in demo data

Status in OpenERP Addons (modules):
  Fix Committed

Bug description:
  in 6.0 and trunk

          <record forcecreate="True" id="property_stock_valuation_account_id" model="ir.property">
              <field name="name">property_stock_valuation_account_id</field>
              <field name="fields_id" search="[('model','=','product.category'),('name','=','property_stock_valuation_account_id')]"/>
              <field eval="'account.account,'+str(ref('account.a_recv'))" model="account.account" name="value"/>
               <field name="company_id" ref="base.main_company"/>
          </record>

  IMHO it should referennce

          <record id="stk" model="account.account">
              <field name="code">X11001</field>
              <field name="name">Purchased Stocks - (test)</field>
              <field ref="cas" name="parent_id"/>
              <field name="type">other</field>
              <field name="user_type" ref="account_type_asset"/>
          </record>

  instead of X11002 - Debtors

  stock real time accounting creates account_move_lines with wrong
  accounts

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


References