Kuldeep Joshi(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind-addons1-kjo into
lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.
Requested reviews:
Naresh(OpenERP) (nch-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bugfixes-Ind-addons1-kjo/+merge/78540
Following change is done
1 Project/Reporting/Dashboard/Project Dashboard open the dashborad give error
ValueError: Invalid field 'uid' in domain expression ['&', ('uid', '=', 1),
('state', '=', 'open')]
2 Go to Knowledge/Configuration/Calendar/Calendar Collections in group by
click company Button
it's give a error AssertionError: Fields in 'groupby' must appear in the list
of fields to read
(perhaps it's missing in the list view?)
3 Go to Project/Long Term Planning/Project Phases and open a any demo data
form view after then in form right panel click Releated task so open new list
view and try to create a new record of releated task it's give a error like
"AttributeError: 'project.task' object has no attribute 'onchange_edit_all'"
4 make a sale order it's give a error in sale order line error like
"TypeError:
product_id_change() takes at most 18 arguments (19 given)"
5 Go to Tools/Surveys/Define Surveys/Surveys group by state and now select one
record and open a form view ok then try to open a list view of that record it's
give Error like "id"
6 Go to Tools/Emails/Templates and try to group by smtp server it's give a
Error
" AssertionError: Fields in 'groupby' must appear in the list of fields to
read (perhaps it's missing in the list view?)"
7 Go to Administration/Users/Groups and try to open a form view it's give a "
AttributeError View definition error for inherited view
'share.view_groups_form' on model 'res.groups': Element '<group
name="default_filters">' not found in parent view '%(parent_xml_id)s'"
8 Go to Sales/Sales/Opportunities and open for view and assignation tab fill
assign partner and click forward button it's give a View Error
9 Go to Project/Scrum/Product Backlogs now open form view click on convert to
task wizard one field is assign to put blank and click convert Button so it's
give TypeError: 'bool' object is unsubscriptable
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bugfixes-Ind-addons1-kjo/+merge/78540
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.
=== modified file 'caldav/caldav_view.xml'
--- caldav/caldav_view.xml 2011-09-17 11:03:17 +0000
+++ caldav/caldav_view.xml 2011-10-07 05:16:19 +0000
@@ -34,6 +34,7 @@
<field name="type"/>
<field name="calendar_collection"/>
<field name="storage_id"/>
+ <field name="company_id"/>
</tree>
</field>
</record>
=== modified file 'caldav/wizard/calendar_event_subscribe_view.xml'
--- caldav/wizard/calendar_event_subscribe_view.xml 2011-01-14 00:11:01 +0000
+++ caldav/wizard/calendar_event_subscribe_view.xml 2011-10-07 05:16:19 +0000
@@ -4,6 +4,7 @@
<record id="view_calendar_event_subscribe" model="ir.ui.view">
<field name="name">calendar.event.subscribe.form</field>
<field name="model">calendar.event.subscribe</field>
+ <field name="priority">16</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Subscribe to Remote Calendar">
@@ -23,6 +24,7 @@
<record id="view_calendar_event_subscribe_display" model="ir.ui.view">
<field name="name">calendar.event.subscribe.form.display</field>
<field name="model">calendar.event.subscribe</field>
+ <field name="priority">20</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Message...">
=== modified file 'crm_partner_assign/wizard/crm_forward_to_partner_view.xml'
--- crm_partner_assign/wizard/crm_forward_to_partner_view.xml 2011-09-25 01:48:42 +0000
+++ crm_partner_assign/wizard/crm_forward_to_partner_view.xml 2011-10-07 05:16:19 +0000
@@ -34,9 +34,6 @@
</group>
<separator string="" colspan="4"/>
<notebook colspan="4">
- <page string="Body">
- <field name="body" colspan="4" nolabel="1"/>
- </page>
<page string="Attachments">
<label string="Add here all attachments of the current document you want to include in the Email." colspan="4"/>
<field name="attachment_ids" colspan="4" nolabel="1"/>
=== modified file 'document/document.py'
--- document/document.py 2011-09-17 14:26:02 +0000
+++ document/document.py 2011-10-07 05:16:19 +0000
@@ -287,8 +287,6 @@
result = self._check_duplication(cr, uid, vals)
if not result:
domain = [
- ('res_id', '=', vals['res_id']),
- ('res_model', '=', vals['res_model']),
('datas_fname', '=', vals['datas_fname']),
]
attach_ids = self.search(cr, uid, domain, context=context)
=== modified file 'email_template/email_template_view.xml'
--- email_template/email_template_view.xml 2011-09-17 11:03:17 +0000
+++ email_template/email_template_view.xml 2011-10-07 05:16:19 +0000
@@ -110,6 +110,7 @@
<field name="arch" type="xml">
<tree string="Templates">
<field name="model_id"/>
+ <field name="mail_server_id"/>
<field name="name"/>
<field name="subject"/>
<field name="email_from"/>
@@ -138,7 +139,7 @@
</group>
<newline/>
<group expand="0" string="Group by...">
- <filter string="SMTP Server" domain="[]" context="{'group_by':'smtp_server_id'}" icon="terp-folder-orange"/>
+ <filter string="SMTP Server" domain="[]" context="{'group_by':'mail_server_id'}" icon="terp-folder-orange"/>
<separator orientation="vertical"/>
<filter string="Model" domain="[]" context="{'group_by':'model_id'}" icon="terp-accessories-archiver"/>
</group>
=== modified file 'project/report/project_report.py'
--- project/report/project_report.py 2011-01-14 00:11:01 +0000
+++ project/report/project_report.py 2011-10-07 05:16:19 +0000
@@ -126,6 +126,7 @@
_description = " Project vs hours"
_auto = False
_columns = {
+ 'uid':fields.many2one('res.users', 'User', readonly=True),
'project': fields.char('Project', size=128, required=True),
'remaining_hours': fields.float('Remaining Hours', readonly=True),
'planned_hours': fields.float('Planned Hours', readonly=True),
=== modified file 'project/report/project_report_view.xml'
--- project/report/project_report_view.xml 2011-09-20 10:58:29 +0000
+++ project/report/project_report_view.xml 2011-10-07 05:16:19 +0000
@@ -184,7 +184,7 @@
<field name="res_model">project.vs.hours</field>
<field name="view_type">form</field>
<field name="view_mode">graph,tree</field>
- <field name="domain">[('uid','=',uid),('state','=','open')]</field>
+ <field name="domain">[('uid','=',uid),('state','=','open')]</field>
<field name="view_id" ref="view_project_vs_remaining_hours_graph"/>
</record>
=== modified file 'project_caldav/project_caldav_view.xml'
--- project_caldav/project_caldav_view.xml 2011-01-14 00:11:01 +0000
+++ project_caldav/project_caldav_view.xml 2011-10-07 05:16:19 +0000
@@ -65,9 +65,7 @@
<field name="type">form</field>
<field name="arch" type="xml">
<field name="progress" position="after">
- <field name="recurrency"/>
- <field name="edit_all" attrs="{'invisible':[('recurrency','=', False)]}"
- on_change="onchange_edit_all(rrule_type,edit_all)"/>
+ <field name="recurrency"/>
</field>
</field>
</record>
=== modified file 'project_scrum/wizard/project_scrum_backlog_create_task.py'
--- project_scrum/wizard/project_scrum_backlog_create_task.py 2011-03-14 10:27:42 +0000
+++ project_scrum/wizard/project_scrum_backlog_create_task.py 2011-10-07 05:16:19 +0000
@@ -33,9 +33,8 @@
backlog_id = self.pool.get('project.scrum.product.backlog')
document_pool = self.pool.get('ir.attachment')
ids_task = []
-
data = self.read(cr, uid, ids, [], context=context)[0]
- data['user_id'] = data['user_id'][0]
+ data['user_id'] = data['user_id']
backlogs = backlog_id.browse(cr, uid, context['active_ids'], context=context)
result = mod_obj._get_id(cr, uid, 'project', 'view_task_search_form')
=== modified file 'share/share_view.xml'
--- share/share_view.xml 2011-08-03 08:16:20 +0000
+++ share/share_view.xml 2011-10-07 05:16:19 +0000
@@ -7,9 +7,9 @@
<field name="type">form</field>
<field name="inherit_id" ref="base.view_groups_form"/>
<field name="arch" type="xml">
- <group name="default_filters" position="inside">
+ <xpath expr="/form/field[@name='name']" position="after">
<field name="share"/>
- </group>
+ </xpath>
</field>
</record>
</data>
=== modified file 'survey/survey_view.xml'
--- survey/survey_view.xml 2011-09-24 09:10:37 +0000
+++ survey/survey_view.xml 2011-10-07 05:16:19 +0000
@@ -22,7 +22,6 @@
<field name="title" select="1"/>
<group col="6" colspan="6">
<field name="responsible_id"/>
- <field name="id" invisible="1"/>
<button name="%(action_view_survey_question_message)d" states="open,draft,close,cancel"
string="Test Survey" type="action" icon="gtk-new"
context="{'active':True,'survey_id': active_id}" attrs="{'invisible':[('id','=',0)]}"/>
=== modified file 'survey/wizard/survey_answer.py'
--- survey/wizard/survey_answer.py 2011-10-05 09:21:46 +0000
+++ survey/wizard/survey_answer.py 2011-10-07 05:16:19 +0000
@@ -569,6 +569,7 @@
#click first time on next button then increemnet on total start suvey
if not sur_name_read['store_ans']:
his_id = self.pool.get('survey.history').create(cr, uid, {'user_id': uid, \
+
'date': strftime('%Y-%m-%d %H:%M:%S'), 'survey_id': sur_name_read['survey_id'][0]})
survey_id = sur_name_read['survey_id'][0]
sur_rec = survey_obj.read(cr, uid, survey_id)
=== modified file 'survey/wizard/survey_selection.py'
--- survey/wizard/survey_selection.py 2011-09-27 20:28:43 +0000
+++ survey/wizard/survey_selection.py 2011-10-07 05:16:19 +0000
@@ -60,6 +60,7 @@
and survey_id=%s' % (uid,survey_id))
res = cr.fetchone()[0]
+
sur_rec = survey_obj.browse(cr,uid,survey_id,context=context)
if sur_rec.response_user and res >= sur_rec.response_user:
raise osv.except_osv(_('Warning !'),_("You can not give response for this survey more than %s times") % (user_limit))
=== modified file 'warning/warning.py'
--- warning/warning.py 2011-07-27 13:06:13 +0000
+++ warning/warning.py 2011-10-07 05:16:19 +0000
@@ -196,7 +196,7 @@
def product_id_change(self, cr, uid, ids, pricelist, product, qty=0,
uom=False, qty_uos=0, uos=False, name='', partner_id=False,
lang=False, update_tax=True, date_order=False, packaging=False,
- fiscal_position=False, flag=False):
+ fiscal_position=False, flag=False, context=None):
warning = {}
if not product:
return {'value': {'th_weight' : 0, 'product_packaging': False,
@@ -231,7 +231,7 @@
_inherit = 'purchase.order.line'
def product_id_change(self,cr, uid, ids, pricelist, product, qty, uom,
partner_id, date_order=False, fiscal_position=False, date_planned=False,
- name=False, price_unit=False, notes=False):
+ name=False, price_unit=False, notes=False, context=None):
warning = {}
if not product:
return {'value': {'price_unit': 0.0, 'name':'','notes':'', 'product_uom' : False}, 'domain':{'product_uom':[]}}
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp