diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-10-25 09:10:46 +0000 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2018-11-14 15:14:36 +0000 |
| commit | 50e5f73b4e2461982e5312ff0707e9d770b09f0f (patch) | |
| tree | e12603cdc66efa4e9c0eeee7705e4760352689cb /odoo/addons/test_new_api/ir.model.access.csv | |
| parent | c41902a21c50e0accc1b9d6bfa60bce8ecbb5955 (diff) | |
[FIX] fields, test_new_api: monetary related custom
This commit allows for not copying the currency_field attribute
of a monetary field when the monetary field is related,
and when the currency_field attribute is not explicit
Before this commit, the currency_field attribute on the related monetary
was set as the one on the distant model
After this commit, the currency_field attribute takes the field on the
current model
Though the test may appear like an incoherent use case,
it is on the contrary totally legit, as web_studio allows it
OPW 1903113
closes odoo/odoo#28144
Diffstat (limited to 'odoo/addons/test_new_api/ir.model.access.csv')
| -rw-r--r-- | odoo/addons/test_new_api/ir.model.access.csv | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odoo/addons/test_new_api/ir.model.access.csv b/odoo/addons/test_new_api/ir.model.access.csv index c825fb51c59..77c881dcc4d 100644 --- a/odoo/addons/test_new_api/ir.model.access.csv +++ b/odoo/addons/test_new_api/ir.model.access.csv @@ -22,3 +22,7 @@ access_test_new_api_multi_compute_inverse,access_test_new_api_multi_compute_inve access_test_new_api_recursive,access_test_new_api_recursive,model_test_new_api_recursive,,1,1,1,1 access_test_new_api_cascade,access_test_new_api_cascade,model_test_new_api_cascade,,1,1,1,1 access_test_new_api_binary_svg,access_test_new_api_binary_svg,model_test_new_api_binary_svg,,1,1,1,1 +access_test_new_api_monetary_base,access_test_new_api_monetary_base,model_test_new_api_monetary_base,,1,1,1,1 +access_test_new_api_monetary_related,access_test_new_api_monetary_related,model_test_new_api_monetary_related,,1,1,1,1 +access_test_new_api_monetary_custom,access_test_new_api_monetary_custom,model_test_new_api_monetary_custom,,1,1,1,1 +access_test_new_api_monetary_inherits,access_test_new_api_monetary_inherits,model_test_new_api_monetary_inherits,,1,1,1,1 |
