Tryton Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(12)

Issue 56451002: tryton-env: Add ir.calendar for month and day (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 months, 3 weeks ago by ced
Modified:
2 months, 3 weeks ago
Reviewers:
pokoli, rietveld-bot, reviewbot
Visibility:
Public.

Description

This allows to replace time_locale and use the translation infrastructure instead. So it can be customized using the translation override or derivative languages. This provides also a standard base for modules that needs calendar month and day. issue7815

Patch Set 1 #

Patch Set 2 : Use ir.calendar in modules #

Total comments: 6

Patch Set 3 : Update to tip #

Patch Set 4 : Set default AM/PM value for language which does not specify (as it is latin ab.) #

Patch Set 5 : Update to tip #

Unified diffs Side-by-side diffs Delta from patch set Stats (+366 lines, -749 lines) Patch
M modules/account_invoice/payment_term.py View 1 2 3 4 7 chunks +45 lines, -39 lines 0 comments Download
M modules/account_invoice/view/payment_term_line_relativedelta_form.xml View 1 1 chunk +2 lines, -2 lines 0 comments Download
M modules/account_invoice/view/payment_term_line_relativedelta_list.xml View 1 1 chunk +2 lines, -2 lines 0 comments Download
M modules/account_invoice/view/payment_term_line_relativedelta_list_sequence.xml View 1 1 chunk +2 lines, -2 lines 0 comments Download
M modules/sale_subscription/CHANGELOG View 1 1 chunk +2 lines, -0 lines 0 comments Download
M modules/sale_subscription/recurrence.py View 1 2 3 4 3 chunks +25 lines, -11 lines 0 comments Download
M modules/sale_subscription/view/recurrence_rule_form.xml View 1 1 chunk +2 lines, -2 lines 0 comments Download
M modules/sale_subscription/view/recurrence_rule_list.xml View 1 1 chunk +1 line, -1 line 0 comments Download
M modules/stock_supply_day/CHANGELOG View 1 1 chunk +2 lines, -0 lines 0 comments Download
M modules/stock_supply_day/purchase.py View 1 4 chunks +30 lines, -19 lines 0 comments Download
M modules/stock_supply_day/tests/test_stock_supply_day.py View 1 2 chunks +3 lines, -1 line 0 comments Download
M modules/stock_supply_day/view/product_supplier_weekday_form.xml View 1 1 chunk +2 lines, -2 lines 0 comments Download
M modules/stock_supply_day/view/product_supplier_weekday_tree.xml View 1 1 chunk +1 line, -1 line 0 comments Download
M modules/stock_supply_day/view/product_supplier_weekday_tree_editable.xml View 1 1 chunk +1 line, -1 line 0 comments Download
M trytond/CHANGELOG View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M trytond/trytond/ir/__init__.py View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
A trytond/trytond/ir/calendar_.py View 1 1 chunk +59 lines, -0 lines 0 comments Download
A trytond/trytond/ir/calendar_.xml View 1 1 chunk +103 lines, -0 lines 0 comments Download
R trytond/trytond/ir/gen_time_locale.py View 1 1 chunk +0 lines, -57 lines 0 comments Download
M trytond/trytond/ir/ir.xml View 1 1 chunk +2 lines, -0 lines 0 comments Download
M trytond/trytond/ir/lang.py View 1 2 3 4 3 chunks +29 lines, -13 lines 0 comments Download
M trytond/trytond/ir/lang.xml View 1 18 chunks +36 lines, -0 lines 0 comments Download
R trytond/trytond/ir/time_locale.py View 1 1 chunk +0 lines, -588 lines 0 comments Download
M trytond/trytond/ir/tryton.cfg View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M trytond/trytond/ir/view/lang_form.xml View 1 1 chunk +4 lines, -0 lines 0 comments Download
M trytond/trytond/tests/test_ir.py View 1 1 chunk +8 lines, -8 lines 0 comments Download

Messages

Total messages: 19
ced
4 months, 3 weeks ago (2018-10-31 23:26:02 UTC) #1
reviewbot
https://codereview.tryton.org/56451002/diff/1/trytond/ir/__init__.py#newcode4 trytond/ir/__init__.py:4: F403 'from configuration import *' used; unable to detect undefined names https://codereview.tryton.org/56451002/diff/1/trytond/ir/__init__.py#newcode5 trytond/ir/__init__.py:5: ...
4 months, 3 weeks ago (2018-10-31 23:53:40 UTC) #2
ced
4 months, 1 week ago (2018-11-18 16:18:05 UTC) #3
reviewbot
https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/__init__.py#newcode4 trytond/trytond/ir/__init__.py:4: F403 'from configuration import *' used; unable to detect undefined names https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/__init__.py#newcode5 trytond/trytond/ir/__init__.py:5: ...
4 months, 1 week ago (2018-11-18 16:37:13 UTC) #4
pokoli
https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/lang.py File trytond/trytond/ir/lang.py (right): https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/lang.py#newcode41 trytond/trytond/ir/lang.py:41: am = fields.Char("AM") Should we add a help text? ...
3 months, 1 week ago (2018-12-17 19:13:31 UTC) #5
ced
https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/lang.xml File trytond/trytond/ir/lang.xml (right): https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/lang.xml#newcode99 trytond/trytond/ir/lang.xml:99: <field name="am"></field> On 2018/12/17 19:13:31, pokoli wrote: > I ...
3 months, 1 week ago (2018-12-17 20:07:18 UTC) #6
ced
3 months, 1 week ago (2018-12-17 22:13:02 UTC) #7
reviewbot
https://codereview.tryton.org/56451002/diff/40001/trytond/trytond/ir/__init__.py#newcode4 trytond/trytond/ir/__init__.py:4: F403 'from configuration import *' used; unable to detect undefined names https://codereview.tryton.org/56451002/diff/40001/trytond/trytond/ir/__init__.py#newcode5 trytond/trytond/ir/__init__.py:5: ...
3 months, 1 week ago (2018-12-17 22:47:01 UTC) #8
pokoli
https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/lang.xml File trytond/trytond/ir/lang.xml (right): https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/lang.xml#newcode99 trytond/trytond/ir/lang.xml:99: <field name="am"></field> On 2018/12/17 20:07:18, ced wrote: > On ...
3 months ago (2018-12-20 14:47:23 UTC) #9
ced
https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/lang.xml File trytond/trytond/ir/lang.xml (right): https://codereview.tryton.org/56451002/diff/20001/trytond/trytond/ir/lang.xml#newcode99 trytond/trytond/ir/lang.xml:99: <field name="am"></field> On 2018/12/17 20:07:18, ced wrote: > On ...
3 months ago (2018-12-20 15:06:15 UTC) #10
ced
3 months ago (2018-12-20 15:07:17 UTC) #11
reviewbot
https://codereview.tryton.org/56451002/diff/60001/trytond/trytond/ir/__init__.py#newcode4 trytond/trytond/ir/__init__.py:4: F403 'from configuration import *' used; unable to detect undefined names https://codereview.tryton.org/56451002/diff/60001/trytond/trytond/ir/__init__.py#newcode5 trytond/trytond/ir/__init__.py:5: ...
3 months ago (2018-12-20 15:18:25 UTC) #12
ced
2 months, 3 weeks ago (2018-12-29 14:44:10 UTC) #13
reviewbot
https://codereview.tryton.org/56451002/diff/80001/trytond/trytond/ir/__init__.py#newcode4 trytond/trytond/ir/__init__.py:4: F403 'from configuration import *' used; unable to detect undefined names https://codereview.tryton.org/56451002/diff/80001/trytond/trytond/ir/__init__.py#newcode5 trytond/trytond/ir/__init__.py:5: ...
2 months, 3 weeks ago (2018-12-29 15:21:10 UTC) #14
rietveld-bot_tryton.org
New changeset 6214609e0446 by Cédric Krier in branch 'default': Add ir.calendar for month and day ...
2 months, 3 weeks ago (2019-01-01 14:47:41 UTC) #15
rietveld-bot_tryton.org
New changeset 05d782c4aeb7 by Cédric Krier in branch 'default': Add ir.calendar for month and day ...
2 months, 3 weeks ago (2019-01-01 14:47:43 UTC) #16
rietveld-bot_tryton.org
New changeset c90d41cf3ccb by Cédric Krier in branch 'default': Add ir.calendar for month and day ...
2 months, 3 weeks ago (2019-01-01 14:47:50 UTC) #17
rietveld-bot_tryton.org
New changeset e3431889bb9d by Cédric Krier in branch 'default': Add ir.calendar for month and day ...
2 months, 3 weeks ago (2019-01-01 14:47:54 UTC) #18
rietveld-bot_tryton.org
2 months, 3 weeks ago (2019-01-01 14:48:00 UTC) #19
New changeset bb056d974811 by Cédric Krier in branch 'default':
Add ir.calendar for month and day
https://hg.tryton.org/tryton-env/rev/bb056d974811
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 0147766