Skip to content

[16.0][FIX] shopfloor_reception: fix expiration dates time zone handling#1196

Open
nicolas-delbovier-acsone wants to merge 3 commits into
OCA:16.0from
acsone:16.0-fix-shopfloor_reception-gs1-lot-expiration-date
Open

[16.0][FIX] shopfloor_reception: fix expiration dates time zone handling#1196
nicolas-delbovier-acsone wants to merge 3 commits into
OCA:16.0from
acsone:16.0-fix-shopfloor_reception-gs1-lot-expiration-date

Conversation

@nicolas-delbovier-acsone

@nicolas-delbovier-acsone nicolas-delbovier-acsone commented Jun 26, 2026

Copy link
Copy Markdown

Following a first fix from: #1191

Reproduce the errors

  • Create a db with shopfloor_reception and shopfloor_gs1 installed
  • Make the tz of the warehouse's partner to something else than UTC

Error 1

Creating a lot from a GS1 scan does shift the time (e.g. you see "2026-12-31 01:00:00" in odoo instead of "2026-12-31 00:00:00")

Error 2

  • Create a lot by hand for 2026-12-31 00:00:00" through odoo UI
  • Scan the corresponding GS1 in the screen 'set_lot'
  • You get the "Lot already exists, different expiration date" error tough you should not since the date do match

@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @mmequignon, @JuMiSanAr,
some modules you are maintaining are being modified, check this out!

@OCA-git-bot OCA-git-bot added series:16.0 mod:shopfloor_reception Module shopfloor_reception labels Jun 26, 2026
@nicolas-delbovier-acsone

Copy link
Copy Markdown
Author

@jbaudoux

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

Labels

mod:shopfloor_reception Module shopfloor_reception series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants