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

[17.2] Error using cross-company lots #162981

Open
chrisb-c01 opened this issue Apr 23, 2024 · 3 comments
Open

[17.2] Error using cross-company lots #162981

chrisb-c01 opened this issue Apr 23, 2024 · 3 comments
Labels
Logistics about stock, mrp, delivery, purchase OE the report is linked to a support ticket (opw-...)

Comments

@chrisb-c01
Copy link

chrisb-c01 commented Apr 23, 2024

Impacted versions:
17.2

Steps to reproduce:

  • Create 2 companies (Company A and Company B)
  • Enable inter-company transactions, synchronize SO and PO, auto-validate, Default receipt type = Receipt
  • Enable Lots & serials
  • Create a test product (Product 1) and enable 'Buy' route, add purchase vendor 'Company A' in Company B, add purchase vendor 'Vendor 1' in Company A
  • Create a SO in Company B and add Product 1 on the SO line, confirm the SO
  • Validate the created PO in Company B
  • Switch to Company A and confirm the created SO
  • Create a PO by running the replenishment (order once) and confirm the PO
  • Enter a Serial number on the Receipt in Company A and press 'Create and Edit'. Important: make sure to clear the company field on the Serial number form such that it becomes available to all companies. Confirm the receipt.
  • Switch to the Delivery Order in Company A and confirm the delivery
  • Switch to Company B and go to the Receipt on Inventory side, make sure the Serial number is displayed and confirm the receipt to put the item in stock.
  • Go to the Delivery Order and make sure the Serial number is mentioned as well. Validate the Delivery Order.

Current behavior:
A validation error is displayed 'The serial number has already been assigned: ..'.

Also, clearing the serial number field and re-adding the serial number throws another error:
'Unavailable Serial numbers. Please correct the serial numbers encoded:
(SN001) exists in location Partners/Customers
(SN001) exists in location Virtual Locations/Inter-company transit'

Expected behavior:
Delivery Order can be validated.

Video/Screenshot link (optional):

Support ticket number submitted via odoo.com/help (optional):
#3888376

@chrisb-c01
Copy link
Author

@clesgow as you have worked on #146458 this might be of interest to you.

@vava-odoo vava-odoo added OE the report is linked to a support ticket (opw-...) Logistics about stock, mrp, delivery, purchase labels Apr 30, 2024
@clesgow
Copy link
Contributor

clesgow commented May 29, 2024

@chrisb-c01 Apologies for the delay. I identified the cause of this issue and am currently working on a fix.

@chrisb-c01
Copy link
Author

@chrisb-c01 Apologies for the delay. I identified the cause of this issue and am currently working on a fix.

Much appreciated, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Logistics about stock, mrp, delivery, purchase OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

No branches or pull requests

3 participants