Skip to content

Commit

Permalink
Merge PR #139 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by mikevhe18
  • Loading branch information
ssi-bot committed Jun 13, 2024
2 parents 33ab26b + 4eb6a35 commit 0d256f0
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 4 deletions.
3 changes: 1 addition & 2 deletions ssi_voucher_mixin/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# pylint: disable=locally-disabled, manifest-required-author
{
"name": "Account Voucher Mixin",
"version": "14.0.2.0.0",
"version": "14.0.1.8.0",
"category": "Accounting",
"website": "https://simetri-sinergi.id",
"author": "OpenSynergy Indonesia, PT. Simetri Sinergi Indonesia",
Expand All @@ -18,7 +18,6 @@
"ssi_transaction_done_mixin",
"ssi_transaction_cancel_mixin",
"ssi_transaction_open_mixin",
"ssi_work_log_mixin",
],
"data": [
"menu.xml",
Expand Down
2 changes: 0 additions & 2 deletions ssi_voucher_mixin/models/voucher_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@ 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
46 changes: 46 additions & 0 deletions ssi_voucher_mixin_work_log/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

============================================
Account Voucher Mixin - Work Log Integration
============================================


Installation
============

To install this module, you need to:

1. Clone the branch 14.0 of the repository https://github.com/open-synergy/opnsynid-account-voucher
2. Add the path to this repository in your configuration (addons-path)
3. Update the module list (Must be on developer mode)
4. Go to menu *Apps -> Apps -> Main Apps*
5. Search For *Account Voucher Mixin - Work Log Integration*
6. Install the module

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/open-synergy/opnsynid-account-voucher/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.


Credits
=======

Contributors
------------

* Michael Viriyananda <[email protected]>

Maintainer
----------

.. image:: https://simetri-sinergi.id/logo.png
:alt: PT. Simetri Sinergi Indonesia
:target: https://simetri-sinergi.id

This module is maintained by the PT. Simetri Sinergi Indonesia.
6 changes: 6 additions & 0 deletions ssi_voucher_mixin_work_log/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2024 OpenSynergy Indonesia
# Copyright 2024 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html).
from . import (
models,
)
18 changes: 18 additions & 0 deletions ssi_voucher_mixin_work_log/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright 2024 OpenSynergy Indonesia
# Copyright 2024 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html).
{
"name": "Account Voucher Mixin - Work Log Integration",
"version": "14.0.1.0.0",
"website": "https://simetri-sinergi.id",
"author": "OpenSynergy Indonesia, PT. Simetri Sinergi Indonesia",
"license": "AGPL-3",
"installable": True,
"depends": [
"ssi_voucher_mixin",
"ssi_work_log_mixin",
],
"data": [],
"demo": [],
"images": [],
}
6 changes: 6 additions & 0 deletions ssi_voucher_mixin_work_log/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2024 OpenSynergy Indonesia
# Copyright 2024 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html).
from . import (
voucher_mixin,
)
15 changes: 15 additions & 0 deletions ssi_voucher_mixin_work_log/models/voucher_mixin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2024 OpenSynergy Indonesia
# Copyright 2024 PT. Simetri Sinergi Indonesia
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl-3.0-standalone.html).

from odoo import models


class MixinAccountVoucher(models.AbstractModel):
_name = "mixin.account.voucher"
_inherit = [
"mixin.account.voucher",
"mixin.work_object",
]

_work_log_create_page = True
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0d256f0

Please sign in to comment.