This commit is contained in:
Bhavesh Odedra
2019-01-11 22:08:14 +05:30
committed by Murtuza Saleh
parent 5135183475
commit 92a26de65f
3 changed files with 7 additions and 7 deletions

View File

@@ -179,9 +179,9 @@ Contributors
------------
* Nova Point Group <info@novapointgroup.com>
* Balaji Kannan <bkannan@ursainfosystems.com>
* Bhavesh Odedra <bodedra@ursainfosystems.com>
* Sandeep Mangukiya <smangukiya@ursainfosystems.com>
* Balaji Kannan <bkannan@opensourceintegrators.com>
* Bhavesh Odedra <bodedra@opensourceintegrators.com>
* Sandeep Mangukiya <smangukiya@opensourceintegrators.com>
Funders
-------
@@ -189,7 +189,7 @@ Funders
The development of this module has been financially supported by:
* Nova Point Group <http://www.novapointgroup.com>
* Ursa Information Systems <http://www.ursainfosystems.com>
* Open Source Integrators <https://opensourceintegrators.com>
Maintainer
----------

View File

@@ -8,7 +8,7 @@
"version": "10.0.1.0.0",
"license": "AGPL-3",
"category": "Accounting and Financial Management",
"author": "NovaPoint Group LLC, Ursa Information Systems, "
"author": "NovaPoint Group LLC, Open Source Integrators, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/account-reconcile",
"depends": [

View File

@@ -45,7 +45,8 @@ class BankAccRecStatement(models.Model):
@api.multi
def copy(self, default=None):
self.ensure_one()
if default is None: default = {}
if default is None:
default = {}
default.update({'credit_move_line_ids': [],
'debit_move_line_ids': [],
'name': ''})
@@ -61,7 +62,6 @@ class BankAccRecStatement(models.Model):
def unlink(self):
"""Reset the related account.move.line to be re-assigned later
to statement."""
statement_line_obj = self.env['bank.acc.rec.statement.line']
self.check_group() # Check if user is allowed to perform the action
for statement in self:
statement_lines = \