Skip to content

Commit

Permalink
[FIX] FIx precommit e test per sequenza
Browse files Browse the repository at this point in the history
  • Loading branch information
odooNextev committed Sep 7, 2023
1 parent ff7cb8b commit b6e6b91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion l10n_it_asset_management/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"report/templates/asset_journal.xml",
"report/templates/asset_previsional.xml",
"report/reports.xml",
# "views/action_client.xml",
"views/action_client.xml",
"views/asset_menuitems.xml",
"views/account_move.xml",
"views/asset.xml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ def test_00_create_asset_depreciate_and_sale(self):
)
sale_invoice.button_cancel()
sale_invoice.button_draft()
# Reset name to allow sequence year changing
sale_invoice.name = "/"
sale_invoice.invoice_date = second_depreciation_date + relativedelta(days=10)
sale_invoice.action_post()
self.assertEqual(sale_invoice.state, "posted")
Expand Down

0 comments on commit b6e6b91

Please sign in to comment.