Merge lp:~invitu/ocb-server/7.0 into lp:ocb-server
Proposed by
invitu
Status: | Rejected |
---|---|
Rejected by: | Stefan Rijnhart (Opener) |
Proposed branch: | lp:~invitu/ocb-server/7.0 |
Merge into: | lp:ocb-server |
Diff against target: |
12 lines (+1/-1) 1 file modified
openerp/addons/base/res/res_partner.py (+1/-1) |
To merge this branch: | bzr merge lp:~invitu/ocb-server/7.0 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | Disapprove | ||
Stefan Rijnhart (Opener) | functionally, migratory | Disapprove | |
Review via email: mp+169658@code.launchpad.net |
Description of the change
[IMP] fix-1191374 : birthdate field in res_partner should be "Date" instead of "Char"
To post a comment you must log in.
Hi Invitu,
in practice, you do not need a year of birth to congratulate a partner/customer on his birthday. Having this a date field, you would always need a year of birth which makes it more awkward to harvest this kind of information. Incorrect years of birth in your database are also more likely to occur, as you would always need to enter something for the year. This could lead to slightly embarrassing situations.
I do not think this is a good idea functionally, sorry. Apart from that, this change is likely to lose existing birthdates in the database with no clear way how to handle the potentially unstructured character of the current data in a migration script. In this case, you probably should create a custom module that replaces this field in your own databases.