mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[MIG] account_asset_depr_line_cancel: Migration to 10.0
This commit is contained in:
@@ -17,7 +17,7 @@ button with a white cross in a red circle that allows to remove that entry.
|
||||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/92/8.0
|
||||
:target: https://runbot.odoo-community.org/runbot/92/10.0
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
@@ -36,6 +36,7 @@ Contributors
|
||||
------------
|
||||
|
||||
* Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
* David Vidal <david.vidal@tecnativa.com>
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# (c) 2015 Serv. Tecnol. Avanzados - Pedro M. Baeza
|
||||
# Copyright 2015-2017 Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from . import models
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015-2017 Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
{
|
||||
'name': 'Assets Management - Cancel button',
|
||||
'version': '8.0.1.0.0',
|
||||
'depends': [
|
||||
'account_asset',
|
||||
],
|
||||
'version': '10.0.1.0.0',
|
||||
'author': "Tecnativa, "
|
||||
"Odoo Community Association (OCA)",
|
||||
'website': 'http://www.serviciosbaeza.com',
|
||||
@@ -17,6 +15,9 @@
|
||||
'data': [
|
||||
'views/account_asset_asset_view.xml',
|
||||
],
|
||||
'depends': [
|
||||
'account_asset',
|
||||
],
|
||||
'installable': True,
|
||||
'license': 'AGPL-3',
|
||||
}
|
||||
@@ -1,8 +1,9 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015-2017 Pedro M. Baeza <pedro.baeza@tecnativa.com>
|
||||
# Copyright 2017 David Vidal <david.vidal@tecnativa.com>
|
||||
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||
|
||||
from openerp import models, api
|
||||
from odoo import models, api
|
||||
|
||||
|
||||
class AccountAssetDepreciationLine(models.Model):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<openerp>
|
||||
<data>
|
||||
<odoo>
|
||||
|
||||
<record model="ir.ui.view" id="view_account_asset_asset_form">
|
||||
<field name="name">Account Asset Form (cancel button)</field>
|
||||
<field name="model">account.asset.asset</field>
|
||||
@@ -11,7 +11,8 @@
|
||||
<button name="create_move" position="after">
|
||||
<field name="move_id" invisible="1"/>
|
||||
<button name="unlink_move"
|
||||
icon="gtk-cancel"
|
||||
icon="fa-times-circle text-danger"
|
||||
class="text-danger"
|
||||
string="Delete Move"
|
||||
type="object"
|
||||
confirm="Are you sure?"
|
||||
@@ -21,5 +22,5 @@
|
||||
</button>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user