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

Remove box button #96

@HaGuesto

Description

@HaGuesto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature/outgoing donationAll tasks related to the process of outgoing donations like picking and delivery notesviewshtml css and bootstrap are mainly needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions