OCA/account-financial-tools

[RFC] Migration v14 account_renumber

ChrisOForgeFlow opened this issue · 1 comments

Based on module account_renumber

https://github.com/OCA/account-financial-tools/tree/12.0/account_renumber

On v14 account.moves implements sequence.mixin

https://github.com/odoo/odoo/blob/14.0/addons/account/models/sequence_mixin.py

https://github.com/odoo/odoo/blob/a0d55d5971cfcfa1279bbbd6a7ee926f9dfea34b/addons/account/models/account_move.py#L35

This change behavior of sequence numbers, without using ir.sequence, and some localization use patterns to make own implementation of next number

On refund we can separate sequence

https://github.com/odoo/odoo/blob/a0d55d5971cfcfa1279bbbd6a7ee926f9dfea34b/addons/account/models/account_journal.py#L121

I think that we only can migrate numbers change on account.move by journal, with refund case, but we have some refactor to do

What do you think?

@ForgeFlow
@LoisRForgeFlow

This module will be depreciated