Skip to content

Commit

Permalink
Merge PR #1507 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by kittiu
  • Loading branch information
OCA-git-bot committed Sep 20, 2023
2 parents 7d1ef7c + af809fb commit 3133b73
Show file tree
Hide file tree
Showing 23 changed files with 1,603 additions and 0 deletions.
111 changes: 111 additions & 0 deletions account_asset_transfer/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
================================
Asset Transfer from AUC to Asset
================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/14.0/account_asset_transfer
:alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_asset_transfer
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/92/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allow transferring assets under construction (AUC) to normal assets.

AUC is Asset under construction where some assets are in construction phase and
cost needs to be captured for the time being. Once asset is fully completed then
cost would be transferred to final asset

**Note:**

* If the asset don't have journal entries, asset transfer will use account settings from the asset/asset profile instead.

**Table of contents**

.. contents::
:local:

Configuration
=============

On asset profile, user can setup default Transfer Journal, to be used during transfer.

Usage
=====

Given asset under construction has been created, i.e., by vendor bill.

- Go to asset menu
- Filter "Transferrable" assets and look for desired assets to transfer
- Select assets to transfer, and click actoin "Transfer Asset"
- On asset transfer wizard, on the "To New Asset" tab, choose new profile(s)
- Click "Transfer" button
- Odoo will create journal entry as well as new asset(s)

**Note:** You can click "Expand Asset" button for expand asset line that selects the asset profile set to be "Create an asset by product item"

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/account-financial-tools/issues/new?body=module:%20account_asset_transfer%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Ecosoft

Contributors
~~~~~~~~~~~~

* `Ecosoft <http://ecosoft.co.th>`__:

* Kitti U. <kittiu@ecosoft.co.th>
* Pimolnat Suntian <pimolnats@ecosoft.co.th>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-kittiu| image:: https://github.com/kittiu.png?size=40px
:target: https://github.com/kittiu
:alt: kittiu

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-kittiu|

This module is part of the `OCA/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/14.0/account_asset_transfer>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions account_asset_transfer/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
19 changes: 19 additions & 0 deletions account_asset_transfer/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2020 Ecosoft Co., Ltd. (http://ecosoft.co.th)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Asset Transfer from AUC to Asset",
"version": "15.0.1.0.0",
"license": "AGPL-3",
"depends": ["account_asset_management"],
"author": "Ecosoft, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-financial-tools",
"category": "Accounting & Finance",
"data": [
"security/ir.model.access.csv",
"views/account_asset.xml",
"views/account_asset_profile.xml",
"wizard/account_asset_transfer.xml",
],
"maintainers": ["kittiu"],
}
258 changes: 258 additions & 0 deletions account_asset_transfer/i18n/account_asset_transfer.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_asset_transfer
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: account_asset_transfer
#: model:ir.model.fields,help:account_asset_transfer.field_account_asset__can_transfer
msgid "Allow transfer AUC (running) to Asset"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__analytic_account_id
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__analytic_account_id
msgid "Analytic account"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__analytic_tag_ids
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__analytic_tag_ids
msgid "Analytic tags"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model,name:account_asset_transfer.model_account_asset
msgid "Asset"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__asset_name
msgid "Asset Name"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__asset_profile_id
msgid "Asset Profile"
msgstr ""

#. module: account_asset_transfer
#: code:addons/account_asset_transfer/wizard/account_asset_transfer.py:0
#, python-format
msgid "Asset Transfer Journal Entry"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__asset_value
msgid "Asset Value"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model,name:account_asset_transfer.model_account_asset_profile
msgid "Asset profile"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__balance
msgid "Balance"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset__can_transfer
msgid "Can Transfer"
msgstr ""

#. module: account_asset_transfer
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_view_search
msgid "Can be transferred"
msgstr ""

#. module: account_asset_transfer
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_transfer_view_form
msgid "Cancel"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__company_id
msgid "Company"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__create_uid
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__create_uid
msgid "Created by"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__create_date
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__create_date
msgid "Created on"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__currency_id
msgid "Currency"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset__display_name
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_profile__display_name
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__display_name
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__display_name
msgid "Display Name"
msgstr ""

#. module: account_asset_transfer
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_transfer_view_form
msgid "From"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__from_asset_ids
msgid "From Asset(s)"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__from_asset_value
msgid "From Value"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset__id
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_profile__id
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__id
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__id
msgid "ID"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset____last_update
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_profile____last_update
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer____last_update
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line____last_update
msgid "Last Modified on"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__write_uid
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__write_uid
msgid "Last Updated by"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__write_date
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__write_date
msgid "Last Updated on"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__note
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_transfer_view_form
msgid "Notes"
msgstr ""

#. module: account_asset_transfer
#: code:addons/account_asset_transfer/models/account_asset.py:0
#, python-format
msgid "Only running assets without depreciation (AUC) can transfer"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__partner_id
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__partner_id
msgid "Partner"
msgstr ""

#. module: account_asset_transfer
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_view_form
msgid ""
"There are no journal entries on current asset(s), asset transfer will use "
"account settings from the asset/asset profile instead."
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__to_asset_ids
msgid "To Asset(s)"
msgstr ""

#. module: account_asset_transfer
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_transfer_view_form
msgid "To New Asset"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__to_asset_value
msgid "To Value"
msgstr ""

#. module: account_asset_transfer
#: code:addons/account_asset_transfer/wizard/account_asset_transfer.py:0
#, python-format
msgid "Total values of new assets must equal to source assets"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer_line__transfer_id
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_transfer_view_form
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_view_form
msgid "Transfer"
msgstr ""

#. module: account_asset_transfer
#: code:addons/account_asset_transfer/models/account_asset.py:0
#, python-format
msgid "Transfer AUC to Asset & Create Transfer Journal Entry"
msgstr ""

#. module: account_asset_transfer
#: model:ir.actions.server,name:account_asset_transfer.action_asset_transfer_from_list
#: model:ir.model,name:account_asset_transfer.model_account_asset_transfer
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_transfer_view_form
msgid "Transfer Asset"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__date_transfer
msgid "Transfer Date"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_profile__transfer_journal_id
#: model:ir.model.fields,field_description:account_asset_transfer.field_account_asset_transfer__transfer_journal_id
msgid "Transfer Journal"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model,name:account_asset_transfer.model_account_asset_transfer_line
msgid "Transfer To Asset"
msgstr ""

#. module: account_asset_transfer
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_view_form
msgid "Transfer asset from AUC to Asset"
msgstr ""

#. module: account_asset_transfer
#: model:ir.model.fields,help:account_asset_transfer.field_account_asset_transfer__date_transfer
msgid "Transfer date must be after the asset journal entry"
msgstr ""

#. module: account_asset_transfer
#: model_terms:ir.ui.view,arch_db:account_asset_transfer.account_asset_view_search
msgid "Transferable"
msgstr ""

#. module: account_asset_transfer
#: code:addons/account_asset_transfer/wizard/account_asset_transfer.py:0
#, python-format
msgid "Value of new asset must greater than 0.0"
msgstr ""
3 changes: 3 additions & 0 deletions account_asset_transfer/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from . import account_asset
from . import account_asset_profile
Loading

0 comments on commit 3133b73

Please sign in to comment.