mirror of
https://gitlab.com/flectra-community/account-closing.git
synced 2024-11-22 13:42:06 +00:00
Automatic Update form OCA2FC Migrator
This commit is contained in:
parent
9db3632af1
commit
50df5eb6c0
@ -12,6 +12,6 @@ addon | version | summary
|
||||
[account_cutoff_accrual_picking](account_cutoff_accrual_picking/) | 2.0.1.1.0| Accrued expense & accrued revenue from pickings
|
||||
[account_invoice_start_end_dates](account_invoice_start_end_dates/) | 2.0.1.1.0| Adds start/end dates on invoice/move lines
|
||||
[account_cutoff_start_end_dates](account_cutoff_start_end_dates/) | 2.0.1.0.0| Cutoffs based on start/end dates
|
||||
[account_cutoff_base](account_cutoff_base/) | 2.0.1.2.0| Base module for Account Cut-offs
|
||||
[account_cutoff_base](account_cutoff_base/) | 2.0.1.2.1| Base module for Account Cut-offs
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
{
|
||||
"name": "Account Cut-off Base",
|
||||
"version": "2.0.1.2.0",
|
||||
"version": "2.0.1.2.1",
|
||||
"category": "Accounting & Finance",
|
||||
"license": "AGPL-3",
|
||||
"summary": "Base module for Account Cut-offs",
|
||||
|
@ -305,7 +305,8 @@ class AccountCutoff(models.Model):
|
||||
self.write({"move_id": move.id, "state": "done"})
|
||||
self.message_post(body=_("Journal entry generated"))
|
||||
|
||||
action = self.env.ref("account.action_move_journal_line").sudo().read()[0]
|
||||
xmlid = "account.action_move_journal_line"
|
||||
action = self.env["ir.actions.act_window"]._for_xml_id(xmlid)
|
||||
action.update(
|
||||
{
|
||||
"view_mode": "form,tree",
|
||||
@ -336,11 +337,8 @@ class AccountCutoff(models.Model):
|
||||
return super().unlink()
|
||||
|
||||
def button_line_tree(self):
|
||||
action = (
|
||||
self.env.ref("account_cutoff_base.account_cutoff_line_action")
|
||||
.sudo()
|
||||
.read()[0]
|
||||
)
|
||||
xmlid = "account_cutoff_base.account_cutoff_line_action"
|
||||
action = self.env["ir.actions.act_window"]._for_xml_id(xmlid)
|
||||
action.update(
|
||||
{
|
||||
"domain": [("parent_id", "=", self.id)],
|
||||
|
Loading…
Reference in New Issue
Block a user