[IMP] account_followup:Optimize code

bzr revid: aag@tinyerp.com-20111219122932-qo0wmgdiapkfg3tl
This commit is contained in:
Atik Agewan (OpenERP) 2011-12-19 17:59:32 +05:30
parent a694e09803
commit 5862510834
2 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,6 @@
<field name="date_invoice">2011-06-01</field>
<field eval="14.0" name="amount_untaxed"/>
<field eval="14.0" name="amount_total"/>
<field eval="14.0" name="check_total"/>
<field name="partner_id" ref="base.res_partner_maxtor"/>
</record>
<record id="demo_invoice_0_line_rpanrearpanelshe0" model="account.invoice.line">

View File

@ -1,5 +1,8 @@
-
In order to test account followup module in OpenERP, I change the state of invoice to "open".
-
!python {model: account.invoice}: |
self.write(cr, uid, [ref("account.demo_invoice_0")], {"check_total": 14.0})
-
!workflow {model: account.invoice, action: invoice_open, ref: account.demo_invoice_0}
-