[IMP] Add a setting to install sale_layout

This commit is contained in:
Yannick Tivisse
2015-11-06 14:45:48 +01:00
parent 7e394725a8
commit 7c9d93f0ef
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -44,6 +44,10 @@ class sale_configuration(osv.TransientModel):
(0, 'Salespeople do not need to view margins when quoting'),
(1, 'Display margins on quotations and sales orders')
], "Margins"),
'module_sale_layout': fields.selection([
(0, 'Do not personalize sale orders and invoice reports'),
(1, 'Personnalize the sale orders and invoice report with separators, page-breaks or subtotals')
], "Sale Reports Layout"),
'module_website_quote': fields.selection([
(0, 'Print quotes or send by email'),
(1, 'Send online quotations based on templates (advanced)')
+1
View File
@@ -19,6 +19,7 @@
<field name="group_discount_per_so_line" widget="radio"/>
<field name="module_website_quote" widget="radio"/>
<field name="module_sale_margin" widget="radio"/>
<field name="module_sale_layout" widget="radio"/>
<field name="auto_done_setting" widget="radio"/>
<label for="sale_pricelist_setting" string="Sale Price"/>
<div>