我正在使用Openerp 7.0版,并使用“印度会计模板”为三家公司配置帐户。1.ABC解决方案(母公司) 2.ABC解决方案海得拉巴(ABC解决方案的子项) 3.ABC解决方案德里( ABC解决方案) ABC解决方案没有任何交易,只有ABC解决方案德里、ABC解决方案海得拉巴有交易。我需要ABC解决方案的合并损益表和资产负债表。
发布于 2014-06-02 15:37:38
如果您根据帐户聊天更改科目表,如果您有任何疑问,将根据下面的检查生成公司
<record id="account_common_report_view" model="ir.ui.view">
<field name="name">Common Report</field>
<field name="model">account.common.report</field>
<field name="arch" type="xml">
<form string="Report Options" version="7.0">
<label string=""/> <!-- binding for inherited views -->
<group col="4">
<field name="chart_account_id" widget='selection' on_change="onchange_chart_id(chart_account_id, context)"/>
<field name="company_id" invisible="1"/>
<field name="fiscalyear_id" domain="[('company_id','=',company_id)]"/>
<field name="target_move"/>
</group>
<notebook tabpos="up" colspan="4">
<page string="Filters" name="filters">
<group>
<field name="filter" on_change="onchange_filter(filter, fiscalyear_id)"/>
</group>
<group string="Dates" attrs="{'invisible':[('filter', '!=', 'filter_date')], 'required':[('filter', '=', 'filter_date')]}">
<field name="date_from" />
<field name="date_to" />
</group>
<group string="Periods" attrs="{'invisible':[('filter','!=','filter_period')], 'required':[('filter', '=', 'filter_period')]}">
<field name="period_from" domain="[('fiscalyear_id', '=', fiscalyear_id)]"/>
<field name="period_to" domain="[('fiscalyear_id', '=', fiscalyear_id)]"/>
</group>
</page>
<page string="Journals" name="journal_ids">
<field name="journal_ids"/>
</page>
</notebook>
<footer>
<button name="check_report" string="Print" type="object" default_focus="1" class="oe_highlight"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>以上是常见的会计报告,可在account/wizard/account_report_ common _view.xml中找到
继承并使company_id可见以筛选基于公司的报告如果需要,还可以在account.common.report中执行查询更改
https://stackoverflow.com/questions/23957016
复制相似问题