diff options
| author | qdp-odoo <qdp@odoo.com> | 2015-05-05 17:28:04 +0200 |
|---|---|---|
| committer | qdp-odoo <qdp@odoo.com> | 2015-05-05 17:28:04 +0200 |
| commit | c04065abd8f62c9a211c8fa824f5eecf68e61b73 (patch) | |
| tree | b7117fd5f7d4a02d4c89b97c65cc8c8c462de4c1 /doc/api_integration.rst | |
| parent | f09b118659c8bdd1c51000eab5ba3e9ef13724d4 (diff) | |
[IMP] accounting v9. Yeeeeaah
Diffstat (limited to 'doc/api_integration.rst')
| -rw-r--r-- | doc/api_integration.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api_integration.rst b/doc/api_integration.rst index 0d9bd9b9eab..8c0cec49581 100644 --- a/doc/api_integration.rst +++ b/doc/api_integration.rst @@ -1266,7 +1266,7 @@ the workflow instance associated with the record. 'account.invoice', 'create', [{ 'partner_id': client['id'], 'account_id': client['property_account_receivable'][0], - 'invoice_line': [(0, False, {'name': "AAA"})] + 'invoice_line_ids': [(0, False, {'name': "AAA"})] }]) models.exec_workflow( @@ -1290,7 +1290,7 @@ the workflow instance associated with the record. 'account.invoice', 'create', array(array( 'partner_id' => $client['id'], 'account_id' => $client['property_account_receivable'][0], - 'invoice_line' => array(array(0, false, array('name' => "AAA"))) + 'invoice_line_ids' => array(array(0, false, array('name' => "AAA"))) ))); $models->exec_workflow( @@ -1311,7 +1311,7 @@ the workflow instance associated with the record. 'account.invoice', 'create', [{ partner_id: client['id'], account_id: client['property_account_receivable'][0], - invoice_line: [[0, false, {name: "AAA"}]] + invoice_line_ids: [[0, false, {name: "AAA"}]] }]) models.exec_workflow( @@ -1343,7 +1343,7 @@ the workflow instance associated with the record. asList(new HashMap<String, Object>() {{ put("partner_id", c.get("id")); put("account_id", ((Object[])c.get("property_account_receivable"))[0]); - put("invoice_line", asList( + put("invoice_line_ids", asList( asList(0, false, new HashMap<String, Object>() {{ put("name", "AAA"); }}) |
