Rest: Unit4bw, Unit4 Business World (Agresso)
by Vertel AB https://vertel.se/apps/odoo-rest/rest_unit4bwAvailability |
Odoo Online
Odoo.sh
On Premise
|
Community Apps Dependencies | Show |
Lines of code | 476 |
Technical Name |
rest_unit4bw |
License | AGPL-3 |
Website | https://vertel.se/apps/odoo-rest/rest_unit4bw |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Community Apps Dependencies | Show |
Lines of code | 476 |
Technical Name |
rest_unit4bw |
License | AGPL-3 |
Website | https://vertel.se/apps/odoo-rest/rest_unit4bw |
Record-keeping for Odoo
Keep all documents in one place

A diary is a register of an organization, where incoming, outgoing and prepared documents are registered. The purpose of diaries in the public sector is to create transparency according to the principle of openness. Record keeping in Sweden is regulated, among other things, by the Public Access to Information and Secrecy Act (SFS 2009: 400), which entered into force on 30 June 2009.
Record-keeping
Design labels using notation
Glabels uses a template for the label design and are using a special
notation, ${name}, for including fields from the database. When you
design your labels use a dummy csv-file for your model you want
to tie the report to and the format
"Text: coma separated Values
(CSV) with keys on line 1".
When the template is ready you can
upload it to the report-record (or include it in the xml-record if
you are building a module). There is a test report action that
also lists all fields for the choosen model.
Example of code for a module:
<report string="Sample Glabels" id="action_glabels_sample_report" model="res.partner" report_type="glabels" name="report_glabels.glabels_sample_report" /> <record id="action_glabels_sample_report" model="ir.actions.report.xml"> <field name="glabels_template" type="base64" file="report_glabels/sample.glabels" /> </record>
This module needs Glabel to be installed on the server (for Ubuntu:
sudo apt install glabels)
You can test your template (and installation) using glabels-batch-command:
glabels-3-batch -o <out-file> -l -C -i <csv-file> <your template.glabels>
This command are alike both on workstation and server.
Please log in to comment on this module