Commit 5f1c4a0e authored by Jérome Perrin's avatar Jérome Perrin

aggregate relation changed.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10083 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4840eedd
...@@ -155,7 +155,8 @@ class TestAccounting_l10n_M9(ERP5TypeTestCase): ...@@ -155,7 +155,8 @@ class TestAccounting_l10n_M9(ERP5TypeTestCase):
portal_type=self.purchase_invoice_transmission_sheet_portal_type) portal_type=self.purchase_invoice_transmission_sheet_portal_type)
self.assertEquals(transmission_sheet.getValidationState(), 'draft') self.assertEquals(transmission_sheet.getValidationState(), 'draft')
# add an invoice to the transamission sheet # add an invoice to the transamission sheet
transmission_sheet.setAggregateValue(invoice) invoice.setAggregateValue(transmission_sheet)
invoice.recursiveImmediateReindexObject()
self.getWorkflowTool().doActionFor( self.getWorkflowTool().doActionFor(
transmission_sheet, transmission_sheet,
'emit_action') 'emit_action')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment