Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
4042 Vistas

Hi Everyone, Is there a module or script, so I can see the birthdays of customers on a calendar or some place else in openerp v7?

thanks in advance! Regards

Avatar
Descartar

got the same problem. did you resolve this one??

Mejor respuesta

also look here 
https://www.odoo.com/forum/help-1/question/how-to-display-the-birthday-of-a-customer-in-calendar-solved-67467

Avatar
Descartar
Mejor respuesta
  1. Activate the developer mode.
  2. Go to sales->customers.
  3. Select a customer.
  4. In the debug view select manage views
  5. Select res.partner.form and click edit
  6. Choose under which tab you would like to see the birthday displayed, and click on the + button
  7. Select birthdate from the pop up and click update
  8. Save and close

please note that this is a text field in the database and not a date field. So getting to display in a calendar will not work, neither will auto emailing etc. This will require changes to the base field.

Avatar
Descartar
Mejor respuesta

I did this in my module and it works:

<record id="aaaa_id" model="ir.ui.view">
            <field name="name">calendar_aaaa</field>
            <field name="model">res.partner</field>
            <field name="type">calendar</field>
            <field name="arch" type="xml">
                <calendar string="Calendar" date_start="birthday" color="name_of _the_customer">
                    <field name="name_of_the_customer"/>
                </calendar>
            </field>
        </record>
       

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 25
614
2
jun 25
996
1
may 25
2546
1
abr 25
3699
3
ago 24
2771