Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
344 Zobrazení

Hi,

Can you help me if you know of a module for version 16 that selects a batch with a configured expiration date and displays it on the point-of-sale invoice?


Or how can I inherit this field from stock.lot to add it to invoices?

Avatar
Zrušit
Autor Nejlepší odpověď

Thank you very much for your response.

Lo probaré en el POS ya que, como mencionó aquí, funciona con facturas regulares.


Gracias.

Avatar
Zrušit
Nejlepší odpověď

Puedes modificar la vista del reporte de la factura y poner el siguiente campo en la vista de la factura que deseas modificar.

 <td name="td_caducidad">
                                        <span t-field="line.product_id.expiration_time">22/10/2022</span>
                                    </td>

Así se vería en la vista del reporte.



Y este es el campo que estoy mostrando en la vista del reporte, es la versión 18, nada mas busca como se llama tu campo y ponle el nombre en base en el código que te proporciono.

Avatar
Zrušit