Skip to content

O1527 batch allocation#15

Merged
james-opusvl merged 14 commits intoprodfrom
O1527
Mar 22, 2018
Merged

O1527 batch allocation#15
james-opusvl merged 14 commits intoprodfrom
O1527

Conversation

@PeterAlabaster
Copy link
Copy Markdown
Contributor

Included in this is a port of the old api allocation file.

Batch allocation is applied now to Nursing Shift Change and Nursing Re-Allocation wizards

To complete this we needed to:
A.) Port the file to make it easier to work with
B.) Make a custom boolean JS widget which writes the value of TRUE or FALSE to the database for nh.clinical.allocation so that it can be picked up later via the confirm allocation function, as this functonality doesn't happen as standard.
C.) Instead of using a batch wizard, add a new state to the existing model. We needed this as any python function which doesn't just return the relevant allocation wizards action results in the allocation wizard closing.
D.) Unfortunately some duplication of code due to odoo model inheritance not working as expected

@PeterAlabaster
Copy link
Copy Markdown
Contributor Author

PeterAlabaster commented Mar 18, 2018

Leaving this PR open, but deploying this branch to staging, after rebasing prod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants