Skip to content

Commit

Permalink
[IMP] l10n_be_hr_contract_salary : Allow user to hide a specific flee…
Browse files Browse the repository at this point in the history
…t vehicle state

When hide_in_offer set to true, all the vehicles in that stage will not appear in the salary configurator anymore
task-3649947

closes #158011

Related: odoo/enterprise#58828
Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com>
  • Loading branch information
jugj-odoo committed Apr 17, 2024
1 parent 1bb4e79 commit 122d09e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions addons/fleet/views/fleet_vehicle_views.xml
Expand Up @@ -527,6 +527,21 @@
</field>
</record>

<record id='fleet_vehicle_state_view_form' model='ir.ui.view'>
<field name="name">fleet.vehicle.state.form</field>
<field name="model">fleet.vehicle.state</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name" />
<field name="sequence"/>
</group>
</sheet>
</form>
</field>
</record>

<record id='fleet_vehicle_state_action' model='ir.actions.act_window'>
<field name="name">Status</field>
<field name="res_model">fleet.vehicle.state</field>
Expand Down

0 comments on commit 122d09e

Please sign in to comment.