forked from OCA/l10n-italy
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[12.0][ADD] New module for assets management
- Loading branch information
1 parent
a4cca39
commit 42977a1
Showing
66 changed files
with
14,534 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Author(s): Silvio Gregorini ([email protected]) | ||
# Copyright 2019 Openforce Srls Unipersonale (www.openforce.it) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
from . import models | ||
from . import report | ||
from . import wizard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Author(s): Silvio Gregorini ([email protected]) | ||
# Copyright 2019 Openforce Srls Unipersonale (www.openforce.it) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
'name': 'ITA - Gestione Cespiti', | ||
'version': '12.0.1.0.0', | ||
'category': 'Localization/Italy', | ||
'summary': "Gestione Cespiti", | ||
'author': 'Openforce, Odoo Community Association (OCA)', | ||
'website': 'https://github.com/OCA/l10n-italy/tree/12.0/assets_management', | ||
'license': 'AGPL-3', | ||
'depends': [ | ||
'account', | ||
'account_cancel', | ||
'account_financial_report', | ||
'account_fiscal_year', | ||
'mail', | ||
], | ||
'data': [ | ||
'security/ir.model.access.csv', | ||
'security/res_groups.xml', | ||
'security/rules.xml', | ||
'data/ir_cron.xml', | ||
'data/asset_data.xml', | ||
'report/layout.xml', | ||
'report/paperformat.xml', | ||
'report/templates/asset_journal.xml', | ||
'report/templates/asset_previsional.xml', | ||
'report/reports.xml', | ||
'views/action_client.xml', | ||
'views/asset_menuitems.xml', | ||
'views/account_invoice.xml', | ||
'views/account_move.xml', | ||
'views/asset.xml', | ||
'views/asset_accounting_info.xml', | ||
'views/asset_category.xml', | ||
'views/asset_depreciation.xml', | ||
'views/asset_depreciation_line.xml', | ||
'views/asset_depreciation_line_type.xml', | ||
'views/asset_depreciation_mode.xml', | ||
'views/asset_depreciation_type.xml', | ||
'views/asset_tag.xml', | ||
'wizard/account_invoice_manage_asset_view.xml', | ||
'wizard/account_move_manage_asset_view.xml', | ||
'wizard/asset_generate_depreciation_view.xml', | ||
'wizard/asset_journal_report_view.xml', | ||
'wizard/asset_previsional_report_view.xml', | ||
], | ||
'development_status': 'Beta', | ||
'installable': True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo noupdate="0"> | ||
|
||
<!-- Natura ammortamento --> | ||
<record id="ad_type_civilistico" model="asset.depreciation.type"> | ||
<field name="name">Civilistico</field> | ||
<field name="requires_account_move">1</field> | ||
<field name="print_by_default">1</field> | ||
</record> | ||
<record id="ad_type_fiscale" model="asset.depreciation.type"> | ||
<field name="name">Fiscale</field> | ||
<field name="requires_account_move">0</field> | ||
<field name="print_by_default">1</field> | ||
</record> | ||
|
||
<!-- Tipo operazione --> | ||
<record id="adpl_type_riv" model="asset.depreciation.line.type"> | ||
<field name="name">Rivalutazione</field> | ||
<field name="code">RIV</field> | ||
<field name="type">in</field> | ||
</record> | ||
|
||
<record id="adpl_type_sva" model="asset.depreciation.line.type"> | ||
<field name="name">Svalutazione</field> | ||
<field name="code">SVA</field> | ||
<field name="type">out</field> | ||
</record> | ||
|
||
<!-- Metodi di ammortamento --> | ||
<record id="ad_mode_immateriale" model="asset.depreciation.mode"> | ||
<field name="name">IMMATERIALE</field> | ||
<field name="used_asset_coeff">1</field> | ||
</record> | ||
<record id="ad_mode_materiale" model="asset.depreciation.mode"> | ||
<field name="name">MATERIALE</field> | ||
<field name="used_asset_coeff">1</field> | ||
</record> | ||
<record id="ad_mode_materiale_line" model="asset.depreciation.mode.line"> | ||
<field name="mode_id" ref="ad_mode_materiale"/> | ||
<field name="from_nr">1</field> | ||
<field name="to_nr">1</field> | ||
<field name="coefficient">0.5</field> | ||
</record> | ||
|
||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo noupdate="1"> | ||
|
||
<record id="clean_asset_accounting_info_cron" model="ir.cron"> | ||
<field name="name">Vacuum Empty Asset Accounting Info</field> | ||
<field name="active" eval="False"/> | ||
<field name="user_id" ref="base.user_root"/> | ||
<field name="interval_number">5</field> | ||
<field name="interval_type">minutes</field> | ||
<field name="numbercall">-1</field> | ||
<field name="doall" eval="True"/> | ||
<field name="model_id" ref="model_asset_accounting_info"/> | ||
<field name="state">code</field> | ||
<field name="code">model.cron_vacuum_table()</field> | ||
</record> | ||
|
||
</odoo> |
Oops, something went wrong.