[FIX] Sales: Apply small fine tunings on new settings form

This commit is contained in:
Yannick Tivisse
2017-01-04 11:11:05 +01:00
parent 9553970b40
commit 1b316359cb
3 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -39,7 +39,7 @@
<div attrs="{'invisible': [('alias_domain', 'not in', ['localhost', '', False])]}">
<button type="action"
name="base_setup.action_general_configuration"
string="Setup your domain alias" class="oe_link"/>
string="Setup your domain alias" icon="fa-arrow-right" class="oe_link"/>
</div>
</div>
</div>
+2 -2
View File
@@ -49,8 +49,8 @@ class SaleConfiguration(models.TransientModel):
implied_group='sale.group_show_price_total',
group='base.group_portal,base.group_user,base.group_public')
sale_show_tax = fields.Selection([
('subtotal', 'Show line subtotals without taxes (B2B)'),
('total', 'Show line subtotals with taxes included (B2C)')], "Tax Display",
('subtotal', 'Tax-Included Prices'),
('total', 'Tax-Excluded Prices')], "Tax Display",
default='subtotal',
required=True)
default_invoice_policy = fields.Selection([
@@ -170,6 +170,9 @@
</div>
<div class="o_setting_right_pane">
<label for="sale_show_tax"/>
<div class="text-muted">
Line subtotals in sales orders
</div>
<div class="text-muted">
<field name="sale_show_tax" widget="radio"/>
<field name="group_show_price_subtotal" invisible="1"/>
@@ -232,15 +235,6 @@
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<label string="Default product for payment advances"/>
<div class="text-muted">
<field name="deposit_product_id_setting"/>
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="auto_done_setting"/>
@@ -268,6 +262,18 @@
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 o_setting_box" groups="base.group_no_one">
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<label string="Down Payments"/>
<div class="text-muted">
Product used for down payments
</div>
<div class="text-muted">
<field name="deposit_product_id_setting"/>
</div>
</div>
</div>
</div>
<h2>Timesheets</h2>
<div class="row mt16 o_settings_container">