bzr revid: fp@tinyerp.com-20090120161032-bmdu8lm249g680xg
This commit is contained in:
Fabien Pinckaers 2009-01-20 17:10:32 +01:00
parent 009a85879f
commit 826ed07e3d
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
name="account.invoice"
rml="account/report/invoice.rml"
string="Invoices"
attachment="(object.state in ('open','paid')) and (time.strftime('%Y-%m-%d')+'-'+object.number)"
attachment="(object.state in ('open','paid')) and ('INV'+(object.number or '').replace('/',''))"
attachment_use="1"/>
<report id="account_transfers" model="account.transfer" name="account.transfer" string="Transfers" xml="account/report/transfer.xml" xsl="account/report/transfer.xsl"/>
<report auto="False" id="account_intracom" menu="False" model="account.move.line" name="account.intracom" string="IntraCom"/>

View File

@ -599,9 +599,9 @@
<field groups="base.group_extended" name="include_base_amount"/>
<field groups="base.group_extended" name="domain"/>
<newline/>
<field name="account_collected_id"/>
<field name="account_collected_id" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
<label colspan="2" nolabel="1" string="Keep empty to use the income account"/>
<field name="account_paid_id"/>
<field name="account_paid_id" domain="[('type','&lt;&gt;','view'),('type','&lt;&gt;','consolidation')]"/>
<label colspan="2" nolabel="1" string="Keep empty to use the expense account"/>
<field groups="base.group_extended" name="child_depend"/>
<field groups="base.group_extended" name="sequence"/>