Commit Graph
3 Commits
Author SHA1 Message Date
Thibault Delavallée 4592be3bfa [RENAME] event: type -> event_type_id
At last I will be able to remember that the type of an event is not
a string, but a m2o to event.type model.
2015-08-20 11:09:43 +02:00
Gaurav Panchal 43839a8433 [IMP] res_partner: address update
Simplify contact / addresses management. Contact now use the same
address as their parent. Invoice, delivery and other contacts
have their own address. Default contact is removed; the default
is now contact.

As contact automatically use the company address, and other types
use their own, use_parent_address field is removed, leading to
some simplification in the address management.

Also add company_type field, to have a selection field instead of a
boolean one when display company / person choice. This is an interface
field build on the is_company field, to create the minimum change
and avoid disturbing the logic based on is_company. When migrating
to the new API, its implementation will be cleaned.
2015-08-18 10:51:27 +02:00
Thibault Delavallée 0a2f036d46 [MOVE] event: reorganize files according to
the guidelines.

No change has been made in this commit, only file move and renaming.
2015-08-11 16:11:19 +02:00