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

[16.0][MIG] stock_move_backdating #1594

Open
wants to merge 70 commits into
base: 16.0
Choose a base branch
from

Conversation

Saran440
Copy link
Member

@Saran440 Saran440 commented May 15, 2024

This PR migrated from version15 and enhance to supported backdate scrap

@Saran440 Saran440 force-pushed the 16.0-mig-stock_move_backdating branch from 5996980 to d49ebcc Compare May 15, 2024 11:00
@rousseldenis
Copy link
Contributor

/ocabot migration stock_move_backdating

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone May 16, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request May 16, 2024
70 tasks
@Saran440 Saran440 force-pushed the 16.0-mig-stock_move_backdating branch from 4eb6454 to 361ac67 Compare May 24, 2024 03:06
@rousseldenis
Copy link
Contributor

@Saran440 Could you fix pre-commit and enhance your commit messages ? Thanks

@alessandro-fiorino
Copy link

I've made a pull to fix the pre-commit errors ecosoft-odoo#2

pedrocs-exo and others added 25 commits August 1, 2024 16:20
Currently translated at 88.2% (15 of 17 strings)

Translation: stock-logistics-workflow-10.0/stock-logistics-workflow-10.0-stock_move_backdating
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-10-0/stock-logistics-workflow-10-0-stock_move_backdating/pt/
Co-authored-by: Denis Roussel <denis.roussel@acsone.eu>
Currently translated at 95.4% (21 of 22 strings)

Translation: stock-logistics-workflow-12.0/stock-logistics-workflow-12.0-stock_move_backdating
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_move_backdating/it/
Currently translated at 95.4% (21 of 22 strings)

Translation: stock-logistics-workflow-12.0/stock-logistics-workflow-12.0-stock_move_backdating
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_move_backdating/it/
Currently translated at 100.0% (22 of 22 strings)

Translation: stock-logistics-workflow-12.0/stock-logistics-workflow-12.0-stock_move_backdating
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_move_backdating/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: stock-logistics-workflow-12.0/stock-logistics-workflow-12.0-stock_move_backdating
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_move_backdating/
Currently translated at 100.0% (22 of 22 strings)

Translation: stock-logistics-workflow-12.0/stock-logistics-workflow-12.0-stock_move_backdating
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_move_backdating/it/
Currently translated at 100.0% (22 of 22 strings)

Translation: stock-logistics-workflow-12.0/stock-logistics-workflow-12.0-stock_move_backdating
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-workflow-12-0/stock-logistics-workflow-12-0-stock_move_backdating/it/
@Saran440 Saran440 force-pushed the 16.0-mig-stock_move_backdating branch from f7200b3 to ca8e33d Compare August 1, 2024 09:20
@Saran440
Copy link
Member Author

Saran440 commented Aug 1, 2024

@alessandro-fiorino Thank you for your contribution.
Now, I fixes it. Could you help review please?

@alessandro-fiorino
Copy link

It fails some test. I think the problem is in the test itself https://github.com/ecosoft-odoo/stock-logistics-workflow/blob/ca8e33d35f67f5716e349230eda9285074873212/stock_move_backdating/tests/common.py#L66
standard_price is enabled only if the product has variants.

@Saran440
Copy link
Member Author

Updated:

  • Change method update date in account move from _backdating_account_moves to _account_entry_move, Fixed for case backdating previous month it will error doesn't match date and sequence move
  • Fixed test script

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.