[REVIEW]: revies the minimal chart of account and indina chart of account

bzr revid: mga@tinyerp.com-20100911065108-qsh296putkyylgcu
This commit is contained in:
Mantavya Gajjar 2010-09-11 12:21:08 +05:30
parent bbe535e43e
commit b7e7be2301
4 changed files with 433 additions and 520 deletions

View File

@ -151,7 +151,7 @@
<field name="code">X11004</field>
<field name="name">Bank Current Account - (test)</field>
<field ref="cas" name="parent_id"/>
<field name="type">other</field>
<field name="type">liquidity</field>
<field name="user_type" ref="account_type_asset"/>
</record>
@ -159,7 +159,7 @@
<field name="code">X11005</field>
<field name="name">Cash - (test)</field>
<field ref="cas" name="parent_id"/>
<field name="type">other</field>
<field name="type">liquidity</field>
<field name="user_type" ref="account_type_asset"/>
</record>

View File

@ -84,7 +84,7 @@ class account_voucher(osv.osv):
def _get_partner(self, cr, uid, context={}):
return context.get('partner_id', False)
_name = 'account.voucher'
_description = 'Accounting Voucher'
_order = "date desc, id desc"

View File

@ -45,7 +45,7 @@
<field name="pay_now" on_change="onchange_payment(pay_now, journal_id, partner_id)" required="1"/>
<field name="account_id"
attrs="{'invisible':[('pay_now','!=','pay_now')]}"
domain="[('user_type.report_type','=','asset'), ('type','=','other')]"/>
domain="[('type','=','liquidity')]"/>
<!-- should select income accounts only. Or use the journal for this ? -->
<field name="reference"
attrs="{'invisible':[('pay_now','!=','pay_now')]}"

File diff suppressed because it is too large Load Diff