1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
|
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.website.sale</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="website.res_config_settings_view_form"/>
<field name="arch" type="xml">
<div id="webmaster_settings" position="after">
<h2>Products</h2>
<div class="row mt16 o_settings_container" id="sale_product_catalog_settings">
<div class="col-12 col-lg-6 o_setting_box" id="product_attributes_setting">
<div class="o_setting_left_pane">
<field name="group_product_variant"/>
</div>
<div class="o_setting_right_pane">
<label for="group_product_variant"/>
<div class="text-muted">
Sell variants of a product using attributes (size, color, etc.)
</div>
<div class="content-group" attrs="{'invisible': [('group_product_variant', '=', False)]}">
<div class="mt8">
<button type="action" name="%(product.attribute_action)d" string="Attributes" class="btn-link" icon="fa-arrow-right"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="prompt_optional_products">
<div class="o_setting_left_pane">
<field name="module_sale_product_configurator" string="Optional Products"/>
</div>
<div class="o_setting_right_pane">
<label for="module_sale_product_configurator" string="Optional Products"/>
<div class="text-muted">
Display a prompt with optional products when adding to cart
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="digital_content_setting" title="Provide customers with product-specific links or downloadable content in the confirmation page of the checkout process if the payment gets through. To do so, attach some files to a product using the new Files button and publish them.">
<div class="o_setting_left_pane">
<field name="module_website_sale_digital"/>
</div>
<div class="o_setting_right_pane">
<label for="module_website_sale_digital"/>
<div class="text-muted">
Sell content to download or URL links
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="wishlist_option_setting">
<div class="o_setting_left_pane">
<field name="module_website_sale_wishlist"/>
</div>
<div class="o_setting_right_pane">
<label for="module_website_sale_wishlist"/>
<div class="text-muted">
Let returning shoppers save products in a wishlist
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="comparator_option_setting">
<div class="o_setting_left_pane">
<field name="module_website_sale_comparison"/>
</div>
<div class="o_setting_right_pane">
<label for="module_website_sale_comparison"/>
<div class="text-muted">
Allow shoppers to compare products based on their attributes
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="product_availability_setting">
<div class="o_setting_left_pane">
<field name="module_website_sale_stock"/>
</div>
<div class="o_setting_right_pane" name="stock_inventory_availability">
<label for="module_website_sale_stock"/>
<div class="text-muted">
Manage availability of products
</div>
</div>
</div>
</div>
<h2>Pricing</h2>
<div class="row mt16 o_settings_container" id="sale_pricing_settings">
<div class="col-12 col-lg-6 o_setting_box" id="website_tax_inclusion_setting">
<div class="o_setting_right_pane">
<label string="Product Prices" for="show_line_subtotals_tax_selection"/>
<div class="text-muted">
Product prices displaying in web catalog
</div>
<div class="content-group">
<div class="mt16">
<field name="show_line_subtotals_tax_selection" class="o_light_label" widget="radio"/>
<field name="group_show_line_subtotals_tax_included" invisible="1"/>
<field name="group_show_line_subtotals_tax_excluded" invisible="1"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="pricelists_setting" title="With the first mode you can set several prices in the product config form (from Sales tab). With the second one, you set prices and computation rules from Pricelists.">
<div class="o_setting_left_pane">
<field name="group_product_pricelist"/>
</div>
<div class="o_setting_right_pane">
<label for="group_product_pricelist"/>
<div class="text-muted">
Apply specific prices per country, discounts, etc.
</div>
<div class="content-group mt16" attrs="{'invisible': [('group_product_pricelist', '=', False)]}">
<field name="group_sale_pricelist" invisible="1"/>
<field name="group_product_pricelist" invisible="1"/>
<field name="product_pricelist_setting" class="o_light_label" widget="radio"/>
</div>
<div class="mt8" attrs="{'invisible': [('group_product_pricelist', '=', False)]}">
<button type="action" name="%(product.product_pricelist_action2)d" string="Pricelists" class="btn-link" icon="fa-arrow-right"/>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="discount_setting" title="Apply manual discounts on sales order lines or display discounts computed from pricelists (option to activate in the pricelist configuration).">
<div class="o_setting_left_pane">
<field name="group_discount_per_so_line"/>
</div>
<div class="o_setting_right_pane">
<label for="group_discount_per_so_line"/>
<div class="text-muted">
Grant discounts on sales order lines
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="multicurrencies_setting" title="This adds the choice of a currency on pricelists.">
<div class="o_setting_left_pane">
<field name="group_multi_currency"/>
</div>
<div class="o_setting_right_pane">
<label for="group_multi_currency"/>
<div class="text-muted">
Sell in several currencies
</div>
<div class="content-group" attrs="{'invisible': [('group_multi_currency', '=', False)]}">
<div class="mt8">
<button type="action" name="%(base.action_currency_form)d" string="Currencies" class="btn-link" icon="fa-arrow-right"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box"
id="promotion_coupon_programs"
title="Boost your sales with two kinds of discount programs: promotions and coupon codes. Specific conditions can be set (products, customers, minimum purchase amount, period). Rewards can be discounts (% or amount) or free products.">
<div class="o_setting_left_pane">
<field name="module_sale_coupon" />
</div>
<div class="o_setting_right_pane">
<label for="module_sale_coupon"/>
<div class="text-muted" id="website_sale_coupon">
Manage promotion & coupon programs
</div>
</div>
</div>
</div>
<h2>Shipping</h2>
<div class="row mt16 o_settings_container" id="sale_shipping_settings">
<div class="col-12 col-lg-6 o_setting_box" id="shipping_address_setting">
<div class="o_setting_left_pane">
<field name="group_delivery_invoice_address"/>
</div>
<div class="o_setting_right_pane">
<label for="group_delivery_invoice_address"/>
<div class="text-muted">
Let the customer enter a shipping address
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="delivery_method_setting">
<div class="o_setting_left_pane">
<field name="module_website_sale_delivery"/>
</div>
<div class="o_setting_right_pane">
<label string="Shipping Costs" for="module_website_sale_delivery"/>
<div class="text-muted" id="msg_delivery_method_setting">
Compute shipping costs on orders
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="ups_provider_setting">
<div class="o_setting_left_pane">
<field name="module_delivery_ups" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane">
<label string="UPS" for="module_delivery_ups"/>
<div class="text-muted" id="website_delivery_ups">
Compute shipping costs and ship with UPS
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="shipping_provider_dhl_setting">
<div class="o_setting_left_pane">
<field name="module_delivery_dhl" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane">
<label string="DHL" for="module_delivery_dhl"/>
<div class="text-muted" id="website_delivery_dhl">
Compute shipping costs and ship with DHL
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="shipping_provider_fedex_setting">
<div class="o_setting_left_pane">
<field name="module_delivery_fedex" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane">
<label string="FedEx" for="module_delivery_fedex"/>
<div class="text-muted" id="website_delivery_fedex">
Compute shipping costs and ship with FedEx
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="shipping_provider_usps_setting">
<div class="o_setting_left_pane">
<field name="module_delivery_usps" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane">
<label string="USPS" for="module_delivery_usps"/>
<div class="text-muted" id="website_delivery_usps">
Compute shipping costs and ship with USPS
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="shipping_provider_bpost_setting">
<div class="o_setting_left_pane">
<field name="module_delivery_bpost" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane">
<label string="bpost" for="module_delivery_bpost"/>
<div class="text-muted" id="website_delivery_bpost">
Compute shipping costs and ship with bpost
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="shipping_provider_easypost_setting">
<div class="o_setting_left_pane">
<field name="module_delivery_easypost" widget="upgrade_boolean"/>
</div>
<div class="o_setting_right_pane">
<label string="Easypost" for="module_delivery_easypost"/>
<div class="text-muted" id="website_delivery_easypost">
Compute shipping cost and ship with Easypost
</div>
</div>
</div>
</div>
<field name='module_account' invisible="1"/>
<div attrs="{'invisible': [('module_account', '=', False)]}">
<h2>Invoicing</h2>
<div class="row mt16 o_settings_container" id="sale_invoicing_settings">
<div class="col-12 col-lg-6 o_setting_box" id="invoicing_policy_setting" title="The mode selected here applies as invoicing policy of any new product created but not of products already existing.">
<div class="o_setting_right_pane">
<span class="o_form_label">Invoicing Policy</span>
<div class="text-muted">
Issue invoices to customers
</div>
<div class="content-group">
<div class="mt16">
<field name="default_invoice_policy" class="o_light_label" widget="radio"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box"
id="automatic_invoice_generation"
attrs="{'invisible': [('default_invoice_policy', '=', 'delivery')]}">
<div class="o_setting_left_pane">
<field name="automatic_invoice" nolabel="1"/>
</div>
<div class="o_setting_right_pane">
<label for="automatic_invoice"/>
<div class="text-muted">
Generate the invoice automatically when the online payment is confirmed
</div>
<div attrs="{'invisible': [('automatic_invoice','=',False)]}">
<label for="template_id" class="o_light_label"/>
<field name="template_id" class="oe_inline"/>
</div>
</div>
</div>
</div>
</div>
<h2>Orders Followup</h2>
<div class="row mt16 o_settings_container" id="sale_checkout_settings">
<div class="col-12 col-lg-6 o_setting_box" id="checkout_assignation_setting">
<div class="o_setting_right_pane">
<span class="o_form_label">Assignment</span>
<span class="fa fa-lg fa-globe" title="Values set here are website-specific." groups="website.group_multi_website"/>
<div class="text-muted">
Assignment of online orders
</div>
<div class="content-group">
<div class="row mt16">
<label class="o_light_label col-lg-3" string="Sales Team" for="salesteam_id"/>
<field name="salesteam_id" kanban_view_ref="%(sales_team.crm_team_view_kanban)s" />
</div>
<div class="row">
<label class="o_light_label col-lg-3" for="salesperson_id"/>
<field name="salesperson_id"/>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-6 o_setting_box" id="confirmation_email_setting">
<div class="o_setting_right_pane">
<span class="o_form_label">Confirmation Email</span>
<div class="text-muted">
Email sent to the customer after the checkout
</div>
<div class="row mt16">
<label for="confirmation_template_id" string="Email Template" class="col-lg-4 o_light_label"/>
<field name="confirmation_template_id" class="oe_inline"/>
</div>
</div>
</div>
<div class="col-xs-12 col-lg-6 o_setting_box" id="abandoned_carts_setting" title="Abandoned carts are all carts left unconfirmed by website visitors. You can find them in *Website > Orders > Abandoned Carts*. From there you can send recovery emails to visitors who entered their contact details.">
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<span class="o_form_label">Abandoned Carts</span>
<span class="fa fa-lg fa-globe" title="Values set here are website-specific." groups="website.group_multi_website"/>
<div class="text-muted">
Send a recovery email when a cart is abandoned
</div>
<div class="content-group" title="This email template is suggested by default when you send a recovery email.">
<div class="row mt16">
<label for="cart_recovery_mail_template" string="Email Template" class="col-lg-4 o_light_label"/>
<field name="cart_recovery_mail_template" class="oe_inline"/>
</div>
</div>
<div class="content-group" title="Carts are flagged as abandoned after this delay.">
<div class="row mt16">
<div class="col-12">
<label for="cart_abandoned_delay" string="Cart is abandoned after" class="o_light_label"/>
<field class="col-2" name="cart_abandoned_delay"/> hours.
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</field>
</record>
</odoo>
|