summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorAnkita Raval <anr@odoo.com>2019-10-30 06:11:02 +0000
committerJigar Vaghela <jva@odoo.com>2020-02-19 09:09:20 +0000
commitd675dbaa4c7174591e0e7c1a3caf3e76877312ce (patch)
tree40840df0a36cb9a6ba3b918835da2a40a07e3a3b /addons/web/static
parent8f6bf2087e50020bfad4e336b1d4c5a98a4fa84f (diff)
[IMP] account,* : Change type field to move_type in account.move
task-id: 2028z813
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/tests/core/py_utils_tests.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/addons/web/static/tests/core/py_utils_tests.js b/addons/web/static/tests/core/py_utils_tests.js
index 40cbe5de726..833627983ed 100644
--- a/addons/web/static/tests/core/py_utils_tests.js
+++ b/addons/web/static/tests/core/py_utils_tests.js
@@ -893,7 +893,7 @@ QUnit.module('core', function () {
var result = pyUtils.eval('contexts', [{
"__ref": "compound_context",
"__contexts": [
- {"__ref": "context", "__debug": "{'type':parent.type}",
+ {"__ref": "context", "__debug": "{'type':parent.move_type}",
"__id": "462b9dbed42f"}
],
"__eval_context": {
@@ -901,7 +901,7 @@ QUnit.module('core', function () {
"__contexts": [{
"__ref": "compound_context",
"__contexts": [
- {"__ref": "context", "__debug": "{'type': type}",
+ {"__ref": "context", "__debug": "{'type': move_type}",
"__id": "16a04ed5a194"}
],
"__eval_context": {
@@ -909,10 +909,10 @@ QUnit.module('core', function () {
"__contexts": [
{"lang": "en_US", "tz": false, "uid": 1,
"journal_type": "sale", "section_id": false,
- "default_type": "out_invoice",
- "type": "out_invoice", "department_id": false},
+ "default_move_type": "out_invoice",
+ "move_type": "out_invoice", "department_id": false},
{"id": false, "journal_id": 10,
- "number": false, "type": "out_invoice",
+ "number": false, "move_type": "out_invoice",
"currency_id": 1, "partner_id": 4,
"fiscal_position_id": false,
"invoice_date": false, "date": false,
@@ -949,7 +949,7 @@ QUnit.module('core', function () {
"active_model": "account.move.line",
"parent": {
"id": false, "journal_id": 10, "number": false,
- "type": "out_invoice", "currency_id": 1,
+ "move_type": "out_invoice", "currency_id": 1,
"partner_id": 4, "fiscal_position_id": false,
"invoice_date": false, "date": false,
"payment_term_id": false,