[Erp5-report] r12850 - /erp5/trunk/products/ERP5/tests/testAccounting_l10n_fr_m9.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Feb 17 13:32:13 CET 2007
Author: jerome
Date: Sat Feb 17 13:32:11 2007
New Revision: 12850
URL: http://svn.erp5.org?rev=12850&view=rev
Log:
we add Purchase Invoice Transaction Line in Purchase Invoice
Modified:
erp5/trunk/products/ERP5/tests/testAccounting_l10n_fr_m9.py
Modified: erp5/trunk/products/ERP5/tests/testAccounting_l10n_fr_m9.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccounting_l10n_fr_m9.py?rev=12850&r1=12849&r2=12850&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccounting_l10n_fr_m9.py (original)
+++ erp5/trunk/products/ERP5/tests/testAccounting_l10n_fr_m9.py Sat Feb 17 13:32:11 2007
@@ -123,10 +123,10 @@
invoice = self.getAccountingModule().newContent(
portal_type='Purchase Invoice Transaction',
created_by_builder=1)
- invoice.newContent(portal_type='Accounting Transaction Line',
+ invoice.newContent(portal_type='Purchase Invoice Transaction Line',
source_value=expense_account,
quantity=amount)
- invoice.newContent(portal_type='Accounting Transaction Line',
+ invoice.newContent(portal_type='Purchase Invoice Transaction Line',
source_value=payable_account,
quantity=-amount)
invoice.edit(**kw)
@@ -157,7 +157,7 @@
invoice.recursiveImmediateReindexObject()
self.getWorkflowTool().doActionFor(
transmission_sheet,
- 'emit_action') # XXX is this transition name good?
+ 'emit_action')
self.assertEquals(transmission_sheet.getValidationState(),
'new')
More information about the Erp5-report
mailing list