← Back to team overview

openerp-india team mailing list archive

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

 

** Summary changed:

- stock - wrong stocak valuation account in demo data
+ stock - wrong stock valuation account in demo data

-- 
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):
  New

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