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
- Activate the developer mode.
- Go to sales->customers.
- Select a customer.
- In the debug view select manage views
- Select res.partner.form and click edit
- Choose under which tab you would like to see the birthday displayed, and click on the + button
- Select birthdate from the pop up and click update
- 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.
I did this in my module and it works:
<record id="aaaa_id" model="ir.ui.view">
<field name="arch" type="xml">
<calendar string="Calendar" date_start="birthday" color="name_of _the_customer">
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/29/13, 10:26 AM|
|Seen: 997 times|
|Last updated: 3/16/15, 8:10 AM|