Skip to content

Error with Easypost on EndShipper Create #1145

Description

@TwinkieXLII

Module

The name of the module that has a bug. delivery-carrier module delivery_easypost_oca

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

for easypost-carrier-oca or odoo18

Steps to reproduce the behavior:

  1. Install module.
  2. Configure according to instructions
  3. While using the Test API, create a sales quote, with a user that has an address
  4. Adding Shipping does create the correct price and adds delivery product and creates delivery.
  5. When trying to validate the deliver and create the shipping label.

Invalid Operation

Error: easypost.endshipper.EndShipper.create() argument after ** must be a mapping, not Address
Error Body: No HTTP body available

Expected behavior
C

Additional context
Python 3.12
Odoo Version: 18.0 add1786eae

Log entries

WARNING 183088 3dplay.cloudpepper.site 2026-03-24 18:32:22,490 odoo.http Error: easypost.endshipper.EndShipper.create() argument after ** must be a mapping, not Address
Error Body: No HTTP body available
ERROR 183088 3dplay.cloudpepper.site 2026-03-24 18:32:22,481 odoo.addons.delivery_easypost_oca.models.easypost_request Failed to create end shipper: easypost.endshipper.EndShipper.create() argument after ** must be a mapping, not Address

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions