← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 887447] [NEW] stock - wrong stocak valuation account in demo data

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/887447

Title:
  stock - wrong stocak 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


Follow ups

References