[IMP]account_payment: highlight a file and code which is not used and put a nolabel and seperoter on many2many filed
bzr revid: mma@tinyerp.com-20111115115543-uskt6i3dyabj7im5
This commit is contained in:
parent
c01f177771
commit
a3417cd707
|
@ -55,7 +55,7 @@ This module provides :
|
||||||
'test/process/draft2done_payment_order.yml',
|
'test/process/draft2done_payment_order.yml',
|
||||||
'test/process/draft2valid_bank_statement.yml',
|
'test/process/draft2valid_bank_statement.yml',
|
||||||
'test/ui/payment_order_form.yml',
|
'test/ui/payment_order_form.yml',
|
||||||
'test/account_payment_report.yml'
|
'test/process/account_payment_report.yml'
|
||||||
],
|
],
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'active': False,
|
'active': False,
|
||||||
|
|
|
@ -68,6 +68,7 @@ class payment_order(osv.osv):
|
||||||
_rec_name = 'reference'
|
_rec_name = 'reference'
|
||||||
_order = 'id desc'
|
_order = 'id desc'
|
||||||
|
|
||||||
|
#TODO:REMOVE this function is not used
|
||||||
def get_wizard(self, type):
|
def get_wizard(self, type):
|
||||||
logger = netsvc.Logger()
|
logger = netsvc.Logger()
|
||||||
logger.notifyChannel("warning", netsvc.LOG_WARNING,
|
logger.notifyChannel("warning", netsvc.LOG_WARNING,
|
||||||
|
@ -174,7 +175,7 @@ payment_order()
|
||||||
|
|
||||||
class payment_line(osv.osv):
|
class payment_line(osv.osv):
|
||||||
_name = 'payment.line'
|
_name = 'payment.line'
|
||||||
_description = 'Payment Line'
|
_description = 'Payment Line'
|
||||||
|
|
||||||
def translate(self, orig):
|
def translate(self, orig):
|
||||||
return {
|
return {
|
||||||
|
@ -235,6 +236,7 @@ class payment_line(osv.osv):
|
||||||
break
|
break
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
#TODO:REMOVE this function is not used
|
||||||
def select_by_name(self, cr, uid, ids, name, args, context=None):
|
def select_by_name(self, cr, uid, ids, name, args, context=None):
|
||||||
if not ids: return {}
|
if not ids: return {}
|
||||||
partner_obj = self.pool.get('res.partner')
|
partner_obj = self.pool.get('res.partner')
|
||||||
|
|
|
@ -27,7 +27,8 @@
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="Search Payment lines">
|
<form string="Search Payment lines">
|
||||||
<group col="4" colspan="6">
|
<group col="4" colspan="6">
|
||||||
<field name="entries"/>
|
<separator colspan="4" string="Entries"/>
|
||||||
|
<field name="entries" nolabel="1"/>
|
||||||
</group>
|
</group>
|
||||||
<separator colspan="4"/>
|
<separator colspan="4"/>
|
||||||
<group col="2" colspan="4">
|
<group col="2" colspan="4">
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
from osv import osv
|
from osv import osv
|
||||||
|
#TODO:REMOVE this wizard is not used
|
||||||
class account_payment_make_payment(osv.osv_memory):
|
class account_payment_make_payment(osv.osv_memory):
|
||||||
_name = "account.payment.make.payment"
|
_name = "account.payment.make.payment"
|
||||||
_description = "Account make payment"
|
_description = "Account make payment"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<openerp>
|
<openerp>
|
||||||
<data>
|
<data>
|
||||||
|
<!-- TODO:REMOVE this wizard is not used -->
|
||||||
<record id="account_payment_make_payment_view" model="ir.ui.view">
|
<record id="account_payment_make_payment_view" model="ir.ui.view">
|
||||||
<field name="name">account.payment.make.payment.form</field>
|
<field name="name">account.payment.make.payment.form</field>
|
||||||
<field name="model">account.payment.make.payment</field>
|
<field name="model">account.payment.make.payment</field>
|
||||||
|
|
Loading…
Reference in New Issue