-
-
Notifications
You must be signed in to change notification settings - Fork 874
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! fixup! fixup! fixup! Add module partner_tz
- Loading branch information
1 parent
b30b914
commit 6d085cd
Showing
4 changed files
with
9 additions
and
13 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
This module removes timezone default value on res.partner and display the field | ||
on form view. | ||
This module displays the timezone field on partner form view. | ||
Moreover it provides a few tools function in `tools/tz_utils.py`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
* Odoo default value for timezone field uses the tz set on the connected user. | ||
So if a user creates a partner located in a different timezone than his own, | ||
the created partner will be set in the user's timezone instead of having the | ||
timezone from its own location. | ||
Ideally, we should change this behaviour to get the timezone from the country | ||
and city of the partner when they are defined. | ||
http://www.geonames.org/export/web-services.html#timezone might be a good | ||
starting point. |