Commit 6bae8d2e authored by Aurel's avatar Aurel

bank account is required

parent 14ece076
......@@ -89,6 +89,8 @@ return {\'now\': DateTime(),\n
\'product_howto_currency_tag\': \'EUR\',\n
\'sale_howto_product_title\': \'ZUITE-TEST-SALEORDER-PRODUCT-001\',\n
\'sale_howto_organisation_title\': \'ZUITE-TEST-SALEORDER-ORGANISATION-001\',\n
\'sale_howto_bank_account_title\': \'Main account\',\n
\'sale_howto_bank_account_reference\': \'0123456789 0123456789\',\n
\'sale_howto_organisation2_title\': \'ZUITE-TEST-SALEORDER-ORGANISATION-002\',\n
\'sale_howto_organisation3_title\': \'ZUITE-TEST-SALEORDER-ORGANISATION-003\',\n
\'sale_howto_person_title\': \'ZUITE-TEST-SALEORDER USER-001\',\n
......
......@@ -117,6 +117,10 @@ my_organisation.setRole(\'supplier\')\n
my_organisation.setGroup(\'my_group\')\n
my_organisation.validate()\n
\n
bank_account = my_organisation.newContent(portal_type="Bank Account",\n
title=howto_dict["sale_howto_bank_account_title"],\n
reference=howto_dict["sale_howto_bank_account_reference"],)\n
\n
organisation = portal.organisation_module.newContent(portal_type=\'Organisation\',\n
title=howto_dict[\'sale_howto_organisation2_title\'],\n
corporate_name=howto_dict[\'sale_howto_organisation2_title\'])\n
......
789
\ No newline at end of file
790
\ 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