summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSwapnesh Shah <swapneshshah111@gmail.com>2020-05-12 17:36:21 +0000
committerGitHub <noreply@github.com>2021-03-25 16:05:13 +0000
commit81d42c3e0aa6556f222793ce6885dd3ee98c732b (patch)
tree7651cdc4ebe5a927ee091778873fbec12c322976
parent27ac99ef87912c7ed926396d36aa159a4428b114 (diff)
[IMP] sale: Deposit Product should be service
Before this commit, Creating new `Deposit Product` from Settings was not setting type to `Service` while we have the domain to display on Service products here. Now, we added the Default type in context. closes odoo/odoo#68359 X-original-commit: 7e8019be992a7919ca94ad7cf6c1e83156812b1c Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
-rw-r--r--addons/sale/views/res_config_settings_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/sale/views/res_config_settings_views.xml b/addons/sale/views/res_config_settings_views.xml
index 0af9e764778..da51cb707e8 100644
--- a/addons/sale/views/res_config_settings_views.xml
+++ b/addons/sale/views/res_config_settings_views.xml
@@ -419,7 +419,7 @@
Product used for down payments
</div>
<div class="text-muted">
- <field name="deposit_default_product_id"/>
+ <field name="deposit_default_product_id" context="{'default_type': 'service'}"/>
</div>
</div>
</div>