mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] apply suggestions and remove some warnings
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 2018 Creu Blanca
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
{
|
||||
"name": "Account Loan management",
|
||||
"name": "Account Loan",
|
||||
"version": "12.0.1.0.0",
|
||||
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
||||
"website": "http://github.com/OCA/account-financial-tools",
|
||||
|
||||
@@ -15,4 +15,4 @@ On a posted loan you can:
|
||||
|
||||
.. 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/11.0
|
||||
:target: https://runbot.odoo-community.org/runbot/92/12.0
|
||||
|
||||
@@ -5,6 +5,7 @@ from odoo import api, fields, models
|
||||
|
||||
class AccountLoanGenerateWizard(models.TransientModel):
|
||||
_name = "account.loan.generate.wizard"
|
||||
_description = 'Loan generate wizard'
|
||||
|
||||
date = fields.Date(
|
||||
'Account Date',
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# Copyright 2018 Creu Blanca
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
|
||||
from odoo import api, fields, models, _
|
||||
@@ -6,6 +7,7 @@ from odoo.exceptions import UserError
|
||||
|
||||
class AccountLoan(models.TransientModel):
|
||||
_name = 'account.loan.pay.amount'
|
||||
_description = 'Loan pay amount'
|
||||
|
||||
loan_id = fields.Many2one(
|
||||
'account.loan',
|
||||
|
||||
@@ -6,6 +6,7 @@ from odoo.exceptions import UserError
|
||||
|
||||
class AccountLoanPost(models.TransientModel):
|
||||
_name = "account.loan.post"
|
||||
_description = 'Loan post'
|
||||
|
||||
@api.model
|
||||
def _default_journal_id(self):
|
||||
|
||||
Reference in New Issue
Block a user