Skip to content

Commit

Permalink
[IMP] repair_picking_after_done: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
HeliconiaSolutions committed Jan 6, 2025
1 parent 93ed7d6 commit 3e5dfc4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
29 changes: 15 additions & 14 deletions repair_picking_after_done/views/res_config_settings_views.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>

<record id="res_config_settings_view_form_inherit" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.repair</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base_repair_config.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//block[@name='repair_setting_container']" position="inside">
<setting
<record id="res_config_settings_view_form_inherit" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.repair</field>
<field name="model">res.config.settings</field>
<field
name="inherit_id"
ref="base_repair_config.res_config_settings_view_form"
/>
<field name="arch" type="xml">
<xpath expr="//block[@name='repair_setting_container']" position="inside">
<setting
id="auto_transfer_repair_setting"
help="Automatically create and validate stock transfers for completed repair orders."
>
<field name="auto_transfer_repair" />
</setting>
</xpath>
</field>
</record>

<field name="auto_transfer_repair" />
</setting>
</xpath>
</field>
</record>
</odoo>
10 changes: 5 additions & 5 deletions repair_picking_after_done/wizards/repair_move_transfer_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
</group>
<footer>
<button
name="action_create_transfer"
string="Create transfer"
type="object"
class="oe_highlight"
/>
name="action_create_transfer"
string="Create transfer"
type="object"
class="oe_highlight"
/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</footer>
Expand Down

0 comments on commit 3e5dfc4

Please sign in to comment.