diff --git a/addons/account/test/account_change_currency.yml b/addons/account/test/account_change_currency.yml index 479afd2f2e2..5ec7405d719 100644 --- a/addons/account/test/account_change_currency.yml +++ b/addons/account/test/account_change_currency.yml @@ -33,11 +33,11 @@ - !python {model: account.change.currency}: | self.view_init(cr, uid, [ref("account_change_currency_0")], {"lang": 'en_US', - "active_model": "account.invoice", "tz": False, "record_id": 4, "active_ids": + "active_model": "account.invoice", "tz": False, "active_ids": [ref("account_invoice_currency")], "type": "out_invoice", "active_id": ref("account_invoice_currency"), }) self.change_currency(cr, uid, [ref("account_change_currency_0")], {"lang": 'en_US', - "active_model": "account.invoice", "tz": False, "record_id": 4, "active_ids": + "active_model": "account.invoice", "tz": False, "active_ids": [ref("account_invoice_currency")], "type": "out_invoice", "active_id": ref("account_invoice_currency"), }) - @@ -71,7 +71,7 @@ - !python {model: account.change.currency}: | self.change_currency(cr, uid, [ref("account_change_currency_0")], {"lang": 'en_US', - "active_model": "account.invoice", "tz": False, "record_id": 4, "active_ids": + "active_model": "account.invoice", "tz": False, "active_ids": [ref("account_invoice_currency")], "type": "out_invoice", "active_id": ref("account_invoice_currency"), }) - diff --git a/addons/account/wizard/account_automatic_reconcile_view.xml b/addons/account/wizard/account_automatic_reconcile_view.xml index a18adaa0320..a2fe0b3c689 100644 --- a/addons/account/wizard/account_automatic_reconcile_view.xml +++ b/addons/account/wizard/account_automatic_reconcile_view.xml @@ -42,7 +42,7 @@ form tree,form - {'record_id':active_id} + {} new diff --git a/addons/account/wizard/account_change_currency_view.xml b/addons/account/wizard/account_change_currency_view.xml index 336766a2f42..4504f064a1d 100644 --- a/addons/account/wizard/account_change_currency_view.xml +++ b/addons/account/wizard/account_change_currency_view.xml @@ -25,7 +25,7 @@ form form - {'record_id' : active_id} + {} new diff --git a/addons/account/wizard/account_reconcile_partner_process_view.xml b/addons/account/wizard/account_reconcile_partner_process_view.xml index 457e144e4ab..d7ac5e85d07 100644 --- a/addons/account/wizard/account_reconcile_partner_process_view.xml +++ b/addons/account/wizard/account_reconcile_partner_process_view.xml @@ -28,7 +28,7 @@ form tree,form - {'record_id':active_id} + {} new diff --git a/addons/account/wizard/account_report_aged_partner_balance_view.xml b/addons/account/wizard/account_report_aged_partner_balance_view.xml index fb0952e4614..bd54b925eea 100644 --- a/addons/account/wizard/account_report_aged_partner_balance_view.xml +++ b/addons/account/wizard/account_report_aged_partner_balance_view.xml @@ -37,7 +37,7 @@ form tree,form - {'record_id':active_id} + {} new diff --git a/addons/account/wizard/account_report_partner_balance_view.xml b/addons/account/wizard/account_report_partner_balance_view.xml index 679ef1aa456..6dbe6d7b77b 100644 --- a/addons/account/wizard/account_report_partner_balance_view.xml +++ b/addons/account/wizard/account_report_partner_balance_view.xml @@ -29,7 +29,7 @@ form tree,form - {'record_id':active_id} + {} new This report is analysis by partner. It is a PDF report containing one line per partner representing the cumulative credit balance. diff --git a/addons/account/wizard/account_report_partner_ledger_view.xml b/addons/account/wizard/account_report_partner_ledger_view.xml index 97dcdf8d3f2..c3c731c1954 100644 --- a/addons/account/wizard/account_report_partner_ledger_view.xml +++ b/addons/account/wizard/account_report_partner_ledger_view.xml @@ -34,7 +34,7 @@ form tree,form - {'record_id':active_id} + {} new diff --git a/addons/account/wizard/account_state_open_view.xml b/addons/account/wizard/account_state_open_view.xml index 563a15bff73..d3b68cb5186 100644 --- a/addons/account/wizard/account_state_open_view.xml +++ b/addons/account/wizard/account_state_open_view.xml @@ -27,7 +27,7 @@ form form - {'record_id' : active_id} + {} new diff --git a/addons/account/wizard/account_unreconcile_view.xml b/addons/account/wizard/account_unreconcile_view.xml index 714d64fb400..2efe457b1e2 100644 --- a/addons/account/wizard/account_unreconcile_view.xml +++ b/addons/account/wizard/account_unreconcile_view.xml @@ -64,7 +64,7 @@ form form - {'record_id' : active_id} + {} new diff --git a/addons/account/wizard/account_validate_move_view.xml b/addons/account/wizard/account_validate_move_view.xml index fa3a2774a77..d12ae8d847f 100644 --- a/addons/account/wizard/account_validate_move_view.xml +++ b/addons/account/wizard/account_validate_move_view.xml @@ -66,7 +66,7 @@ form form - {'record_id' : active_id} + {} new This wizard will validate all journal entries of a particular journal and period. Once journal entries are validated, you can not update them anymore.