[Erp5-report] r14184 - /erp5/trunk/products/ERP5/tests/testAccountingRules.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 24 17:13:45 CEST 2007
Author: jerome
Date: Tue Apr 24 17:13:22 2007
New Revision: 14184
URL: http://svn.erp5.org?rev=14184&view=rev
Log:
pass portal type explicitly when creating lines.
Modified:
erp5/trunk/products/ERP5/tests/testAccountingRules.py
Modified: erp5/trunk/products/ERP5/tests/testAccountingRules.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccountingRules.py?rev=14184&r1=14183&r2=14184&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccountingRules.py (original)
+++ erp5/trunk/products/ERP5/tests/testAccountingRules.py Tue Apr 24 17:13:22 2007
@@ -787,12 +787,14 @@
)
notebook_line = multi_line_invoice.newContent(
+ portal_type = self.sale_invoice_line_portal_type,
id = 'notebook_line',
resource = product_notebook.getRelativeUrl(),
quantity = 10,
price = 10)
barebone_line = multi_line_invoice.newContent(
+ portal_type = self.sale_invoice_line_portal_type,
id = 'barebone_line',
resource = product_barebone.getRelativeUrl(),
quantity = 10,
More information about the Erp5-report
mailing list