Add Extrafields on PDF Models: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
Line 11: Line 11:
*[[Create a PDF document template]]
*[[Create a PDF document template]]
*[[Extrafields]]
*[[Extrafields]]
The extrafield used here for the example is:  '''my_extra'''


=Create a Complementary Attributes on Invoices Module=
=Create a Complementary Attributes on Invoices Module=
Line 173: Line 176:
Should be replace by :
Should be replace by :
<source lang="php">$outputlangs->convToOutputCharset($product->array_options['options_my_product_extra'])</source>
<source lang="php">$outputlangs->convToOutputCharset($product->array_options['options_my_product_extra'])</source>
Position of the extrafield in the pdf
Manage horizontal position $this->posxdesc-1 / $this->posxdesc+1
Manage vertical position  $tab_top-1  /  $tab_top+1
297

edits

Navigation menu