-
-
Notifications
You must be signed in to change notification settings - Fork 689
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] partner_invoicing_mode_monthly: Migration to 17.0
- Loading branch information
1 parent
0b02583
commit ba532c5
Showing
6 changed files
with
33 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 26 additions & 32 deletions
58
partner_invoicing_mode_monthly/views/res_config_settings_views.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,37 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<record id="res_config_settings_view_form" model="ir.ui.view"> | ||
<field name="inherit_id" ref="account.res_config_settings_view_form" /> | ||
<field | ||
name="inherit_id" | ||
ref="partner_invoicing_mode.res_config_settings_view_form" | ||
/> | ||
<field name="model">res.config.settings</field> | ||
<field name="arch" type="xml"> | ||
<div id="invoicing_settings" position="after"> | ||
<h2>Invoicing Mode</h2> | ||
<div | ||
class="row mt16 o_settings_container" | ||
id="monthly_invoicing_settings" | ||
> | ||
<div class="col-12 col-lg-6 o_setting_box"> | ||
<div class="o_setting_left_pane" /> | ||
<div class="o_setting_right_pane"> | ||
<span class="o_form_label">Monthly Invoicing Options</span> | ||
<div class="content-group"> | ||
<div class="row mt16"> | ||
<label | ||
string="Invoicing day" | ||
for="res_invoicing_mode_monthly_day_todo" | ||
class="col-lg-4 o_light_label" | ||
/> | ||
<field name="res_invoicing_mode_monthly_day_todo" /> | ||
</div> | ||
<div class="row mt16"> | ||
<label | ||
string="Last executed on" | ||
for="invoicing_mode_monthly_last_execution" | ||
class="col-lg-4 o_light_label" | ||
/> | ||
<field | ||
name="invoicing_mode_monthly_last_execution" | ||
/> | ||
</div> | ||
</div> | ||
<xpath expr="//setting[@id='invoicing_mode']" position="inside"> | ||
<div class="mt16"> | ||
<div class="text-muted"> | ||
<span>Monthly Invoicing Options</span> | ||
</div> | ||
<div class="content-group"> | ||
<div class="row mt16"> | ||
<label | ||
string="Invoicing day" | ||
for="res_invoicing_mode_monthly_day_todo" | ||
class="col-lg-4 o_light_label" | ||
/> | ||
<field name="res_invoicing_mode_monthly_day_todo" /> | ||
</div> | ||
<div class="row mt16"> | ||
<label | ||
string="Last executed on" | ||
for="invoicing_mode_monthly_last_execution" | ||
class="col-lg-4 o_light_label" | ||
/> | ||
<field name="invoicing_mode_monthly_last_execution" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</xpath> | ||
</field> | ||
</record> | ||
</odoo> |