This question has been flagged
1 Reply
4863 Views

On the internet I saw how to make a form to upload files, but now as I do to be saved in the folders of Odoo9. If the PHP file does not work in the folders of odoo


           <div name="foto_a_subir" t-attf-class="form-group #{error and

'foto_a_subir' in error and 'has-error' or ''}">  

            <label class="col-md-3 col-sm-4 control-label"

for="foto_a_subir">Subir Foto</label>

            <div class="col-md-7 col-sm-8">

            <input type="file" class="form-control" name="foto_a_subir"

required="True" t-attf-value="#{foto_a_subir or ''}"/>

           </div>

       </div>

Avatar
Discard
Best Answer

Hi,

The file upload facility is already available in website slide, you can take reference of it.

You can also refer this: https://stackoverflow.com/questions/31906671/upload-files-in-odoo-web-form


Thanks

Avatar
Discard