Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2674 Vues

Hello community!


Im ussing enterprise SH v16.0 I've designed my own label using ZPL code. My purpose is to use it on my delivery slip and shipping/delivery operations, showing information related to the order, like the product, quantity, destination, and other.


This is the aspect of it:




My problem is that I don't know how to create the report in Odoo to use it. 


I was trying to go trough (in developer mode on) settings => Technical => Reports, there I've created a new report called "Delivery Slip ZPL" as shown below: 




And on the QWEB Views i've pasted all my ZPL code, but it just doesn´t work






On expedition operations i can go to print => ZPL slip, it's shown there:




But I get an Error... 


The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
    at makeErrorFromResponse (https://fgarcesymant-pruebaspaquetes-pruebapaquetes-9450349.dev.odoo.com/web/assets/348-69dc70a/web.assets_backend.min.js:992:163)
    at decoder.onload (https://fgarcesymant-pruebaspaquetes-pruebapaquetes-9450349.dev.odoo.com/web/assets/348-69dc70a/web.assets_backend.min.js:980:7)

Does someone know how to use this kind of report using ZPL with odoo? 


First I want to be sure that I can print it, then I would do the integration with code to odoo fields... but now I need just to know how to print it.


Thanks in advance for your help, best regards,


Felipe

Avatar
Ignorer

Or what a breakthrough, let's see if you can solve this relevant problem

Auteur

Hello group, any thoughts about this solution?

Meilleure réponse

I'm not sure, but have you tried to duplicate your shipping Slip? I might be wrong but for other reports it works.

Tell us if it has been useful 

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
mai 23
1892
0
juin 22
1988
3
juil. 19
5903
2
mai 19
3369
0
mars 15
5017