Port to v10 the code that re-gen the name of move lines

Empty ref on move generated from bank statement, because it has unuseful info (and redundant)
This commit is contained in:
Alexis de Lattre
2017-01-12 17:59:20 +01:00
parent b2a96f4db2
commit a22148329f
3 changed files with 34 additions and 13 deletions

View File

@@ -7,7 +7,6 @@ from odoo import models, api
class AccountBankStatementImport(models.TransientModel):
"""Extend model account.bank.statement."""
_inherit = 'account.bank.statement.import'
def _check_journal_bank_account(self, journal, account_number):

View File

@@ -7,6 +7,11 @@
<odoo>
<!--
Let's try again to work with balance_start and balance_end_real
in v10 to see if we can work with it in v10 or not...
If we really can't, I'll re-activate this view inheritance again
<record id="view_bank_statement_form" model="ir.ui.view">
<field name="name">bank_statement_import_usability.account.bank.statement.form</field>
<field name="model">account.bank.statement</field>
@@ -20,6 +25,7 @@
</field>
</field>
</record>
-->
<record id="view_bank_statement_tree" model="ir.ui.view">
<field name="name">bank_statement_import_usability.account.bank.statement.tree</field>