Skip to content

Commit

Permalink
[ADD] Work Log
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevhe18 committed Jun 6, 2024
1 parent 39dd3a2 commit 45b906b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ssi_voucher_mixin/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"ssi_transaction_done_mixin",
"ssi_transaction_cancel_mixin",
"ssi_transaction_open_mixin",
"ssi_work_log_mixin",
],
"data": [
"menu.xml",
Expand Down
2 changes: 2 additions & 0 deletions ssi_voucher_mixin/models/voucher_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ class MixinAccountVoucher(models.AbstractModel):
"mixin.transaction_cancel",
"mixin.transaction_open",
"mixin.transaction_done",
"mixin.work_object",
]
_approval_from_state = "draft"
_approval_to_state = "open"
_approval_state = "confirm"
_after_approved_method = "action_open"
_create_sequence_state = "open"
_work_log_create_page = True

_statusbar_visible_label = "draft,confirm,open,post"

Expand Down

0 comments on commit 45b906b

Please sign in to comment.