bugfixes+merge

bzr revid: fp@tinyerp.com-20090116094542-49i0akoqbo37kpd2
This commit is contained in:
Fabien Pinckaers 2009-01-16 10:45:42 +01:00
commit f4a4eb1300
52 changed files with 51 additions and 3384 deletions

View File

@ -457,6 +457,7 @@ class account_journal(osv.osv):
'currency': fields.many2one('res.currency', 'Currency', help='The currency used to enter statement'),
'entry_posted': fields.boolean('Skip \'Draft\' State for Created Entries', help='Check this box if you don\'t want that new account moves pass through the \'draft\' state and goes direclty to the \'posted state\' without any manual validation.'),
'company_id': fields.related('default_credit_account_id','company_id',type='many2one', relation="res.company", string="Company"),
'fy_seq_id': fields.one2many('fiscalyear.seq', 'journal_id', 'Sequences'),
}
_defaults = {
@ -923,7 +924,7 @@ class account_move(osv.osv):
for move in self.browse(cr, uid, ids, context):
#unlink analytic lines on move_lines
for obj_line in move.line_id:
for obj in obj_line.analytic_lines:
for obj in obj_line.analytic_lines:
self.pool.get('account.analytic.line').unlink(cr,uid,obj.id)
journal = move.journal_id
@ -1872,14 +1873,14 @@ account_tax_template()
class account_fiscal_position_template(osv.osv):
_name = 'account.fiscal.position.template'
_description = 'Template for Fiscal Position'
_columns = {
'name': fields.char('Fiscal Position Template', size=64, translate=True, required=True),
'chart_template_id': fields.many2one('account.chart.template', 'Chart Template', required=True),
'account_ids': fields.one2many('account.fiscal.position.account.template', 'position_id', 'Accounts Mapping'),
'tax_ids': fields.one2many('account.fiscal.position.tax.template', 'position_id', 'Taxes Mapping')
}
account_fiscal_position_template()
class account_fiscal_position_tax_template(osv.osv):
@ -1905,7 +1906,7 @@ class account_fiscal_position_account_template(osv.osv):
'account_dest_id': fields.many2one('account.account.template', 'Account Destination', domain=[('type','<>','view')], required=True)
}
account_fiscal_position_account_template()
account_fiscal_position_account_template()
# Multi charts of Accounts wizard
@ -2156,19 +2157,19 @@ class wizard_multi_charts_accounts(osv.osv_memory):
property_obj.create(cr, uid, vals)
fp_ids = obj_fiscal_position_template.search(cr, uid,[('chart_template_id', '=', obj_multi.chart_template_id.id)])
if fp_ids:
for position in obj_fiscal_position_template.browse(cr, uid, fp_ids):
vals_fp = {
'company_id' : company_id,
'name' : position.name,
}
new_fp = obj_fiscal_position.create(cr, uid, vals_fp)
obj_tax_fp = self.pool.get('account.fiscal.position.tax')
obj_ac_fp = self.pool.get('account.fiscal.position.account')
for tax in position.tax_ids:
vals_tax = {
'tax_src_id' : tax_template_ref[tax.tax_src_id.id],
@ -2176,7 +2177,7 @@ class wizard_multi_charts_accounts(osv.osv_memory):
'position_id' : new_fp,
}
obj_tax_fp.create(cr, uid, vals_tax)
for acc in position.account_ids:
vals_acc = {
'account_src_id' : acc_template_ref[acc.account_src_id.id],
@ -2184,7 +2185,7 @@ class wizard_multi_charts_accounts(osv.osv_memory):
'position_id' : new_fp,
}
obj_ac_fp.create(cr, uid, vals_acc)
return {
'view_type': 'form',
"view_mode": 'form',

View File

@ -197,7 +197,8 @@ class account_move_line(osv.osv):
else:
account = move.journal_id.default_debit_account_id
part = self.pool.get('res.partner').browse(cr, uid, partner_id)
part = partner_id and self.pool.get('res.partner').browse(cr, uid, partner_id) or False
# part = False is acceptable for fiscal position.
account = self.pool.get('account.fiscal.position').map_account(cr, uid, part, account.id)
account = self.pool.get('account.account').browse(cr, uid, account)

View File

@ -269,6 +269,16 @@
<field name="group_invoice_lines"/>
<field name="update_posted"/>
<field name="fy_seq_id" colspan="4" widget="one2many_list" >
<tree string="Invoice Sequences">
<field name="fiscalyear_id"/>
<field name="sequence_id"/>
</tree>
<form string="Invoice Sequences">
<field name="fiscalyear_id"/>
<field name="sequence_id"/>
</form>
</field>
<field name="entry_posted"/>
</page>
<page string="Entry Controls">
@ -1687,9 +1697,9 @@
</graph>
</field>
</record>
<!-- Fiscal Position Templates -->
<record id="view_account_position_template_form" model="ir.ui.view">
<field name="name">account.fiscal.position.template.form</field>
<field name="model">account.fiscal.position.template</field>

View File

@ -30,6 +30,18 @@ from mx.DateTime import RelativeDateTime
from tools import config
from tools.translate import _
class fiscalyear_seq(osv.osv):
_name = "fiscalyear.seq"
_description = "Maintains Invoice sequences with Fiscal Year"
_rec_name = 'fiscalyear_id'
_columns = {
'journal_id': fields.many2one('account.journal', 'Journal'),
'fiscalyear_id': fields.many2one('account.fiscalyear', 'Fiscal Year',required=True),
'sequence_id':fields.many2one('ir.sequence', 'Sequence',required=True),
}
fiscalyear_seq()
class account_invoice(osv.osv):
def _amount_all(self, cr, uid, ids, name, args, context=None):
res = {}
@ -409,7 +421,7 @@ class account_invoice(osv.osv):
for taxe in ait_obj.compute(cr, uid, id).values():
ait_obj.create(cr, uid, taxe)
# Update the stored value (fields.function), so we write to trigger recompute
self.pool.get('account.invoice').write(cr, uid, ids, {}, context=context)
self.pool.get('account.invoice').write(cr, uid, ids, {}, context=context)
return True
def button_compute(self, cr, uid, ids, context=None, set_total=False):
@ -646,10 +658,18 @@ class account_invoice(osv.osv):
cr.execute('SELECT id, type, number, move_id, reference ' \
'FROM account_invoice ' \
'WHERE id IN ('+','.join(map(str,ids))+')')
obj_inv = self.browse(cr, uid, ids)[0]
for (id, invtype, number, move_id, reference) in cr.fetchall():
if not number:
number = self.pool.get('ir.sequence').get(cr, uid,
'account.invoice.' + invtype)
flag = True
for seq in obj_inv.journal_id.fy_seq_id:
if seq.fiscalyear_id.id == obj_inv.move_id.period_id.fiscalyear_id.id:
number = self.pool.get('ir.sequence').get_id(cr, uid,seq.sequence_id.id)
flag = False
break
if flag:
number = self.pool.get('ir.sequence').get(cr, uid,
'account.invoice.' + invtype)
if invtype in ('in_invoice', 'in_refund'):
ref = reference
else:

View File

@ -163,7 +163,7 @@ class tax_report(rml_parse.rml_parse):
res = []
for code in tc.browse(self.cr, self.uid, ids, {'based_on': based_on}):
res.append(('a'*2*level,code))
res.append(('.'*2*level,code))
res += self._get_codes(based_on, code.id, level+1)
return res

View File

@ -80,3 +80,4 @@
"access_account_fiscal_position","account.fiscal.position all","model_account_fiscal_position","base.group_user",1,0,0,0
"access_account_fiscal_position_tax","account.fiscal.position.tax all","model_account_fiscal_position_tax","base.group_user",1,0,0,0
"access_account_fiscal_position_account","account.fiscal.position all","model_account_fiscal_position_account","base.group_user",1,0,0,0
"access_fiscalyear_seq","fiscalyear.seq","model_fiscalyear_seq","account.group_account_invoice",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
80 access_account_fiscal_position account.fiscal.position all model_account_fiscal_position base.group_user 1 0 0 0
81 access_account_fiscal_position_tax account.fiscal.position.tax all model_account_fiscal_position_tax base.group_user 1 0 0 0
82 access_account_fiscal_position_account account.fiscal.position all model_account_fiscal_position_account base.group_user 1 0 0 0
83 access_fiscalyear_seq fiscalyear.seq model_fiscalyear_seq account.group_account_invoice 1 1 1 1

View File

@ -1,11 +0,0 @@
This module provide a generic framework to define your own quality test.
All you have to do is to:
* create a folder with your test in 'base_module_quality' (e.g: mkdir base_module_quality\mytest)
* create a .py file in it with same name as the folder you just created (e.g: touch base_module_quality\mytest\mytest.py)
* edit your file and define a class 'quality_check' that
* inherits the class 'abstract_quality_test' (defined in base_module_quality.py)
* implements the __init__() method accordingly to what you want to test.

View File

@ -1,28 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import base_module_quality
import wizard
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,42 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': 'Base module quality',
'version': '1.0',
'category': 'Tiny Specific Modules/Base module quality',
'description': """This module's aim is to check the quality of other modules.
It defines a wizard on the list of modules in OpenERP, which allow you to evaluate them on different criteria such as: the respect of OpenERP coding standards, the speed efficiency...
This module also provides generic framework to define your own quality test. For further info, coders may take a look into base_module_quality\README.txt
""",
'author': 'Tiny',
'depends': ['base'],
'init_xml': [],
'update_xml': ['base_module_quality_wizard.xml', 'security/ir.model.access.csv'],
'installable': True,
'active': False,
'certificate': '75119475677',
}
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,142 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import pooler
import os
import osv
from tools import config
from tools.translate import _
class abstract_quality_check(object):
'''
This Class provides...
'''
def __init__(self):
'''
this method should initialize the var
'''
#This float have to store the rating of the module.
#Used to compute the final score (average of all scores).
#0 <= self.score <= 1
self.score = 0.0
#This char have to store the name of the test.
self.name = ""
#This char have to store the aim of the test and eventually a note.
self.note = ""
#This char have to store the result.
#Used to display the result of the test.
self.result = ""
#This char have to store the result with more details.
#Used to provide more details if necessary.
self.result_details = ""
#This bool defines if the test can be run only if the module
#is installed.
#True => the module have to be installed.
#False => the module can be uninstalled.
self.bool_installed_only = True
#This variable is used to give result of test more weight,
#because some tests are more critical than others.
self.ponderation = 1.0
#Specify test got an error on module
self.error = False
#The tests have to subscribe itselfs in this list, that contains
#all the test that have to be performed.
self.tests = []
self.list_folders = os.listdir(config['addons_path'] +
'/base_module_quality/')
for item in self.list_folders:
self.item = item
path = config['addons_path']+'/base_module_quality/'+item
if os.path.exists(path + '/' + item + '.py') and item not in ['report', 'wizard', 'security']:
item2 = 'base_module_quality.' + item +'.' + item
x = __import__(item2)
x2 = getattr(x, item)
x3 = getattr(x2, item)
self.tests.append(x3)
# raise 'Not Implemented'
def run_test(self, cr, uid, module_path=""):
'''
this method should do the test and fill the score, result and result_details var
'''
raise osv.except_osv(_('Programming Error'), _('Test Is Not Implemented'))
def get_objects(self, cr, uid, module):
# This function returns all object of the given module..
pool = pooler.get_pool(cr.dbname)
ids2 = pool.get('ir.model.data').search(cr, uid,
[('module', '=', module), ('model', '=', 'ir.model')])
model_list = []
model_data = pool.get('ir.model.data').browse(cr, uid, ids2)
for model in model_data:
model_list.append(model.res_id)
obj_list = []
for mod in pool.get('ir.model').browse(cr, uid, model_list):
obj_list.append(str(mod.model))
return obj_list
def get_ids(self, cr, uid, object_list):
#This method return dictionary with ids of records of object for module
pool = pooler.get_pool(cr.dbname)
result_ids = {}
for obj in object_list:
ids = pool.get(obj).search(cr, uid, [])
result_ids[obj] = ids
return result_ids
def format_table(self, header=[], data_list=[]): #This function can work forwidget="text_wiki"
detail = ""
detail += (header[0]) % tuple(header[1])
frow = '\n|-'
for i in header[1]:
frow += '\n| %s'
for key, value in data_list.items():
detail += (frow) % tuple(value)
detail = detail + '\n|}'
return detail
def format_html_table(self, header=[], data_list=[]): #This function can work for widget="html_tag"
# function create html table....
detail = ""
detail += (header[0]) % tuple(header[1])
frow = '<tr>'
for i in header[1]:
frow += '<td>%s</td>'
frow += '</tr>'
for key, value in data_list.items():
detail += (frow) % tuple(value)
return detail
def add_quatation(self, x, y):
return x/y
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,79 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!--<wizard id="base_module_quality" model="ir.module.module" name="base.module.quality" string="Check the Quality of module"/>-->
<wizard id="quality_detail_save" model="ir.module.module" name="quality_detail_save" string="Report Save" menu="False"/>
<record id="view_wizard_quality_check_tree" model="ir.ui.view">
<field name="name">Results of Quality Checks</field>
<field name="model">wizard.quality.check</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Result">
<field name="name"/>
<field name="final_score"/>
</tree>
</field>
</record>
<record id="view_wizard_quality_check_form" model="ir.ui.view">
<field name="name">Results of Quality Checks</field>
<field name="model">wizard.quality.check</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Result">
<field name="name" readonly="1" search="1"/>
<field name="final_score" readonly="1" search="1"/>
<separator colspan="4" string="Tests"/>
<field name="test_ids" nolabel="1" colspan="4" height="350" width="800" readonly="1"/>
</form>
</field>
</record>
<record id="view_wizard_quality_detail_form" model="ir.ui.view">
<field name="name">Results of Quality Checks with detail</field>
<field name="model">quality.check.detail</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Result">
<notebook>
<page string="Summary">
<field name="name" readonly="1"/>
<field name="score" readonly="1"/>
<field name="note" readonly="1" colspan="4"/>
<field name="summary" widget="text_wiki" nolabel="1" colspan="4" height="350" width="800" readonly="1"/>
<field name="ponderation" readonly="1"/>
<field name="state" readonly="1"/>
</page>
<page string="Detail">
<button name="%(quality_detail_save)d" string="Save Report" type="action"/>
<field name="detail" widget="text_html" nolabel="1" colspan="4" readonly="1"/>
</page>
</notebook>
</form>
</field>
</record>
<record id="view_wizard_quality_detail_tree" model="ir.ui.view">
<field name="name">Results of Quality Checks with detail</field>
<field name="model">quality.check.detail</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Result">
<field name="name" required="1"/>
<field name="state"/>
<field name="score" required="1"/>
<field name="ponderation"/>
</tree>
</field>
</record>
<wizard string="Quality Check"
model="ir.module.module"
name="create_quality_check_wiz"
id="create_quality_check_id"
menu="True"/>
</data>
</openerp>

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:00:15+0000\n"
"PO-Revision-Date: 2009-01-03 02:00:15+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:18:25+0000\n"
"PO-Revision-Date: 2009-01-03 02:18:25+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:00:56+0000\n"
"PO-Revision-Date: 2009-01-03 02:00:56+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Невалиден XML за преглед на архитектурата"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "Името на обекта трябва да започва с \"x_\" и да не съдържа никакви специални символи!"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:17:41+0000\n"
"PO-Revision-Date: 2009-01-03 02:17:41+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Neodgovarajući XML za arhitekturu prikaza!"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:01:35+0000\n"
"PO-Revision-Date: 2009-01-03 02:01:35+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "XML invàlid per a la definició de la vista!"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "El nom de l'objecte ha de començar amb x_ i no contenir cap caràcter especial!"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:04:15+0000\n"
"PO-Revision-Date: 2009-01-03 02:04:15+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:06:58+0000\n"
"PO-Revision-Date: 2009-01-03 02:06:58+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:13:59+0000\n"
"PO-Revision-Date: 2009-01-03 02:13:59+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:14:45+0000\n"
"PO-Revision-Date: 2009-01-03 02:14:45+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "¡XML inválido para la definición de la vista!"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "¡El nombre del objeto debe empezar con x_ y no contener ningún carácter especial!"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:05:36+0000\n"
"PO-Revision-Date: 2009-01-03 02:05:36+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Vigane vaate arhitektuuri XML!"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "Objekti nimi peab algama x_'ga ja ei tohi sisaldada ühtegi erisümbolit !"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:06:17+0000\n"
"PO-Revision-Date: 2009-01-03 02:06:17+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "XML non valide pour l'architecture de la vue"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "Le nom de l'objet doit commencer avec x_ et ne pas contenir de charactères spéciaux !"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:03:35+0000\n"
"PO-Revision-Date: 2009-01-03 02:03:35+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:07:39+0000\n"
"PO-Revision-Date: 2009-01-03 02:07:39+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:08:21+0000\n"
"PO-Revision-Date: 2009-01-03 02:08:21+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "XML non valido per Visualizzazione Architettura!"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "Il nome oggetto deve iniziare con x_ e non può contenere caratteri speciali !"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:09:02+0000\n"
"PO-Revision-Date: 2009-01-03 02:09:02+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:04:56+0000\n"
"PO-Revision-Date: 2009-01-03 02:04:56+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Ongeldige XML voor weergave opbouw"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "De objectnaam moet beginnen met x_ en mag geen speciale karakters bevatten !"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:09:43+0000\n"
"PO-Revision-Date: 2009-01-03 02:09:43+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "XML niewłaściwy dla tej architektury wyświetlania!"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "Nazwa obiektu musi zaczynać się od x_ oraz nie może zawierać znaków specjalnych !"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:10:25+0000\n"
"PO-Revision-Date: 2009-01-03 02:10:25+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Invalido XML para Arquitetura da View"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "O nome do objeto precisa iniciar com x_ e não conter nenhum caracter especial!"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:11:07+0000\n"
"PO-Revision-Date: 2009-01-03 02:11:07+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "XML inválido para a arquitectura de vista"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "O nome do objecto deve começar com x_ e não pode conter um caracter especial!"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:11:49+0000\n"
"PO-Revision-Date: 2009-01-03 02:11:49+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:12:32+0000\n"
"PO-Revision-Date: 2009-01-03 02:12:32+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Неправильный XML для просмотра архитектуры!"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "Название объекта должно начинаться с x_ и не должно содержать специальных символов !"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:13:15+0000\n"
"PO-Revision-Date: 2009-01-03 02:13:15+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Neveljaven XML za arhitekturo pogleda."
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "Naziv objekta se mora začeti z 'x_' in ne sme vsebovati posebnih znakov."
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:15:28+0000\n"
"PO-Revision-Date: 2009-01-03 02:15:28+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:16:12+0000\n"
"PO-Revision-Date: 2009-01-03 02:16:12+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Görüntüleme mimarisi için Geçersiz XML"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:16:57+0000\n"
"PO-Revision-Date: 2009-01-03 02:16:57+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr "Неправильний XML для Архітектури Вигляду!"
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr "Назва об'єкту має починатися з x_ і не містити ніяких спеціальних символів!"
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:02:15+0000\n"
"PO-Revision-Date: 2009-01-03 02:02:15+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,74 +0,0 @@
# Translation of OpenERP Server.
# This file containt the translation of the following modules:
# * base_module_quality
#
msgid ""
msgstr ""
"Project-Id-Version: OpenERP Server 5.0.0_rc3\n"
"Report-Msgid-Bugs-To: support@openerp.com\n"
"POT-Creation-Date: 2009-01-03 02:02:55+0000\n"
"PO-Revision-Date: 2009-01-03 02:02:55+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"
#. module: base_module_quality
#: field:quality.check.detail,general_info:0
msgid "General Info"
msgstr ""
#. module: base_module_quality
#: view:quality.check.detail:0
msgid "Summary"
msgstr ""
#. module: base_module_quality
#: constraint:ir.ui.view:0
msgid "Invalid XML for View Architecture!"
msgstr ""
#. module: base_module_quality
#: constraint:ir.model:0
msgid "The Object name must start with x_ and not contain any special character !"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,detail:0
#: view:quality.check.detail:0
msgid "Detail"
msgstr ""
#. module: base_module_quality
#: field:wizard.quality.check,verbose_detail:0
msgid "Verbose Detail"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_quality_check_detail
msgid "quality.check.detail"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
#: view:quality.check.detail:0
msgid "Result"
msgstr ""
#. module: base_module_quality
#: model:ir.model,name:base_module_quality.model_wizard_quality_check
msgid "wizard.quality.check"
msgstr ""
#. module: base_module_quality
#: view:wizard.quality.check:0
msgid "Verbose detail"
msgstr ""
#. module: base_module_quality
#: field:quality.check.detail,quality_check:0
msgid "Quality"
msgstr ""

View File

@ -1,24 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,84 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from tools.translate import _
from base_module_quality import base_module_quality
import pooler
class quality_test(base_module_quality.abstract_quality_check):
def __init__(self):
super(quality_test, self).__init__()
self.name = _("Method Test")
self.note = _("""
This test checks if the module classes are raising exception when calling basic methods or not.
""")
self.bool_installed_only = True
self.ponderation = 1.0
return None
def run_test(self, cr, uid, module_path):
pool = pooler.get_pool(cr.dbname)
module_name = module_path.split('/')[-1]
obj_list = self.get_objects(cr, uid, module_name)
ok_count = 0
ex_count = 0
result_dict = {}
for obj in obj_list:
temp = [obj]
try:
res = pool.get(obj).search(cr, uid, [])
temp.append(_('Ok'))
ok_count += 1
except:
temp.append(_('Exception'))
ex_count += 1
try:
res1 = pool.get(obj).fields_view_get(cr, uid,)
temp.append(_('Ok'))
ok_count += 1
except:
temp.append(_('Exception'))
ex_count += 1
try:
res2 = pool.get(obj).read(cr, uid, [])
temp.append(_('Ok'))
ok_count += 1
except:
temp.append(_('Exception'))
ex_count += 1
result_dict[obj] = temp
self.score = (ok_count + ex_count) and float(ok_count)/float(ok_count + ex_count) or 0.0
self.result = self.get_result(result_dict)
return None
def get_result(self, dict):
header = ('{| border="1" cellspacing="0" cellpadding="5" align="left" \n! %-40s \n! %-16s \n! %-20s \n! %-16s ', [_('Object Name'), 'search()', 'fields_view_get()', 'read()'])
detail = ""
if not self.error:
detail += self.format_table(header, dict)
return detail
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,26 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
#import pylint_test
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,99 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import os
from tools import config
from tools.translate import _
from base_module_quality import base_module_quality
class quality_test(base_module_quality.abstract_quality_check):
def __init__(self):
super(quality_test, self).__init__()
self.name = _("Pylint Test")
self.note = _("""This test uses Pylint and checks if the module satisfies the coding standard of Python. See http://www.logilab.org/project/name/pylint for further info.\n """)
self.bool_installed_only = False
self.ponderation = 1.0
self.result = ""
self.result_details = ""
return None
def run_test(self, cr, uid, module_path):
config_file_path = config['addons_path']+'/base_module_quality/pylint_test/pylint_test_config.txt'
list_files = os.listdir(module_path)
for i in list_files:
path = os.path.join(module_path, i)
if os.path.isdir(path):
for j in os.listdir(path):
list_files.append(os.path.join(i, j))
n = 0
score = 0.0
dict = {}
self.result_details += '''<html>
<head>
<link rel="stylesheet" type="text/css" href="/tg_widgets/openerp/css/wiki.css" media="all">
</head>
<body>'''
for file in list_files:
if file.split('.')[-1] == 'py' and not file.endswith('__init__.py') and not file.endswith('__terp__.py'):
file_path = os.path.join(module_path, file)
try:
res = os.popen('pylint --rcfile=' + config_file_path + ' ' + file_path).read()
except:
self.result += _("Error. Is pylint correctly installed?")+"\n"
break
n += 1
# leftchar = -1
# while res[leftchar:leftchar+1] != ' ' and leftchar-1 <= 0:
# leftchar -= 1
# rightchar = -10
# while res[rightchar:rightchar+1] != '/' and rightchar+1 <= 0:
# rightchar += 1
try:
# score += float(res[leftchar+1:rightchar])
scr = res.split("Your code has been rated at")[1].split("</div>")[0].split("/")[0]
score += float(scr)
#self.result += file + ": " + res[leftchar+1:rightchar] + "/10\n"
dict[file] = [file, scr]
except:
score += 0
#self.result += file + ": "+_("Unable to parse the result. Check the details.")+"\n"
dict[file] = [file, _("Unable to parse the result. Check the details.")]
self.result_details += res.replace('''<div''', '''<div class="wikiwidget readonlyfield"''')
self.result_details += '</body></html>'
average_score = n and score / n or score
self.score = (max(average_score,0)) / 10
self.result = self.get_result(dict)
return None
def get_result(self, dict):
header = ('{| border="1" cellspacing="0" cellpadding="5" align="left" \n! %-40s \n! %-10s \n', [_('File Name'), _('Result (/10)')])
if not self.error:
return self.format_table(header, data_list=dict)
return ""
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,307 +0,0 @@
# lint Python modules using external checkers.
#
# This is the main checker controlling the other ones and the reports
# generation. It is itself both a raw checker and an astng checker in order
# to:
# * handle message activation / deactivation at the module level
# * handle some basic but necessary stats'data (number of classes, methods...)
#
[MASTER]
# Specify a configuration file.
#rcfile=
# Profiled execution.
profile=no
# Add <file or directory> to the black list. It should be a base name, not a
# path. You may set this option multiple times.
ignore=CVS
# Pickle collected data for later comparisons.
persistent=no
# Set the cache size for astng objects.
cache-size=500
# List of plugins (as comma separated values of python modules names) to load,
# usually to register additional checkers.
load-plugins=
[COMMANDS]
# Display a help message for the given message id and exit. The value may be a
# comma separated list of message ids.
#help-msg=
[MESSAGES CONTROL]
# Enable only checker(s) with the given id(s). This option conflict with the
# disable-checker option
#enable-checker=
# Enable all checker(s) except those with the given id(s). This option conflict
# with the disable-checker option
#disable-checker=
# Enable all messages in the listed categories.
#enable-msg-cat=
# Disable all messages in the listed categories.
#disable-msg-cat=
# Enable the message(s) with the given id(s).
#enable-msg=
# Disable the message(s) with the given id(s).
disable-msg=C0103,F0401,E0611,R0903,W0232,W0102,E1002,R0913,R0904
[REPORTS]
# set the output format. Available formats are text, parseable, colorized and
# html
output-format=html
# Include message's id in output
include-ids=yes
# Put messages in a separate file for each module / package specified on the
# command line instead of printing them on stdout. Reports (if any) will be
# written in a file name "pylint_global.[txt|html]".
files-output=no
# Tells wether to display a full report or only the messages
reports=yes
# Python expression which should return a note less than 10 (10 is the highest
# note).You have access to the variables errors warning, statement which
# respectivly contain the number of errors / warnings messages and the total
# number of statements analyzed. This is used by the global evaluation report
# (R0004).
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
# Add a comment according to your evaluation note. This is used by the global
# evaluation report (R0004).
comment=no
# Enable the report(s) with the given id(s).
#enable-report=
# Disable the report(s) with the given id(s).
#disable-report=
# checks for
# * unused variables / imports
# * undefined variables
# * redefinition of variable from builtins or from an outer scope
# * use of variable before assigment
#
[VARIABLES]
# Tells wether we should check for unused import in __init__ files.
init-import=no
# A regular expression matching names used for dummy variables (i.e. not used).
dummy-variables-rgx=_|dummy
# List of additional names supposed to be defined in builtins. Remember that
# you should avoid to define new builtins when possible.
additional-builtins=
# try to find bugs in the code using type inference
#
[TYPECHECK]
# Tells wether missing members accessed in mixin class should be ignored. A
# mixin class is detected if its name ends with "mixin" (case insensitive).
ignore-mixin-members=yes
# When zope mode is activated, consider the acquired-members option to ignore
# access to some undefined attributes.
zope=no
# List of members which are usually get through zope's acquisition mecanism and
# so shouldn't trigger E0201 when accessed (need zope=yes to be considered).
acquired-members=REQUEST,acl_users,aq_parent
# checks for :
# * doc strings
# * modules / classes / functions / methods / arguments / variables name
# * number of arguments, local variables, branchs, returns and statements in
# functions, methods
# * required module attributes
# * dangerous default values as arguments
# * redefinition of function / method / class
# * uses of the global statement
#
[BASIC]
# Required attributes for module, separated by a comma
required-attributes=
# Regular expression which should only match functions or classes name which do
# not require a docstring
no-docstring-rgx=__.*__
# Regular expression which should only match correct module names
module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$
# Regular expression which should only match correct module level names
const-rgx=(([A-Z_][A-Z1-9_]*)|(__.*__))$
# Regular expression which should only match correct class names
class-rgx=[A-Z_][a-zA-Z0-9]+$
# Regular expression which should only match correct function names
function-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct method names
method-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct instance attribute names
attr-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct argument names
argument-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct variable names
variable-rgx=[a-z_][a-z0-9_]{2,30}$
# Regular expression which should only match correct list comprehension /
# generator expression variable names
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
# Good variable names which should always be accepted, separated by a comma
good-names=i,j,k,ex,Run,_
# Bad variable names which should always be refused, separated by a comma
bad-names=foo,bar,baz,toto,tutu,tata
# List of builtins function names that should not be used, separated by a comma
bad-functions=map,filter,apply,input
# checks for
# * external modules dependencies
# * relative / wildcard imports
# * cyclic imports
# * uses of deprecated modules
#
[IMPORTS]
# Deprecated modules which should not be used, separated by a comma
deprecated-modules=regsub,string,TERMIOS,Bastion,rexec
# Create a graph of every (i.e. internal and external) dependencies in the
# given file (report R0402 must not be disabled)
import-graph=
# Create a graph of external dependencies in the given file (report R0402 must
# not be disabled)
ext-import-graph=
# Create a graph of internal dependencies in the given file (report R0402 must
# not be disabled)
int-import-graph=
# checks for :
# * methods without self as first argument
# * overridden methods signature
# * access only to existant members via self
# * attributes not defined in the __init__ method
# * supported interfaces implementation
# * unreachable code
#
[CLASSES]
# List of interface methods to ignore, separated by a comma. This is used for
# instance to not check methods defines in Zope's Interface base class.
ignore-iface-methods=isImplementedBy,deferred,extends,names,namesAndDescriptions,queryDescriptionFor,getBases,getDescriptionFor,getDoc,getName,getTaggedValue,getTaggedValueTags,isEqualOrExtendedBy,setTaggedValue,isImplementedByInstancesOf,adaptWith,is_implemented_by
# List of method names used to declare (i.e. assign) instance attributes.
defining-attr-methods=__init__,__new__,setUp
# checks for sign of poor/misdesign:
# * number of methods, attributes, local variables...
# * size, complexity of functions, methods
#
[DESIGN]
# Maximum number of arguments for function / method
max-args=5
# Maximum number of locals for function / method body
max-locals=15
# Maximum number of return / yield for function / method body
max-returns=6
# Maximum number of branch for function / method body
max-branchs=12
# Maximum number of statements in function / method body
max-statements=50
# Maximum number of parents for a class (see R0901).
max-parents=7
# Maximum number of attributes for a class (see R0902).
max-attributes=7
# Minimum number of public methods for a class (see R0903).
min-public-methods=2
# Maximum number of public methods for a class (see R0904).
max-public-methods=20
# checks for :
# * unauthorized constructions
# * strict indentation
# * line length
# * use of <> instead of !=
#
[FORMAT]
# Maximum number of characters on a single line.
max-line-length=80
# Maximum number of lines in a module
max-module-lines=1000
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
# tab).
indent-string=' '
# checks for similarities and duplicated code. This computation may be
# memory / CPU intensive, so you should disable it if you experiments some
# problems.
#
[SIMILARITIES]
# Minimum lines number of a similarity.
min-similarity-lines=4
# Ignore comments when computing similarities.
ignore-comments=yes
# Ignore docstrings when computing similarities.
ignore-docstrings=yes
# checks for:
# * warning notes in the code like FIXME, XXX
# * PEP 263: source code with non ascii character but no encoding declaration
#
[MISCELLANEOUS]
# List of note tags to take in consideration, separated by a comma.
notes=FIXME,XXX,TODO

View File

@ -1,3 +0,0 @@
"id","name","model_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_wizard_quality_check","wizard.quality.check","model_wizard_quality_check",,1,1,1,1
"access_quality_check_detail","quality.check.detail","model_quality_check_detail",,1,1,1,1
Can't render this file because it has a wrong number of fields in line 2.

View File

@ -1,24 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,121 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import netsvc
from osv import fields, osv
import os
from tools import config
from tools.translate import _
import pooler
import time
from base_module_quality import base_module_quality
class quality_test(base_module_quality.abstract_quality_check):
def __init__(self):
super(quality_test, self).__init__()
self.bool_installed_only = True
self.ponderation = 1.0
self.name = _("Speed Test")
self.note = _("""
This test checks the speed of the module. Note that at least 5 demo data is needed in order to run it.
""")
return None
def run_test(self, cr, uid, module_path):
pool = pooler.get_pool(cr.dbname)
module_name = module_path.split('/')[-1]
obj_list = self.get_objects(cr, uid, module_name)
obj_counter = 0
score = 0.0
obj_ids = self.get_ids(cr, uid, obj_list)
result_dict = {}
result_dict2 = {}
self.result_details += _("O(1) means that the number of SQL requests to read the object does not depand on the number of objects we are reading. This feature is hardly wished.\n")
for obj, ids in obj_ids.items():
obj_counter += 1
ids = ids[:100]
size = len(ids)
list2 = []
if size:
list = []
#we perform the operation twice, and count the number of queries in the second run. This allows to avoid the cache effect. (like translated terms that asks for more queries)
pool.get(obj).read(cr, uid, [ids[0]])
c = cr.count
pool.get(obj).read(cr, uid, [ids[0]])
code_base_complexity = cr.count - c
pool.get(obj).read(cr, uid, ids[:size/2])
c = cr.count
pool.get(obj).read(cr, uid, ids[:size/2])
code_half_complexity = cr.count - c
pool.get(obj).read(cr, uid, ids)
c = cr.count
pool.get(obj).read(cr, uid, ids)
code_size_complexity = cr.count - c
if size < 5:
list = [obj, size, code_base_complexity, code_half_complexity, code_size_complexity, _("Warning! Not enough demo data")]
list2 = [obj, _("No enough data")]
else:
if code_size_complexity <= (code_base_complexity + size):
complexity = _("O(1)")
score += 1
list2 = [obj, _("Efficient")]
else:
complexity = _("O(n) or worst")
list2 = [obj, _("Not Efficient")]
list = [obj, size, code_base_complexity, code_half_complexity, code_size_complexity, complexity]
else:
list = [obj, size, "", "", "", _("Warning! Object has no demo data")]
list2 = [obj, _("No data")]
result_dict[obj] = list
result_dict2[obj] = list2
self.score = obj_counter and score / obj_counter or 0.0
self.result_details += self.get_result_details(result_dict)
self.result += self.get_result(result_dict2)
return None
def get_result(self, dict):
header = ('{| border="1" cellspacing="0" cellpadding="5" align="left" \n! %-40s \n! %-10s', [_('Object Name'), _('Result')])
if not self.error:
return self.format_table(header, data_list=dict)
return ""
def get_result_details(self, dict):
str_html = '''<html><head></head><body><table border="1">'''
header = ('<tr><th>%s</th><th>%s</th><th>%s</th><th>%s</th><th>%s</th><th>%s</th></tr>', [_('Object Name'), _('N (Number of Records)'), _('1'), _('N/2'), _('N'), _('Reading Complexity')])
if not self.error:
res = str_html + self.format_html_table(header, data_list=dict) + '</table></body></html>'
return res
return ""
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,24 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,137 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import os
import tools
from tools.translate import _
from base_module_quality import base_module_quality
import pooler
import re
class quality_test(base_module_quality.abstract_quality_check):
def __init__(self):
super(quality_test, self).__init__()
self.name = _("Terp Test")
self.note = _("This test checks if the module satisfies the current coding standard used by OpenERP.")
self.bool_installed_only = False
self.no_terp = False
self.ponderation = 2
return None
def run_test_terp(self, cr, uid, module_path):
list_files = os.listdir(module_path)
current_module = module_path.split('/')[-1]
for i in list_files:
path = os.path.join(module_path, i)
if os.path.isdir(path):
for j in os.listdir(path):
list_files.append(os.path.join(i, j))
n = 0
score = 0.0
feel_good_factor = 0
feel_bad_factor = 0
if '__terp__.py' not in list_files:
self.no_terp = True
self.result += _("The module does not contain the __terp__.py file")
return None
terp_file = os.path.join(module_path,'__terp__.py')
res = eval(tools.file_open(terp_file).read())
terp_keys = ['category', 'name', 'description', 'author', 'website', 'update_xml', 'init_xml', 'depends', 'version', 'active', 'installable', 'demo_xml', 'certificate']
for key in terp_keys:
if key in res:
feel_good_factor += 1 # each tag should appear
if isinstance(res[key],(str,unicode)):
if not res[key]:
feel_bad_factor += 1
else:
if key == 'description' and res[key] and len(str(res[key])) >= 150: # no. of chars should be >=150
feel_good_factor += 1
if res['description'].count('\n') >= 4:# description contains minimum 5 lines
feel_good_factor += 1
if key == 'website':
ptrn = re.compile('https?://[\w\.]*') # reg ex matching on temporary basis.Website is correctly formatted
result = ptrn.search(str(res[key]))
if result:
feel_good_factor += 1
else:
feel_bad_factor += 1
if isinstance(res[key],bool):
if key == 'active':
if current_module != 'base':
if res[key]:
feel_bad_factor += 1
else:
if not res[key]:
feel_bad_factor += 1
if key == 'installable' and not res[key]: # installable tag is provided and False
feel_bad_factor +=1
else:
feel_bad_factor += 1
score = round((feel_good_factor) / float(feel_good_factor + feel_bad_factor),2)
return [_('__terp__.py file'), score]
def run_test(self, cr, uid, module_path):
terp_score = self.run_test_terp(cr, uid, module_path)
self.score = terp_score[1]
self.result = self.get_result({'__terp__.py': terp_score})
return None
def get_result(self, dict):
header = ('{| border="1" cellspacing="0" cellpadding="5" align="left" \n! %-40s \n! %-10s \n', [_('Object Name'), _('Result (/1)'),])
if not self.error:
return self.format_table(header, data_list=dict)
return ""
#~ def get_result(self, cr, uid, module_path, module_state):
#~ # self.run_test(cr, uid, module_path)
#~ # summary = "\n===TERP Test===:\n"
#~ if self.no_terp:
#~ summary += """
#~ The module does not contain the __terp__.py file.\n\n """
#~ # else:
#~ # summary += """
#~ # This test checks if the module satisfies the current coding standard for __terp__.py file used by OpenERP.
#~ # """ + "Score: " + str(self.score) + "/10\n"
#~ return summary
#~ def get_result_details(self):
#~ detail = "\n===TERP Test===\n" + self.result
#~ return detail
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,28 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import module_quality_check
import quality_save_report
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,133 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import wizard
import pooler
from osv import osv, fields
import tools
import os
from base_module_quality import base_module_quality
#TODO: add cheks: do the class quality_check inherits the class abstract_quality_check?
class wiz_quality_check(osv.osv):
_name = 'wizard.quality.check'
_columns = {
'name': fields.char('Rated Module', size=64, ),
'final_score': fields.char('Final Score (%)', size=10,),
'test_ids' : fields.one2many('quality.check.detail', 'quality_check_id', 'Tests',)
}
wiz_quality_check()
class quality_check_detail(osv.osv):
_name = 'quality.check.detail'
_columns = {
'quality_check_id': fields.many2one('wizard.quality.check', 'Quality'),
'name': fields.char('Name',size=128,),
'score': fields.float('Score (%)',),
'ponderation': fields.float('Ponderation',help='Some tests are more critical than others, so they have a bigger weight in the computation of final rating'),
'note': fields.text('Note',),
'summary': fields.text('Summary',),
'detail' : fields.text('Details',),
'state': fields.selection([('done','Done'),('skipped','Skipped'),], 'State', size=6, help='The test will be completed only if the module is installed or if the test may be processed on uninstalled module.'),
}
quality_check_detail()
class create_quality_check(wizard.interface):
def _create_quality_check(self, cr, uid, data, context={}):
pool = pooler.get_pool(cr.dbname)
objs = []
for id in data['ids']:
module_data = pool.get('ir.module.module').browse(cr, uid, id)
#list_folders = os.listdir(config['addons_path']+'/base_module_quality/')
abstract_obj = base_module_quality.abstract_quality_check()
score_sum = 0.0
ponderation_sum = 0.0
create_ids = []
for test in abstract_obj.tests:
ad = tools.config['addons_path']
if module_data.name == 'base':
ad = tools.config['root_path']+'/addons'
module_path = os.path.join(ad, module_data.name)
val = test.quality_test()
if not val.bool_installed_only or module_data.state=="installed":
val.run_test(cr, uid, str(module_path))
data = {
'name': val.name,
'score': val.score * 100,
'ponderation': val.ponderation,
'summary': val.result,
'detail': val.result_details,
'state': 'done',
'note': val.note,
}
create_ids.append((0,0,data))
score_sum += val.score * val.ponderation
ponderation_sum += val.ponderation
else:
data = {
'name': val.name,
'note': val.note,
'score': 0,
'state': 'skipped',
'summary': _("The module has to be installed before running this test.")
}
create_ids.append((0,0,data))
final_score = str(score_sum / ponderation_sum * 100) + "%"
data = {
'name': module_data.name,
'final_score': final_score,
'test_ids' : create_ids,
}
obj = pool.get('wizard.quality.check').create(cr, uid, data, context)
objs.append(obj)
return objs
def _open_quality_check(self, cr, uid, data, context):
obj_ids = self._create_quality_check(cr, uid, data, context)
return {
'domain': "[('id','in', ["+','.join(map(str,obj_ids))+"])]",
'name': _('Quality Check'),
'view_type': 'form',
'view_mode': 'tree,form',
'res_model': 'wizard.quality.check',
'type': 'ir.actions.act_window'
}
states = {
'init' : {
'actions' : [],
'result': {'type':'action', 'action':_open_quality_check, 'state':'end'}
}
}
create_quality_check("create_quality_check_wiz")
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -1,56 +0,0 @@
# -*- encoding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved
# $Id$
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
import wizard
from osv import osv
import pooler
from tools.translate import _
import base64
form_rep = '''<?xml version="1.0"?>
<form string="Standard entries">
<field name="module_file"/>
</form>'''
fields_rep = {
'module_file': {'string': 'Save report', 'type': 'binary', 'required': True},
}
def get_detail(self, cr, uid, datas, context={}):
data = pooler.get_pool(cr.dbname).get('quality.check.detail').browse(cr, uid, datas['id'])
data.detail = base64.encodestring(data.detail)
return {'module_file':data.detail}
class save_report(wizard.interface):
states = {
'init': {
'actions': [get_detail],
'result': {'type': 'form', 'arch':form_rep, 'fields':fields_rep, 'state':[('end','Cancel')]}
},
}
save_report('quality_detail_save')
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

View File

@ -335,7 +335,7 @@ msgstr "Révisions des Lots de Production"
#. module: stock
#: view:stock.location:0
msgid "Stock location"
msgstr "Emplacement de sotck"
msgstr "Emplacement de stock"
#. module: stock
#: field:stock.location,complete_name:0