← Back to team overview

openerp-india team mailing list archive

[Bug 1077026] [NEW] Calendar change name

 

Public bug reported:

Openerp 6.1 - Debian 6.0 - version of 20121102

Use of calendar view with :

  <record id="view_installation_calendar_planning" model="ir.ui.view">
   <field name="name">res.partner.installation.calendar.planning</field>
   <field name="model">res.partner.installation</field>
   <field name="type">calendar</field>
   <field name="priority" eval="2"/>
   <field name="arch" type="xml">
    <calendar string="Installation" date_start="date_heure_s_schedule" date_stop="date_heure_e_schedule"
       mode="week" color="worker_id">
     <field name="name"/>
     <field name="label_calendar"/>
    </calendar>
   </field>
  </record>

All work well.
But when move meeting on calendar, web send following values to write methode :
date_heure_s_schedule : ok
date_heure_e_schedule : ok
name : with the value of ( name + label_calendar )  and so modify the name of my installation.

Very big problem !!!

** Affects: openobject-addons
     Importance: Undecided
         Status: New

** Description changed:

  Openerp 6.1 - Debian 6.0 - version of 20121102
  
  Use of calendar view with :
  
- 		<record id="view_installation_calendar_planning" model="ir.ui.view">
- 			<field name="name">res.partner.installation.calendar.planning</field>
- 			<field name="model">res.partner.installation</field>
- 			<field name="type">calendar</field>
- 			<field name="priority" eval="2"/>
- 			<field name="arch" type="xml">
- 				<calendar string="Installation" date_start="date_heure_s_schedule" date_stop="date_heure_e_schedule" 
- 							mode="week" color="worker_id">
- 					<field name="name"/>
- 					<field name="label_calendar"/>
- 				</calendar>
- 			</field>
- 		</record>
+   <record id="view_installation_calendar_planning" model="ir.ui.view">
+    <field name="name">res.partner.installation.calendar.planning</field>
+    <field name="model">res.partner.installation</field>
+    <field name="type">calendar</field>
+    <field name="priority" eval="2"/>
+    <field name="arch" type="xml">
+     <calendar string="Installation" date_start="date_heure_s_schedule" date_stop="date_heure_e_schedule"
+        mode="week" color="worker_id">
+      <field name="name"/>
+      <field name="label_calendar"/>
+     </calendar>
+    </field>
+   </record>
  
  All work well.
  But when move meeting on calendar, web send following values to write methode :
  date_heure_s_schedule : ok
  date_heure_e_schedule : ok
- name : with the value of ( name + calendar )  and so modify the name of my installation.
+ name : with the value of ( name + label_calendar )  and so modify the name of my installation.
  
  Very big problem !!!

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1077026

Title:
  Calendar change name

Status in OpenERP Addons (modules):
  New

Bug description:
  Openerp 6.1 - Debian 6.0 - version of 20121102

  Use of calendar view with :

    <record id="view_installation_calendar_planning" model="ir.ui.view">
     <field name="name">res.partner.installation.calendar.planning</field>
     <field name="model">res.partner.installation</field>
     <field name="type">calendar</field>
     <field name="priority" eval="2"/>
     <field name="arch" type="xml">
      <calendar string="Installation" date_start="date_heure_s_schedule" date_stop="date_heure_e_schedule"
         mode="week" color="worker_id">
       <field name="name"/>
       <field name="label_calendar"/>
      </calendar>
     </field>
    </record>

  All work well.
  But when move meeting on calendar, web send following values to write methode :
  date_heure_s_schedule : ok
  date_heure_e_schedule : ok
  name : with the value of ( name + label_calendar )  and so modify the name of my installation.

  Very big problem !!!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1077026/+subscriptions


Follow ups

References