[IMP] fleet/porta/account_budget: removed some initialization warnings.
bzr revid: vmt@openerp.com-20121115160643-lc0b07n6xiaq1rl3
This commit is contained in:
parent
d05a945fc5
commit
724f452f1e
|
@ -224,7 +224,6 @@
|
||||||
<record id="view_crossovered_budget_line_search" model="ir.ui.view">
|
<record id="view_crossovered_budget_line_search" model="ir.ui.view">
|
||||||
<field name="name">account.budget.line.search</field>
|
<field name="name">account.budget.line.search</field>
|
||||||
<field name="model">crossovered.budget.lines</field>
|
<field name="model">crossovered.budget.lines</field>
|
||||||
<field name="type">search</field>
|
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<search string="Budget Lines">
|
<search string="Budget Lines">
|
||||||
<field name="analytic_account_id"/>
|
<field name="analytic_account_id"/>
|
||||||
|
|
|
@ -8,4 +8,6 @@ fleet_vehicle_access_right,fleet_vehicle_access_right,model_fleet_vehicle,,1,1,1
|
||||||
fleet_vehicle_log_fuel_access_right,fleet_vehicle_log_fuel_access_right,model_fleet_vehicle_log_fuel,,1,1,1,1
|
fleet_vehicle_log_fuel_access_right,fleet_vehicle_log_fuel_access_right,model_fleet_vehicle_log_fuel,,1,1,1,1
|
||||||
fleet_vehicle_log_services_access_right,fleet_vehicle_log_services_access_right,model_fleet_vehicle_log_services,,1,1,1,1
|
fleet_vehicle_log_services_access_right,fleet_vehicle_log_services_access_right,model_fleet_vehicle_log_services,,1,1,1,1
|
||||||
fleet_vehicle_log_contract_access_right,fleet_vehicle_log_contract_access_right,model_fleet_vehicle_log_contract,,1,1,1,1
|
fleet_vehicle_log_contract_access_right,fleet_vehicle_log_contract_access_right,model_fleet_vehicle_log_contract,,1,1,1,1
|
||||||
fleet_service_type_access_right,fleet_service_type_access_right,model_fleet_service_type,,1,1,1,1
|
fleet_service_type_access_right,fleet_service_type_access_right,model_fleet_service_type,,1,1,1,1
|
||||||
|
access_fleet_vehicle_cost,access_fleet_vehicle_cost,model_fleet_vehicle_cost,,1,1,1,1
|
||||||
|
access_fleet_contract_state,access_fleet_contract_state,model_fleet_contract_state,,1,1,1,1
|
||||||
|
|
|
|
@ -20,7 +20,8 @@
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
from openerp.addons.mail.tests import test_mail_mockup
|
from openerp.addons.mail.tests import test_mail_mockup
|
||||||
from osv.orm import except_orm
|
from openerp.osv.orm import except_orm
|
||||||
|
from openerp.tools.misc import mute_logger
|
||||||
|
|
||||||
|
|
||||||
class test_portal(test_mail_mockup.TestMailMockups):
|
class test_portal(test_mail_mockup.TestMailMockups):
|
||||||
|
@ -52,6 +53,7 @@ class test_portal(test_mail_mockup.TestMailMockups):
|
||||||
# Set an email address for the user running the tests, used as Sender for outgoing mails
|
# Set an email address for the user running the tests, used as Sender for outgoing mails
|
||||||
self.res_users.write(cr, uid, uid, {'email': 'test@localhost'})
|
self.res_users.write(cr, uid, uid, {'email': 'test@localhost'})
|
||||||
|
|
||||||
|
@mute_logger('openerp.addons.base.ir.ir_model')
|
||||||
def test_00_access_rights(self):
|
def test_00_access_rights(self):
|
||||||
""" Test basic mail_message and mail_group access rights for portal users. """
|
""" Test basic mail_message and mail_group access rights for portal users. """
|
||||||
cr, uid = self.cr, self.uid
|
cr, uid = self.cr, self.uid
|
||||||
|
|
Loading…
Reference in New Issue