ir.sequence: skip expensive strftime functions

Bug #793104 reported by xrg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
In Progress
Undecided
xrg

Bug Description

At every get_id() call, we evaluate _process() twice, most usually without
the %(year)/%(month) etc. placeholders. Thus, we shall avoid precomputing
the strftime values for the dictionary.

In the future, %(ymd) should really be deprecated, as they are not well
bound to the data, rather they are current time. Sequence templates offer
a better implementation.

Tags: ir.sequence
xrg (xrg)
Changed in openobject-server:
assignee: nobody → xrg (xrg)
status: New → In Progress
Revision history for this message
xrg (xrg) wrote : Re: [Bug 793104] [NEW] ir.sequence: skip expensive strftime functions

On Sunday 05 June 2011, you wrote:
> Public bug reported:
>

Note: this bug report was produced by accident. I clicked the wrong commit
hash and it generated this instead of 793106. Still, a valid report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.