---
title: "openepcis_connector_product_expiry: expiry dates as GS1 terms"
description: "A data-only bridge. Three mapping rows carry the dates Odoo's Expiration Dates app keeps on a lot: expiration date, best-before date, and an inactive sell-by row, into the per-instance catalog document under their GS1 names."
canonical_url: "https://preview.openepcis.io/docs/connectors/odoo/expiration-dates"
last_updated: "2026-11-25T08:55:00.794Z"
---

Odoo's Expiration Dates app (`product_expiry`) keeps three dates on a lot, and GS1 has a term for each of them. This addon consists of the three mapping rows that connect them and contains nothing else. The fields belong to `product_expiry` and the publishing is done by [`openepcis_connector_stock`](/docs/connectors/odoo/lots-and-serial-numbers); the bridge exists so that a database without Expiration Dates carries no mapping rows for fields it does not have.

<table>
<thead>
  <tr>
    <th>
      
    </th>
    
    <th>
      
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Module
      </strong>
    </td>
    
    <td>
      <code>
        openepcis_connector_product_expiry
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Depends on
      </strong>
    </td>
    
    <td>
      <code>
        openepcis_connector_stock
      </code>
      
      , <code>
        product_expiry
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Installs
      </strong>
    </td>
    
    <td>
      Automatically, once both are present
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Contains
      </strong>
    </td>
    
    <td>
      Data only: no Python, no views
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Source
      </strong>
    </td>
    
    <td>
      <a href="https://github.com/openepcis/openepcis-odoo/tree/18.0/openepcis_connector_product_expiry">
        openepcis-odoo
      </a>
      
       · LGPL-3
    </td>
  </tr>
</tbody>
</table>

## The three rows

<table>
<thead>
  <tr>
    <th>
      Odoo field on the lot
    </th>
    
    <th>
      GS1 term
    </th>
    
    <th>
      Shipped
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <em>
        Expiration Date
      </em>
      
       (<code>
        expiration_date
      </code>
      
      )
    </td>
    
    <td>
      <code>
        expirationDate
      </code>
    </td>
    
    <td>
      Active
    </td>
  </tr>
  
  <tr>
    <td>
      <em>
        Best before Date
      </em>
      
       (<code>
        use_date
      </code>
      
      )
    </td>
    
    <td>
      <code>
        bestBeforeDate
      </code>
    </td>
    
    <td>
      Active
    </td>
  </tr>
  
  <tr>
    <td>
      <em>
        Removal Date
      </em>
      
       (<code>
        removal_date
      </code>
      
      )
    </td>
    
    <td>
      <code>
        sellByDate
      </code>
    </td>
    
    <td>
      <strong>
        Inactive
      </strong>
    </td>
  </tr>
</tbody>
</table>

The first two agree with GS1 almost word for word. Odoo's expiration date is the date from which the goods may become dangerous, which is exactly GS1's definition of `expirationDate`, and Odoo itself labels the second field *Best before*.

The third row ships switched off. In Odoo the removal date is the day to take goods out of stock under first-expired-first-out, while GS1's `sellByDate` is the last day of sale at retail. The two are close, and whether they coincide is a judgement for the administrator who knows the business. If they mean the same thing for you, activate the row under **Settings → Technical → OpenEPCIS → Field mapping**.

Like every shipped mapping, these rows are starting points, marked so that an upgrade keeps your edits.
