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

10.0 fix point of sale bad invoice journal #2331

Conversation

legalsylvain
Copy link
Contributor

Description of the issue/feature this PR addresses:
The V10 introduce on pos.config a new journal field invoice_journal_id

Current behavior before PR:
The default function _default_invoice_journal is used to populate this new column. (see)
the journal ID will be wrong in a multi company context.

Fix
Added a pre-migration script to add the field, if not exist. (the field can exist if the module V8 pos_invoice_journal is installed)

CC : original authors : @JordiBForgeFlow, @MiquelRForgeFlow

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@legalsylvain legalsylvain added this to the 10.0 milestone May 3, 2020
@legalsylvain
Copy link
Contributor Author

Hi @MiquelRForgeFlow. could you update your review ?

thansk !

@legalsylvain
Copy link
Contributor Author

/ocabot merge

@OCA-git-bot
Copy link
Contributor

Hi @legalsylvain. Your command failed:

Required option bumpversion_mode for command merge. Possible values : major, minor, patch, nobump.

Ocabot commands

  • ocabot merge major|minor|patch|nobump

More information

@legalsylvain
Copy link
Contributor Author

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 10.0-ocabot-merge-pr-2331-by-legalsylvain-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 3ee95cb into OCA:10.0 Sep 1, 2020
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 3ee95cb. Thanks a lot for contributing to OCA. ❤️

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

Successfully merging this pull request may close these issues.

None yet

3 participants