Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] account_move_name_sequence: Migration to 15.0 #1409

Closed
wants to merge 22 commits into from

Conversation

frahikLV
Copy link
Contributor

@frahikLV frahikLV commented May 25, 2022

No description provided.

alexis-via and others added 21 commits May 24, 2022 17:03
This module restores the good old behavior where journal entry numbers
were generated from a sequence configured on the journal.
Add post-install script to create a sequence for all existing journals
Update README accordingly
…ange_day

More info about:
 - odoo/odoo#91019

TODO: Revert this commit after it is merged
After remove required=True for journal.sequence_id field it is possible to post an invoice with misconfigured journal with empty sequence

So, this constraint will raise an error for this kind of cases since that using '/' could raise the unique constraint for all other moves
The required flag was wrong for sequence_id and refund_sequence_id

So, it was not possible to store any change in journal for journal different to sale and purchase
@frahikLV frahikLV mentioned this pull request May 25, 2022
31 tasks
@frahikLV
Copy link
Contributor Author

Hi @moylop260 I made the migration of the module, can you review it?

cc: @luisg123v

Note: Red on tests with odo + OCB not related to account_move_name_sequence module

@moylop260
Copy link
Contributor

@frahikLV

I think the red on tests are related with this module
Since I have already regenerated the stable branch pipeline and it is green

For v14.0 the account_move_sequence is a rebel module with account_sequence_option

So, the following commit was required:

It was thanks to Sbidoul help from comment:

For v15.0 I see account_move_force_removal failing but It could be related to unittest design

Could you check if it is rebel or if the unittests needs to be changed, please?

@luisg123v
Copy link

@frahikLV, Be careful with te branches used. You're merging 15.0 from vauxoo-dev into 15.0 of OCA

@frahikLV frahikLV deleted the branch OCA:15.0 May 25, 2022 21:13
@frahikLV frahikLV closed this May 25, 2022
@frahikLV frahikLV deleted the 15.0 branch May 25, 2022 21:13
@frahikLV frahikLV restored the 15.0 branch May 25, 2022 21:22
@frahikLV frahikLV deleted the 15.0 branch May 25, 2022 21:22
@luisg123v
Copy link

Superseded by #1410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants