Skip to content

Commit

Permalink
[MIG] sale_timesheet_invoice_description: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mario committed Apr 24, 2024
1 parent 2231821 commit 3dcc60f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@ def setUpClass(cls):
# Make sure user is in English
cls.env.user.lang = "en_US"
cls.partner = cls.env["res.partner"].create({"name": "Test partner"})
cls.default_applicability = cls.env["account.analytic.applicability"].create(
{
"business_domain": "general",
"applicability": "optional",
"company_id": False,
}
)
cls.default_plan = cls.env["account.analytic.plan"].create(
{"name": "Default", "company_id": False}
{"name": "Default", "applicability_ids": cls.default_applicability.ids}
)
cls.analytic_account = cls.env["account.analytic.account"].create(
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="sale_timesheet.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//div[@name='msg_module_sale_timesheet']" position="after">
<xpath expr="//button[@name='424']" position="after">
<div class="content-group" name="sale_timesheet_invoice_description">
<div class="mt16">
<label for="default_timesheet_invoice_description" />
Expand Down

0 comments on commit 3dcc60f

Please sign in to comment.