{"push_id":952752799,"size":1,"distinct_size":1,"ref":"refs/heads/9.0","head":"a2d3d4d449acbd1c07d2a2ec1935193eabaaefcb","before":"3fcb70e3149546ccec7c9621a523841cef0c0ddb","commits":[{"sha":"a2d3d4d449acbd1c07d2a2ec1935193eabaaefcb","author":{"email":"8dd417b68ca1b41b9fae61f535fe0b5d847bdd55@odoo.com","name":"Denis Ledoux"},"message":"[FIX] ir_sequence: `range_` actually uses the range start date\n\nIn a sequence, `range_year` is supposed to be the year\nof the range beginning date:\n\n```\nWhen subsequences per date range are used,\nyou can prefix variables with 'range_' to use\nthe beginning of the range instead of the current date,\ne.g. %(range_year)s instead of %(year)s.\n```\n\nTherefore, for a sequence with ranges configured as:\n - 20150701 to 20160630\n - 20160701 to 20170630\n\nAn invoice confirmed on 20160101 must have `2015`\nas year when using `range_year`, and not `2016`.\n\nIf you would like the invoice effective date,\nyou must then use `year`, instead.\n\nWe add the `current_%` keys as well,\nin case some users absolutely want the\n`now` date instead of the effective date,\nbut it doesn't make much sense in the context\nof accounting.\n\nBesides, outside the context of the accounting,\n`year`, `month`, `date` etc is the `now` date.\n\nopw-649487","distinct":true,"url":"https://api.github.com/repos/pniederlag/odoo/commits/a2d3d4d449acbd1c07d2a2ec1935193eabaaefcb"}]}