mirror of
https://github.com/OCA/account-reconcile.git
synced 2025-01-20 12:27:39 +02:00
[IMP] Completed commission extraction from account_statement_base_import.
Removed the last remnants of commission handling from account_statement_base_import and made the newly created account_statement_commission module work properly.
This commit is contained in:
@@ -55,10 +55,6 @@ class CreditPartnerStatementImporter(orm.TransientModel):
|
||||
'journal_id': fields.many2one('account.journal',
|
||||
'Financial journal to use transaction'),
|
||||
'file_name': fields.char('File Name', size=128),
|
||||
'commission_account_id': fields.many2one('account.account',
|
||||
'Commission account'),
|
||||
'commission_analytic_id': fields.many2one('account.analytic.account',
|
||||
'Commission analytic account'),
|
||||
'receivable_account_id': fields.many2one('account.account',
|
||||
'Force Receivable/Payable Account'),
|
||||
'force_partner_on_bank': fields.boolean(
|
||||
@@ -80,10 +76,7 @@ class CreditPartnerStatementImporter(orm.TransientModel):
|
||||
res = {'value':
|
||||
{'partner_id': c.partner_id and c.partner_id.id or False,
|
||||
'journal_id': c.journal_id and c.journal_id.id or False,
|
||||
'commission_account_id':
|
||||
c.commission_account_id and c.commission_account_id.id or False,
|
||||
'receivable_account_id': c.receivable_account_id and c.receivable_account_id.id or False,
|
||||
'commission_a': c.commission_analytic_id and c.commission_analytic_id.id or False,
|
||||
'force_partner_on_bank': c.force_partner_on_bank,
|
||||
'balance_check': c.balance_check,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user