Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Remove box button #96

Open
2 tasks
HaGuesto opened this issue Apr 5, 2019 · 0 comments
Open
2 tasks

Remove box button #96

HaGuesto opened this issue Apr 5, 2019 · 0 comments
Labels
feature/outgoing donation All tasks related to the process of outgoing donations like picking and delivery notes views html css and bootstrap are mainly needed

Comments

@HaGuesto
Copy link
Member

HaGuesto commented Apr 5, 2019

context

After creating a box, we want to be able to remove a box from the overview.

idea

Add a button and a wizard on the box overview screen, something like a "give box away" - button (name should maybe be changed)

ToDo

  • add a button in the box_view-view (NOT the template). Call box_view.xml from box_created.xml #95
  • show either a wizard / pop up, maybe the one above is just a drop down, where all possible locations - LOST, OUT maybe someone from the res.partner model - are shown.
    That's it the action is then a different task.

remarks

  • It involves a js event_listener which needs to be put on the first button. Maybe check the video odoo js example linked in the README first.
  • box_form.js needs to be refactored. It is not the best example which you should copy, but it works. Maybe try to understand it.
@HaGuesto HaGuesto added feature/outgoing donation All tasks related to the process of outgoing donations like picking and delivery notes views html css and bootstrap are mainly needed labels Apr 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature/outgoing donation All tasks related to the process of outgoing donations like picking and delivery notes views html css and bootstrap are mainly needed
Projects
None yet
Development

No branches or pull requests

1 participant