Fall 232: Anhänge - Backend

develop
Ahmed Aly 2018-07-04 14:29:26 +02:00 committed by Andreas Wabro
parent 6cf7419497
commit 4f84346b7c
2 changed files with 3 additions and 2 deletions

View File

@ -162,7 +162,8 @@ class Config(object):
'theme_clarico',
'payment_paypal',
'payment_stripe',
'dp_website'
'dp_website',
'odoo_website_product_attachment'
]
# Setze das Feld "Attachment" im Report (wenn gesetzt wird das PDF in den Anhängen gespeichert)

View File

@ -317,7 +317,6 @@ class DatenpolFunctions(object):
'multi_theme_id': self.odoo.env.ref('website_multi_theme.theme_default').id
})
heizpaneele_vals = {
'name': 'Heizpaneele',
'domain': 'www.heizpaneele.at',
@ -345,6 +344,7 @@ class DatenpolFunctions(object):
# enable product attributes and variants
vals.update({
'group_product_variant': True,
'auth_signup_uninvited': 'b2c'
})
wizard_id = res_settings.create(vals)
res_settings.execute(wizard_id)