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

Merged from upstream 14 221008 01 #341

Open
wants to merge 383 commits into
base: 14.0
Choose a base branch
from

Conversation

JocelynVN
Copy link

@JocelynVN JocelynVN commented Oct 9, 2022

Conflicts:

  • .github/workflows/pre-commit.yml
  • .github/workflows/test.yml
  • .pre-commit-config.yaml
  • docs/API.html
  • docs/_static/basic.css
  • docs/_static/doctools.js
  • docs/_static/documentation_options.js
  • docs/_static/searchtools.js
  • docs/after_migration.html
  • docs/analyse.html
  • docs/analysis.html
  • docs/community.html
  • docs/coverage_legend.html
  • docs/development.html
  • docs/devfaq.html
  • docs/format.html
  • docs/genindex.html
  • docs/index.html
  • docs/intro.html
  • docs/migration_details.html
  • docs/migrationmanager.html
  • docs/modules100-110.html
  • docs/modules110-120.html
  • docs/modules120-130.html
  • docs/modules130-140.html
  • docs/modules50-60.html
  • docs/modules60-61.html
  • docs/modules61-70.html
  • docs/modules70-80.html
  • docs/modules80-90.html
  • docs/modules90-100.html
  • docs/objects.inv
  • docs/py-modindex.html
  • docs/search.html
  • docs/searchindex.js
  • docs/status.html
  • docs/xmlids.html
  • docsource/modules130-140.rst
  • openupgrade_framework/README.rst
  • openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_model.py
  • openupgrade_framework/odoo_patch/odoo/addons/base/models/ir_ui_view.py
  • openupgrade_framework/odoo_patch/odoo/api.py
  • openupgrade_framework/odoo_patch/odoo/modules/graph.py
  • openupgrade_framework/readme/DESCRIPTION.rst
  • openupgrade_framework/static/description/index.html
  • openupgrade_scripts/apriori.py
  • openupgrade_scripts/scripts/account/14.0.1.1/end-migration.py
  • openupgrade_scripts/scripts/account/14.0.1.1/post-migration.py
  • openupgrade_scripts/scripts/account/14.0.1.1/pre-migration.py
  • openupgrade_scripts/scripts/account/14.0.1.1/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/base/14.0.1.3/end-migration.py
  • openupgrade_scripts/scripts/base/14.0.1.3/post-migrate.py
  • openupgrade_scripts/scripts/base/14.0.1.3/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/base/14.0.1.3/upgrade_general_log.txt
  • openupgrade_scripts/scripts/calendar/14.0.1.0/post-migration.py
  • openupgrade_scripts/scripts/crm/14.0.1.2/pre-migration.py
  • openupgrade_scripts/scripts/crm/14.0.1.2/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/delivery/14.0.1.0/noupdate_changes.xml
  • openupgrade_scripts/scripts/fleet/14.0.0.1/noupdate_changes.xml
  • openupgrade_scripts/scripts/fleet/14.0.0.1/post-migration.py
  • openupgrade_scripts/scripts/fleet/14.0.0.1/pre-migration.py
  • openupgrade_scripts/scripts/fleet/14.0.0.1/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/hr_timesheet/14.0.1.0/noupdate_changes.xml
  • openupgrade_scripts/scripts/hr_timesheet/14.0.1.0/pre-migration.py
  • openupgrade_scripts/scripts/iap_crm/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/iap_mail/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/maintenance/14.0.1.0/noupdate_changes.xml
  • openupgrade_scripts/scripts/membership/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/mrp/14.0.2.0/noupdate_changes.xml
  • openupgrade_scripts/scripts/mrp/14.0.2.0/post-migration.py
  • openupgrade_scripts/scripts/mrp/14.0.2.0/pre-migration.py
  • openupgrade_scripts/scripts/mrp/14.0.2.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/payment_paypal/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/payment_stripe/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/point_of_sale/14.0.1.0.1/noupdate_changes.xml
  • openupgrade_scripts/scripts/point_of_sale/14.0.1.0.1/post-migration.py
  • openupgrade_scripts/scripts/point_of_sale/14.0.1.0.1/pre-migration.py
  • openupgrade_scripts/scripts/point_of_sale/14.0.1.0.1/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/portal_rating/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/product_expiry/14.0.1.0/post-migration.py
  • openupgrade_scripts/scripts/product_margin/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/project/14.0.1.1/post-migration.py
  • openupgrade_scripts/scripts/project/14.0.1.1/pre-migration.py
  • openupgrade_scripts/scripts/project_timesheet_holidays/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/purchase/14.0.1.2/noupdate_changes.xml
  • openupgrade_scripts/scripts/purchase_mrp/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/purchase_stock/14.0.1.2/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/sale_expense/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/sale_mrp/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/sale_project/14.0.1.0/pre-migration.py
  • openupgrade_scripts/scripts/sale_purchase/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/sale_stock/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/stock/14.0.1.1/noupdate_changes.xml
  • openupgrade_scripts/scripts/stock/14.0.1.1/post-migration.py
  • openupgrade_scripts/scripts/stock/14.0.1.1/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/stock_account/14.0.1.1/noupdate_changes.xml
  • openupgrade_scripts/scripts/website/14.0.1.0/post-migration.py
  • openupgrade_scripts/scripts/website_blog/14.0.1.0/noupdate_changes.xml
  • openupgrade_scripts/scripts/website_event_questions/14.0.1.1/pre-migration.py
  • openupgrade_scripts/scripts/website_event_questions/14.0.1.1/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/website_form/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/website_forum/14.0.1.0/noupdate_changes.xml
  • openupgrade_scripts/scripts/website_mass_mailing/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/website_profile/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/website_sale/14.0.1.0/noupdate_changes.xml
  • openupgrade_scripts/scripts/website_sale/14.0.1.0/post-migration.py
  • openupgrade_scripts/scripts/website_sale_wishlist/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/website_slides/14.0.2.2/post-migration.py
  • openupgrade_scripts/scripts/website_slides_forum/14.0.1.0/upgrade_analysis_work.txt
  • openupgrade_scripts/scripts/website_slides_survey/14.0.1.0/upgrade_analysis.txt
  • openupgrade_scripts/scripts/website_slides_survey/14.0.1.0/upgrade_analysis_work.txt

MiquelRForgeFlow and others added 30 commits March 28, 2022 11:24
[14.0][OU-ADD] sale_mrp: Nothing to do
[14.0][FIX] base: assure existing users can export
…_percent

[14.0][OU-ADD] sale_order_margin_percent: Merged sale_order_margin_percent to sale_margin.
…recalculation

[14.0][OU-ADD] sale_order_price_recalculation: Merged sale_order_price_recalculation to sale.
[14.0][OU-FIX] website: Allow cookiebar in multi-websites
Steps:
1. Create a customer invoice with USD
2. Register payment with EUR
3. A payment with EUR and move with USD are created
4. When migrated to add move_id field to account_payment, then payment's
currency is not correct, because payment's currency is inherit from move
Signed-off-by pedrobaeza
…econcile

[14.0][FIX] account: consider amount_currency in account.partial.reconcile
[14.0][FIX] account: correct move's currency
Currency is now mandatory for all the account.move.line records, so
there's certain part of the reconcile logic that relies on
amount_residual_currency when currency_id is set (independently of
which currency it is). Example:

https://github.com/odoo/odoo/blob/1569441f15adb0b6b2920483ba8a43ccc7845e61/addons/account/models/account_move.py#L4401

so we copy the residual amount as well as the currency on the filling.

TT35896
…al_currency

[14.0][OU-FIX] account: Fill amount_residual_currency as well
statement lines with no move

Steps for account payment:
1. Create a payment that is in draft state
2. Run migration
3. The payment that has been linked with journal entry, but journal
entry contains 4 journal items

Expeted: journal entry contains 2 journal items

Steps for statement lines:
1. Create a statement line that is in draft state
2. Run migration
3. The statement line that has been linked with journal entry, but
journal
entry contains 4 journal items

Expeted: journal entry contains 2 journal items
When migrating from Odoo 13.0 to Odoo 14.0, we need:
1. mapping payment_type from 'transfer' to 'inbound'/'outbound' for
account payment tranfer, because key `transfer` of `payment_type` is
deleted.
So we need set `is_internal_transfer` as `true` on account payment
transfer to indicate that it was an account payment transfer
2. On Odoo 13.0, when validating a account payment transfer, so 2
journal entries is created, equivalent to 1 receipt payment, and 1 send
payment on Odoo 14.0
So, on Odoo 14.0, we need create new counterpart payment with account
payment transfer
[FIX][14.0] account: process account payment transfer
…al_items

[FIX][14.0] account: duplicate journal items when filling account payment / statement line with no move
…nt_currency

[14.0][FIX] account: amount_currency being 0.0 in partial reconcile
@JocelynVN JocelynVN force-pushed the merged_from_upstream_14_221008_01 branch 19 times, most recently from ead6a89 to 843b86a Compare October 13, 2022 02:12
@JocelynVN JocelynVN changed the title [WIP]Merged from upstream 14 221008 01 Merged from upstream 14 221008 01 Oct 13, 2022
@JocelynVN JocelynVN force-pushed the merged_from_upstream_14_221008_01 branch 3 times, most recently from d2e255c to f165e55 Compare October 13, 2022 03:33
@JocelynVN JocelynVN requested a review from vietduc1989 October 14, 2022 06:35
@JocelynVN JocelynVN force-pushed the merged_from_upstream_14_221008_01 branch 3 times, most recently from 14dbd2d to 029f45d Compare October 14, 2022 07:04
@JocelynVN JocelynVN force-pushed the merged_from_upstream_14_221008_01 branch from 029f45d to 13c5fc6 Compare October 14, 2022 08:50
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.