Commit d383976a authored by Romain Courteaud's avatar Romain Courteaud

Typo

parent df633a7a
...@@ -55,7 +55,7 @@ portal = person.getPortalObject()\n ...@@ -55,7 +55,7 @@ portal = person.getPortalObject()\n
\n \n
invoice_line = portal.portal_catalog.getResultValue(\n invoice_line = portal.portal_catalog.getResultValue(\n
default_destination_section_uid=person.getUid(),\n default_destination_section_uid=person.getUid(),\n
resource=self.portal.portal_preferences.getPreferredRegistrationResource(),\n resource=portal.portal_preferences.getPreferredRegistrationResource(),\n
portal_type="Invoice Line",\n portal_type="Invoice Line",\n
# XXX Hardcoded\n # XXX Hardcoded\n
simulation_state=["stopped", "delivered"])\n simulation_state=["stopped", "delivered"])\n
...@@ -79,7 +79,7 @@ if invoice_line is None:\n ...@@ -79,7 +79,7 @@ if invoice_line is None:\n
)\n )\n
invoice.newContent(\n invoice.newContent(\n
portal_type=\'Invoice Line\',\n portal_type=\'Invoice Line\',\n
resource=self.portal.portal_preferences.getPreferredRegistrationResource(),\n resource=portal.portal_preferences.getPreferredRegistrationResource(),\n
quantity=1,\n quantity=1,\n
price=1\n price=1\n
**kw,\n **kw,\n
......
546 547
\ No newline at end of file \ No newline at end of file
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