Browse Source

Merge pull request #276 from ursais/11.0-del-fieldservice_equipment_agreement

[IMP] Delete fieldservice_equipment_agreement
pull/279/head
Maxime Chambreuil 6 years ago
committed by GitHub
parent
commit
3faaeee809
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      agreement/models/res_config_settings.py
  2. 13
      agreement/views/res_config_settings.xml

5
agreement/models/res_config_settings.py

@ -24,8 +24,7 @@ class ResConfigSettings(models.TransientModel):
module_agreement_stock = fields.Boolean( module_agreement_stock = fields.Boolean(
string='Link your pickings to an agreement.') string='Link your pickings to an agreement.')
module_fieldservice_agreement = fields.Boolean( module_fieldservice_agreement = fields.Boolean(
string='Link your Field Service orders to an agreement.')
module_fieldservice_equipment_agreement = fields.Boolean(
string='Link your Field Service equipments to an agreement.')
string='Link your Field Service orders and equipments to an'
' agreement.')
module_helpdesk_agreement = fields.Boolean( module_helpdesk_agreement = fields.Boolean(
string='Link your Helpdesk tickets to an agreement.') string='Link your Helpdesk tickets to an agreement.')

13
agreement/views/res_config_settings.xml

@ -64,18 +64,7 @@
<div class="o_setting_right_pane"> <div class="o_setting_right_pane">
<label string="Field Service"/> <label string="Field Service"/>
<div class="text-muted"> <div class="text-muted">
Link your Field Service orders to an agreement
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_fieldservice_equipment_agreement"/>
</div>
<div class="o_setting_right_pane">
<label string="Field Service Equipments"/>
<div class="text-muted">
Link your Field Service equipments to an agreement
Link your Field Service orders and equipments to an agreement
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save