Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ translations:
"f: acquisitions":
- rero_ils/acquisition/**/*
- rero_ils/modules/acq_accounts/**/*
- rero_ils/modules/acq_invoices/**/*
- rero_ils/modules/acq_order_lines/**/*
- rero_ils/modules/acq_orders/**/*
- rero_ils/modules/budgets/**/*
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ FROM python:3.9-slim-bullseye
RUN apt-get update -y && apt-get upgrade -y
RUN apt-get install --no-install-recommends -y git vim-tiny curl gcc gnupg libc6-dev procps imagemagick && rm -rf /var/lib/apt/lists/*
RUN pip install --upgrade setuptools wheel pip poetry
RUN poetry self add poetry-plugin-shell

# # uwsgi uwsgitop uwsgi-tools

Expand Down
5 changes: 4 additions & 1 deletion INSTALL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ among other things.
$ pyenv install 3.9.7
$ cd rero-ils
$ pyenv local 3.9.7
$ sudo pip install poetry
$ curl -sSL https://install.python-poetry.org | python3 -
$ optional: poetry self add poetry-plugin-shell

See: https://python-poetry.org/docs#installation for more detail.

Next, ``cd`` into the project directory and bootstrap the instance (this will install
all Python dependencies and build all static assets):
Expand Down
2 changes: 1 addition & 1 deletion RELEASE-NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2411,7 +2411,7 @@ Metadata
others).
- Renames person module into contribution module.
- Sorts the contribution roles in the document editor (with
``selectWithSort`` form option).
``select`` form option).
- Updates the conversion of documents with contribution references from
IdRef.
- Corrects MARC to JSON conversion for subjects.
Expand Down
1 change: 1 addition & 0 deletions babel.ini
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ extract_messages = $._, jQuery._
# Extraction from json files (schema, form)
[json: **.json]
keys_to_translate = ['^title$', '^label$', 'description', 'placeholder', 'name', 'add', '403', '.*Message', '^text$']
array_keys_to_translate = ['addon.*']
34 changes: 0 additions & 34 deletions data/acq_invoices.json

This file was deleted.

37 changes: 9 additions & 28 deletions data/acq_order_lines.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"priority": 0,
"quantity": 3,
"amount": 25,
"exchange_rate": 1,
"notes": [
{
"type": "staff_note",
Expand All @@ -23,15 +22,13 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/1"
},
"is_cancelled": false,
"send_now": true
"is_cancelled": false
},
{
"pid": "2",
"priority": 0,
"quantity": 15,
"amount": 5,
"exchange_rate": 1,
"notes": [
{
"type": "staff_note",
Expand All @@ -50,15 +47,13 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/1"
},
"is_cancelled": false,
"send_now": true
"is_cancelled": false
},
{
"pid": "3",
"priority": 0,
"quantity": 2,
"amount": 100,
"exchange_rate": 1,
"notes": [
{
"type": "staff_note",
Expand All @@ -77,15 +72,13 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/1"
},
"is_cancelled": false,
"send_now": true
"is_cancelled": false
},
{
"pid": "4",
"priority": 0,
"quantity": 5,
"amount": 10,
"exchange_rate": 1,
"acq_account": {
"$ref": "https://bib.rero.ch/api/acq_accounts/7"
},
Expand All @@ -98,15 +91,13 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/2"
},
"is_cancelled": false,
"send_now": true
"is_cancelled": false
},
{
"pid": "5",
"priority": 5,
"quantity": 1,
"amount": 100,
"exchange_rate": 1,
"notes": [
{
"type": "staff_note",
Expand All @@ -125,15 +116,13 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/2"
},
"is_cancelled": false,
"send_now": true
"is_cancelled": false
},
{
"pid": "6",
"priority": 1,
"quantity": 5,
"amount": 7,
"exchange_rate": 1,
"acq_account": {
"$ref": "https://bib.rero.ch/api/acq_accounts/14"
},
Expand All @@ -146,15 +135,13 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/3"
},
"is_cancelled": false,
"send_now": true
"is_cancelled": false
},
{
"pid": "7",
"priority": 1,
"quantity": 15,
"amount": 12,
"exchange_rate": 1,
"acq_account": {
"$ref": "https://bib.rero.ch/api/acq_accounts/20"
},
Expand All @@ -167,15 +154,13 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/4"
},
"is_cancelled": false,
"send_now": true
"is_cancelled": false
},
{
"pid": "8",
"priority": 1,
"quantity": 10,
"amount": 20,
"exchange_rate": 1,
"acq_account": {
"$ref": "https://bib.rero.ch/api/acq_accounts/4"
},
Expand All @@ -188,15 +173,13 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/1"
},
"is_cancelled": false,
"send_now": true
"is_cancelled": false
},
{
"pid": "9",
"priority": 0,
"quantity": 3,
"amount": 22,
"exchange_rate": 1,
"acq_account": {
"$ref": "https://bib.rero.ch/api/acq_accounts/2"
},
Expand All @@ -216,7 +199,6 @@
"priority": 0,
"quantity": 3,
"amount": 25,
"exchange_rate": 1,
"notes": [
{
"type": "staff_note",
Expand All @@ -235,7 +217,6 @@
"library": {
"$ref": "https://bib.rero.ch/api/libraries/1"
},
"is_cancelled": false,
"order_date": "2021-07-20"
"is_cancelled": false
}
]
16 changes: 6 additions & 10 deletions data/acq_orders.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"pid": "1",
"reference": "AOSTE-CANT1-POL-1",
"type": "monograph",
"currency": "EUR",
"notes": [
{
Expand All @@ -18,12 +17,12 @@
},
"organisation": {
"$ref": "https://bib.rero.ch/api/organisations/1"
}
},
"send_now": true
},
{
"pid": "2",
"reference": "AOSTE-CANT1-POL-2",
"type": "monograph",
"currency": "EUR",
"notes": [
{
Expand All @@ -39,12 +38,12 @@
},
"organisation": {
"$ref": "https://bib.rero.ch/api/organisations/1"
}
},
"send_now": true
},
{
"pid": "3",
"reference": "AOSTE-CANT2-POL-1",
"type": "monograph",
"currency": "EUR",
"notes": [
{
Expand All @@ -65,7 +64,6 @@
{
"pid": "4",
"reference": "AOSTE-AVISE-POL-1",
"type": "monograph",
"currency": "EUR",
"notes": [
{
Expand All @@ -86,7 +84,6 @@
{
"pid": "5",
"reference": "AOSTE-LYCEE-POL-1",
"type": "monograph",
"currency": "EUR",
"notes": [
{
Expand All @@ -107,7 +104,6 @@
{
"pid": "6",
"reference": "AOSTE-CANT1-POL-6",
"type": "monograph",
"currency": "EUR",
"library": {
"$ref": "https://bib.rero.ch/api/libraries/1"
Expand All @@ -122,7 +118,6 @@
{
"pid": "7",
"reference": "AOSTE-CANT1-POL-2021-1",
"type": "monograph",
"currency": "EUR",
"notes": [
{
Expand All @@ -138,6 +133,7 @@
},
"organisation": {
"$ref": "https://bib.rero.ch/api/organisations/1"
}
},
"send_now": true
}
]
2 changes: 0 additions & 2 deletions data/acq_receipts.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"$ref": "https://bib.rero.ch/api/acq_orders/1"
},
"reference": "AOSTE-CANT1-POL-1",
"exchange_rate": 1,
"notes": [
{
"type": "staff_note",
Expand All @@ -25,7 +24,6 @@
"$ref": "https://bib.rero.ch/api/acq_orders/7"
},
"reference": "AOSTE-CANT1-POL-2021-1",
"exchange_rate": 1,
"notes": [
{
"type": "staff_note",
Expand Down
32 changes: 0 additions & 32 deletions data/role_policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,38 +36,6 @@
"pro_acquisition_manager",
"pro_library_administrator"
],
"acin-access": [
"pro_full_permissions",
"pro_acquisition_manager",
"pro_library_administrator"
],
"acin-search": [
"pro_full_permissions",
"pro_read_only",
"pro_acquisition_manager",
"pro_library_administrator"
],
"acin-read": [
"pro_full_permissions",
"pro_read_only",
"pro_acquisition_manager",
"pro_library_administrator"
],
"acin-create": [
"pro_full_permissions",
"pro_acquisition_manager",
"pro_library_administrator"
],
"acin-update": [
"pro_full_permissions",
"pro_acquisition_manager",
"pro_library_administrator"
],
"acin-delete": [
"pro_full_permissions",
"pro_acquisition_manager",
"pro_library_administrator"
],
"acol-access": [
"pro_full_permissions",
"pro_acquisition_manager",
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading