Coder Social home page Coder Social logo

Comments (3)

Mat-moran avatar Mat-moran commented on September 17, 2024 1

Ok this is not an extrange workflow, is not the expected way to remove an image.

I notice now that there is a cron job scheduled every day that execute _clean_storage_file so there is no need to do it manually in a normal workflow. But if you are in a testing phase you should take it into account, so you mind if I do a PR reflecting this in the README?

from storage.

simahawk avatar simahawk commented on September 17, 2024 1

I missed this. Well, yes, the idea is that you can delete images fast by archiving them.
Having this written in the readme would be nice, feel free to open a PR for this or any other improvement 😉
Feel free to reopen if needed.

from storage.

Mat-moran avatar Mat-moran commented on September 17, 2024

This is not an error or bug, sorry my fault.

but IMO is a strange workflow.

To remove completely the images from the backend S3 you need to execute the Clean Storage File action in the Files window and to do that you need to select at least one current file to be able to see the action menu.

  • It this method not apply when you delete an image for some reason?
  • If there is a reason... , It is not better to have a contextual button to run this method instead of have it inside the actions menu? Because this method is not related with any record in Files, it is just a method to remove in the remote backend the files that are not present in the odoo database

from storage.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.