diff --git a/library_books/__init__.py b/library_books/__init__.py new file mode 100644 index 00000000..cc317d84 --- /dev/null +++ b/library_books/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# © 2016 Alessandro Martini, Trustcode +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from . import models diff --git a/library_books/__manifest__.py b/library_books/__manifest__.py new file mode 100644 index 00000000..42bd4700 --- /dev/null +++ b/library_books/__manifest__.py @@ -0,0 +1,22 @@ +# © 2016 Wellysson Melo, Trustcode +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + 'name': 'Library Books', + 'summary': """Module to register books""", + 'description': "Module to register books", + 'version': '11.0', + 'category': 'Tools', + 'author': 'Trustcode', + 'license': 'AGPL-3', + 'website': 'http://www.trustcode.com.br', + 'contributors': [ + 'Wellysson Melo ', + ], + 'data': [ + 'security/library_books_security.xml', + 'security/ir.model.access.csv', + 'views/scielo_livros_view.xml', + 'views/scielo_livros_menu.xml', + ], +} diff --git a/library_books/i18n/pt_BR.po b/library_books/i18n/pt_BR.po new file mode 100644 index 00000000..b78c8448 --- /dev/null +++ b/library_books/i18n/pt_BR.po @@ -0,0 +1,866 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * library_books +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2018-05-18 21:10+0000\n" +"PO-Revision-Date: 2018-05-18 21:10+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type_id_4814 +msgid "Access" +msgstr "Acesso" + +#. module: library_books +#: model:ir.ui.menu,name:library_books.menu_library_books_access_type +#: model:ir.ui.view,arch_db:library_books.library_books_access_type_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_view_search +msgid "Access Type" +msgstr "Access Type" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Amazon" +msgstr "Amazon" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_author_id +#: model:ir.ui.view,arch_db:library_books.library_books_view_search +msgid "Author" +msgstr "Autor" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_bisac +msgid "BISAC" +msgstr "BISAC" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_bisac_complem +msgid "BISAC Complement" +msgstr "BISAC Complement" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_is_backoffice +msgid "Backoffice" +msgstr "Backoffice" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Bibliomundi" +msgstr "Bibliomundi" + +#. module: library_books +#: model:ir.ui.menu,name:library_books.menu_books +#: model:ir.ui.menu,name:library_books.menu_library_books +msgid "Books" +msgstr "Books" + +#. module: library_books +#: model:res.groups,comment:library_books.group_library_books_category +#: model:res.groups,name:library_books.group_library_books_category +msgid "Category Library Books" +msgstr "Category Library Books" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Central Ebooks" +msgstr "Central Ebooks" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_chapters +msgid "Chapters" +msgstr "Chapters" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Comment here ..." +msgstr "Comment here ..." + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_comments +msgid "Comments" +msgstr "Comments" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Content Verification" +msgstr "Content Verification" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_cover_pages +msgid "Cover Pages" +msgstr "Cover Pages" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type_create_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_create_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type_create_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format_create_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_license_create_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting_create_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_type_create_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection_create_uid +msgid "Created by" +msgstr "Criado por" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type_create_date +#: model:ir.model.fields,field_description:library_books.field_library_books_create_date +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type_create_date +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format_create_date +#: model:ir.model.fields,field_description:library_books.field_library_books_license_create_date +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting_create_date +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_type_create_date +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection_create_date +msgid "Created on" +msgstr "Criado em" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "DOAB" +msgstr "DOAB" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_doi +msgid "DOI" +msgstr "DOI" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_content_verif_date +#: model:ir.model.fields,field_description:library_books.field_library_books_ipad_verif_date +#: model:ir.model.fields,field_description:library_books.field_library_books_kindle_verif_date +#: model:ir.model.fields,field_description:library_books.field_library_books_technical_verif_date +msgid "Date" +msgstr "Data" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_delivery_date +msgid "Delivery Date" +msgstr "Delivery Date" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Diary" +msgstr "Diary" + +#. module: library_books +#: model:ir.model.fields,help:library_books.field_library_books_doi +msgid "Digital Object Identifier" +msgstr "Digital Object Identifier" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_is_digitized +msgid "Digitized" +msgstr "Digitized" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type_display_name +#: model:ir.model.fields,field_description:library_books.field_library_books_display_name +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type_display_name +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format_display_name +#: model:ir.model.fields,field_description:library_books.field_library_books_license_display_name +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting_display_name +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_type_display_name +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection_display_name +msgid "Display Name" +msgstr "Nome exibido" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "EBSCO/EDS" +msgstr "EBSCO/EDS" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_edition +msgid "Edition" +msgstr "Edition" + +#. module: library_books +#: model:ir.model.fields,help:library_books.field_library_books_edition +msgid "Edition Number" +msgstr "Edition Number" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "ExLibris (Cousin)" +msgstr "ExLibris (Cousin)" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type_id +#: model:ir.ui.menu,name:library_books.menu_library_books_feedback_type +#: model:ir.ui.view,arch_db:library_books.library_books_feedback_type_view_form +msgid "Feedback Type" +msgstr "Feedback Type" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format_id +#: model:ir.ui.menu,name:library_books.menu_library_books_files_format +#: model:ir.ui.view,arch_db:library_books.library_books_files_format_view_form +msgid "Files Format" +msgstr "Files Format" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Google PDF" +msgstr "Google PDF" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Google ePUB" +msgstr "Google ePUB" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_search +msgid "Group By" +msgstr "Agrupar Por" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_has_parts +msgid "Has Parts?" +msgstr "Has Parts?" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_has_printed +msgid "Has Printed" +msgstr "Has Printed" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_highlights_date +msgid "Highlights Date" +msgstr "Highlights Date" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type_id +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type_id_4826 +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format_id_4838 +#: model:ir.model.fields,field_description:library_books.field_library_books_id +#: model:ir.model.fields,field_description:library_books.field_library_books_license_id +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting_id +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_type_id +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection_id_4817 +msgid "ID" +msgstr "ID" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_isbn +msgid "ISBN" +msgstr "ISBN" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Indexing" +msgstr "Indexing" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_search +msgid "Is Paid" +msgstr "Is Paid" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_search +msgid "Is Published" +msgstr "Is Published" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "JSTOR" +msgstr "JSTOR" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_kbart_file +msgid "KBART" +msgstr "KBART" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_kbart_filename +msgid "KBART file name" +msgstr "KBART file name" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_keywords +msgid "Keywords" +msgstr "Keywords" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Kobo" +msgstr "Kobo" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books___last_update +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type___last_update +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type___last_update +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format___last_update +#: model:ir.model.fields,field_description:library_books.field_library_books_license___last_update +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting___last_update +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_type___last_update +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection___last_update +msgid "Last Modified on" +msgstr "Última modificação em" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type_write_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type_write_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format_write_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_license_write_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting_write_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_type_write_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection_write_uid +#: model:ir.model.fields,field_description:library_books.field_library_books_write_uid +msgid "Last Updated by" +msgstr "Última atualização por" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type_write_date +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type_write_date +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format_write_date +#: model:ir.model.fields,field_description:library_books.field_library_books_license_write_date +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting_write_date +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_type_write_date +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection_write_date +#: model:ir.model.fields,field_description:library_books.field_library_books_write_date +msgid "Last Updated on" +msgstr "Última atualização em" + +#. module: library_books +#: model:ir.actions.act_window,name:library_books.library_books_action +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Library Books" +msgstr "Library Books" + +#. module: library_books +#: model:ir.actions.act_window,name:library_books.library_books_access_type_action +#: model:ir.ui.view,arch_db:library_books.library_books_access_type_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_access_type_view_tree +msgid "Library Books Access Type" +msgstr "Library Books Access Type" + +#. module: library_books +#: model:ir.actions.act_window,name:library_books.library_books_feedback_type_action +#: model:ir.ui.view,arch_db:library_books.library_books_feedback_type_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_feedback_type_view_tree +msgid "Library Books Feedback Type" +msgstr "Library Books Feedback Type" + +#. module: library_books +#: model:ir.actions.act_window,name:library_books.library_books_files_format_action +#: model:ir.ui.view,arch_db:library_books.library_books_files_format_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_files_format_view_tree +msgid "Library Books Files Format" +msgstr "Library Books Files Format" + +#. module: library_books +#: model:ir.actions.act_window,name:library_books.library_books_license_action +#: model:ir.ui.view,arch_db:library_books.library_books_license_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_license_view_tree +msgid "Library Books License" +msgstr "Library Books License" + +#. module: library_books +#: model:ir.actions.act_window,name:library_books.library_books_meeting_action +#: model:ir.ui.view,arch_db:library_books.library_books_meeting_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_meeting_view_tree +msgid "Library Books Meeting" +msgstr "Library Books Meeting" + +#. module: library_books +#: model:ir.actions.act_window,name:library_books.library_books_publication_type_action +#: model:ir.ui.view,arch_db:library_books.library_books_publication_type_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_publication_type_view_tree +msgid "Library Books Publication Type" +msgstr "Library Books Publication Type" + +#. module: library_books +#: model:ir.actions.act_window,name:library_books.library_books_series_collection_action +#: model:ir.ui.view,arch_db:library_books.library_books_series_collection_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_series_collection_view_tree +msgid "Library Books Series/Collection" +msgstr "Library Books Series/Collection" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_tree +msgid "Library Books Tree" +msgstr "Library Books Tree" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_license_id_4805 +#: model:ir.ui.menu,name:library_books.menu_library_books_license +#: model:ir.ui.view,arch_db:library_books.library_books_license_view_form +msgid "License" +msgstr "Licença" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Marketing" +msgstr "Marketing" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Marking" +msgstr "Marking" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_markup_lot +msgid "Markup Lot" +msgstr "Markup Lot" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_markup_receipt_date +msgid "Markup Receipt Date" +msgstr "Markup Receipt Date" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting_id_4787 +#: model:ir.ui.menu,name:library_books.menu_library_books_meeting +#: model:ir.ui.view,arch_db:library_books.library_books_meeting_view_form +msgid "Meeting" +msgstr "Meeting" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Monthly" +msgstr "Monthly" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_access_type_name +#: model:ir.model.fields,field_description:library_books.field_library_books_feedback_type_name +#: model:ir.model.fields,field_description:library_books.field_library_books_files_format_name +#: model:ir.model.fields,field_description:library_books.field_library_books_license_name_4797 +#: model:ir.model.fields,field_description:library_books.field_library_books_meeting_name +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_type_name +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection_name +#: model:ir.ui.view,arch_db:library_books.library_books_access_type_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_feedback_type_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_files_format_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_license_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_meeting_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_publication_type_view_form +#: model:ir.ui.view,arch_db:library_books.library_books_series_collection_view_form +msgid "Name" +msgstr "Nome" + +#. module: library_books +#: model:ir.model.fields,help:library_books.field_library_books_isbn +msgid "National Standard Book Number" +msgstr "National Standard Book Number" + +#. module: library_books +#: selection:library.books,pdf_split:0 +msgid "Not Applicable" +msgstr "Not Applicable" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "OCLC (WorldCat)" +msgstr "OCLC (WorldCat)" + +#. module: library_books +#: selection:library.books,cover_pages:0 +#: selection:library.books,pdf_split:0 +msgid "OK" +msgstr "OK" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "OpenLibrary" +msgstr "OpenLibrary" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_original_publication_id +msgid "Original Pub." +msgstr "Original Pub." + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_search +msgid "Original Publication" +msgstr "Original Publication" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "PDF" +msgstr "PDF" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_pdf_split +msgid "PDF Split" +msgstr "PDF Split" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_pages +msgid "Pages" +msgstr "Pages" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_is_paid +msgid "Paid" +msgstr "Paid" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_prevision_date +msgid "Prevision Date" +msgstr "Prevision Date" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "ProQuest (Summon)" +msgstr "ProQuest (Summon)" + +#. module: library_books +#: selection:library.books,cover_pages:0 +#: selection:library.books,pdf_split:0 +msgid "Produce" +msgstr "Produce" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Production" +msgstr "Production" + +#. module: library_books +#: model:ir.model.fields,help:library_books.field_library_books_value_br_production +msgid "Production Cost (Real - Brazilian Coin)" +msgstr "Production Cost (Real - Brazilian Coin)" + +#. module: library_books +#: model:ir.model.fields,help:library_books.field_library_books_value_usd_production +msgid "Production Cost(USD - United States Dollar)" +msgstr "Production Cost(USD - United States Dollar)" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_provider_id +msgid "Provider" +msgstr "Fornecedor" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Publication" +msgstr "Publication" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_publication_date +#: model:ir.ui.view,arch_db:library_books.library_books_view_search +msgid "Publication Date" +msgstr "Publication Date" + +#. module: library_books +#: model:ir.ui.menu,name:library_books.menu_library_books_publication_type +#: model:ir.ui.view,arch_db:library_books.library_books_publication_type_view_form +msgid "Publication Type" +msgstr "Publication Type" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_is_published +msgid "Published" +msgstr "Published" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_publishing_company_id +msgid "Publishing Company" +msgstr "Publishing Company" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_original_publishing_company +msgid "Publishing Company(Orig. Name)" +msgstr "Publishing Company(Orig. Name)" + +#. module: library_books +#: model:ir.model.fields,help:library_books.field_library_books_value_br +msgid "Real (Brazilian Coin)" +msgstr "Real (Brazilian Coin)" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Receipt" +msgstr "Receipt" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_synopsis_reference +msgid "Reference" +msgstr "Referência" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_references_number +msgid "References Number" +msgstr "References Number" + +#. module: library_books +#: model:res.groups,name:library_books.group_employee +msgid "Register Book - Employee" +msgstr "Register Book - Employee" + +#. module: library_books +#: model:res.groups,name:library_books.group_manager +msgid "Register Book - Manager" +msgstr "Register Book - Manager" + +#. module: library_books +#: model:ir.ui.menu,name:library_books.menu_library_books_register +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Register Books" +msgstr "Register Books" + +#. module: library_books +#: model:ir.actions.act_window,help:library_books.library_books_access_type_action +msgid "Register the first access type" +msgstr "Register the first access type" + +#. module: library_books +#: model:ir.actions.act_window,help:library_books.library_books_feedback_type_action +msgid "Register the first feedback type" +msgstr "Register the first feedback type" + +#. module: library_books +#: model:ir.actions.act_window,help:library_books.library_books_files_format_action +msgid "Register the first files format" +msgstr "Register the first files format" + +#. module: library_books +#: model:ir.actions.act_window,help:library_books.library_books_license_action +msgid "Register the first license" +msgstr "Register the first license" + +#. module: library_books +#: model:ir.actions.act_window,help:library_books.library_books_meeting_action +msgid "Register the first meeting" +msgstr "Register the first meeting" + +#. module: library_books +#: model:ir.actions.act_window,help:library_books.library_books_publication_type_action +msgid "Register the first publication type" +msgstr "Register the first publication type" + +#. module: library_books +#: model:ir.actions.act_window,help:library_books.library_books_series_collection_action +msgid "Register the first series/collection" +msgstr "Register the first series/collection" + +#. module: library_books +#: model:ir.actions.act_window,help:library_books.library_books_action +msgid "Register the firtst book" +msgstr "Register the firtst book" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_release_year +msgid "Release Year" +msgstr "Release Year" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_request_date_doi +msgid "Request Date DOI" +msgstr "Request Date DOI" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_responsible_provider +msgid "Responsible Provider for Marking" +msgstr "Responsible Provider for Marking" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_sbid +msgid "SBID" +msgstr "SBID" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_amaz_publication_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_bibliomundi_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_central_ebooks_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_doab_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_ebsco_eds_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_epub_publication_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_exlibris_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_google_epub_publication_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_google_pdf_publication_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_jstor_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_kobo_publication_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_oclc_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_openlibrary_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_pdf_publication_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_proquest_send_date +#: model:ir.model.fields,field_description:library_books.field_library_books_send_date +msgid "Send Date" +msgstr "Send Date" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_send_date_markup +msgid "Send Date for Markup" +msgstr "Send Date for Markup" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_series_collection_id +msgid "Series/Colection" +msgstr "Series/Colection" + +#. module: library_books +#: model:ir.ui.menu,name:library_books.menu_library_books_series_collection +#: model:ir.ui.view,arch_db:library_books.library_books_series_collection_view_form +msgid "Series/Collection" +msgstr "Series/Collection" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_synopsis +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Synopsis" +msgstr "Synopsis" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Technical Verification" +msgstr "Technical Verification" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_name +msgid "Title" +msgstr "Título" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_value_usd +#: model:ir.model.fields,field_description:library_books.field_library_books_value_usd_production +msgid "USD" +msgstr "USD" + +#. module: library_books +#: model:ir.model.fields,help:library_books.field_library_books_value_usd +msgid "United States Dollar" +msgstr "United States Dollar" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_amaz_publication_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_bibliomundi_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_central_ebooks_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_doab_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_ebsco_eds_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_epub_publication_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_exlibris_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_google_epub_publication_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_google_pdf_publication_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_jstor_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_kobo_publication_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_oclc_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_openlibrary_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_pdf_publication_update_date +#: model:ir.model.fields,field_description:library_books.field_library_books_proquest_update_date +msgid "Update Date" +msgstr "Data de Atualização" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_content_verif_user +#: model:ir.model.fields,field_description:library_books.field_library_books_ipad_verif_user +#: model:ir.model.fields,field_description:library_books.field_library_books_kindle_verif_user +#: model:ir.model.fields,field_description:library_books.field_library_books_technical_verif_user +msgid "User" +msgstr "Usuário" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Verification" +msgstr "Verification" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Verification Date in Kindle" +msgstr "Verification Date in Kindle" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Verification on the iPad" +msgstr "Verification on the iPad" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_volume +msgid "Volume" +msgstr "Volume" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "Weekly" +msgstr "Weekly" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_with_panding +#: model:ir.ui.view,arch_db:library_books.library_books_view_search +msgid "With Panding" +msgstr "With Panding" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_eisbn +msgid "eISBN" +msgstr "eISBN" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_eisbn_order_lot +msgid "eISBN Order Lot" +msgstr "eISBN Order Lot" + +#. module: library_books +#: model:ir.ui.view,arch_db:library_books.library_books_view_form +msgid "ePUB" +msgstr "ePUB" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_is_epub_published +msgid "ePUB Published" +msgstr "ePUB Published" + +#. module: library_books +#: model:ir.model.fields,field_description:library_books.field_library_books_epub_version +msgid "ePUB Version" +msgstr "ePUB Version" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books +msgid "library.books" +msgstr "library.books" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books_access_type +msgid "library.books.access.type" +msgstr "library.books.access.type" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books_feedback_type +msgid "library.books.feedback.type" +msgstr "library.books.feedback.type" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books_files_format +msgid "library.books.files.format" +msgstr "library.books.files.format" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books_license +msgid "library.books.license" +msgstr "library.books.license" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books_meeting +msgid "library.books.meeting" +msgstr "library.books.meeting" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books_publication_type +msgid "library.books.publication.type" +msgstr "library.books.publication.type" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books_publishing_company +msgid "library.books.publishing.company" +msgstr "library.books.publishing.company" + +#. module: library_books +#: model:ir.model,name:library_books.model_library_books_series_collection +msgid "library.books.series.collection" +msgstr "library.books.series.collection" + +#. module: library_books +#: model:ir.model.fields,help:library_books.field_library_books_original_publishing_company +msgid "publishing company's original name" +msgstr "publishing company's original name" + diff --git a/library_books/models/__init__.py b/library_books/models/__init__.py new file mode 100644 index 00000000..9061c08b --- /dev/null +++ b/library_books/models/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import library_books diff --git a/library_books/models/library_books.py b/library_books/models/library_books.py new file mode 100644 index 00000000..bcfafb34 --- /dev/null +++ b/library_books/models/library_books.py @@ -0,0 +1,139 @@ +# © 2016 Wellysson Melo, Trustcode +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo import api, fields, models + + +class LibraryBooks(models.Model): + _name = 'library.books' + + name = fields.Char('Title', size=150, required='1') + author_id = fields.Many2one('res.partner', string='Author') + publishing_company_id = fields.Many2one('res.partner', string='Publishing Company', required='1') + original_publishing_company = fields.Char('Publishing Company(Orig. Name)', size=150, help="publishing company's original name") + edition = fields.Char('Edition', help="Edition Number", size=2, required='1') + release_year = fields.Integer('Release Year') + chapters = fields.Integer('Chapters') + pages = fields.Integer('Pages') + original_publication_id = fields.Many2one('library.books.publication.type', string='Original Pub.') + doi = fields.Char('DOI', size=150, help="Digital Object Identifier") + request_date_doi = fields.Date('Request Date DOI') + license_id = fields.Many2one('library.books.license', string='License') + is_paid = fields.Boolean('Paid') + meeting_id = fields.Many2one('library.books.meeting', string='Meeting') + sbid = fields.Char('SBID', size=20) + isbn = fields.Char('ISBN', size=20, help="National Standard Book Number") + eisbn = fields.Char('eISBN', size=20) + value_usd = fields.Float('USD', help="United States Dollar") + value_br = fields.Float('R$', help="Real (Brazilian Coin)") + access_type_id = fields.Many2one('library.books.access.type', string='Access') + series_collection_id = fields.Many2one('library.books.series.collection', string='Series/Colection') + with_panding = fields.Boolean('With Panding') + has_parts = fields.Boolean('Has Parts?') + is_published = fields.Boolean('Published') + publication_date = fields.Date('Publication Date') + comments = fields.Text('Comments') + feedback_type_id = fields.Many2one('library.books.feedback.type', string='Feedback Type') + files_format_id = fields.Many2one('library.books.files.format', string='Files Format') + has_printed = fields.Boolean('Has Printed') + is_digitized = fields.Boolean('Digitized') + is_backoffice = fields.Boolean('Backoffice') + pdf_split = fields.Selection([('not_applicable', 'Not Applicable'), ('ok', 'OK'), ('produce', 'Produce')], string='PDF Split') + cover_pages = fields.Selection([('ok', 'OK'), ('produce', 'Produce')], string='Cover Pages') + is_epub_published = fields.Boolean('ePUB Published') + epub_version = fields.Boolean('ePUB Version') + provider_id = fields.Many2one('res.partner', string='Provider') + value_usd_production = fields.Float('USD', help="Production Cost(USD - United States Dollar)") + value_br_production = fields.Float('R$', help="Production Cost (Real - Brazilian Coin)") + eisbn_order_lot = fields.Char('eISBN Order Lot') + send_date = fields.Date('Send Date') + prevision_date = fields.Date('Prevision Date') + delivery_date = fields.Date('Delivery Date') + technical_verif_date = fields.Date('Date') + technical_verif_user = fields.Many2one('res.partner', string='User') + content_verif_date = fields.Date('Date') + content_verif_user = fields.Many2one('res.partner', string='User') + kindle_verif_date = fields.Date('Date') + kindle_verif_user = fields.Many2one('res.partner', string='User') + ipad_verif_date = fields.Date('Date') + ipad_verif_user = fields.Many2one('res.partner', string='User') + pdf_publication_send_date = fields.Date('Send Date') + pdf_publication_update_date = fields.Date('Update Date') + epub_publication_send_date = fields.Date('Send Date') + epub_publication_update_date = fields.Date('Update Date') + amaz_publication_send_date = fields.Date('Send Date') + amaz_publication_update_date = fields.Date('Update Date') + kobo_publication_send_date = fields.Date('Send Date') + kobo_publication_update_date = fields.Date('Update Date') + google_epub_publication_send_date = fields.Date('Send Date') + google_epub_publication_update_date = fields.Date('Update Date') + google_pdf_publication_send_date = fields.Date('Send Date') + google_pdf_publication_update_date = fields.Date('Update Date') + bibliomundi_send_date = fields.Date('Send Date') + bibliomundi_update_date = fields.Date('Update Date') + openlibrary_send_date = fields.Date('Send Date') + openlibrary_update_date = fields.Date('Update Date') + ebsco_eds_send_date = fields.Date('Send Date') + ebsco_eds_update_date = fields.Date('Update Date') + central_ebooks_send_date = fields.Date('Send Date') + central_ebooks_update_date = fields.Date('Update Date') + proquest_send_date = fields.Date('Send Date') + proquest_update_date = fields.Date('Update Date') + exlibris_send_date = fields.Date('Send Date') + exlibris_update_date = fields.Date('Update Date') + jstor_send_date = fields.Date('Send Date') + jstor_update_date = fields.Date('Update Date') + doab_send_date = fields.Date('Send Date') + doab_update_date = fields.Date('Update Date') + oclc_send_date = fields.Date('Send Date') + oclc_update_date = fields.Date('Update Date') + kbart_file = fields.Binary('KBART') + kbart_filename = fields.Char('KBART file name') + responsible_provider = fields.Many2one('res.partner', string="Responsible Provider for Marking") + markup_lot = fields.Char('Markup Lot') + volume = fields.Char('Volume') + references_number = fields.Integer('References Number') + send_date_markup = fields.Date('Send Date for Markup') + markup_receipt_date = fields.Date('Markup Receipt Date') + highlights_date = fields.Date('Highlights Date') + synopsis_reference = fields.Text('Reference') + synopsis = fields.Text('Synopsis') + keywords = fields.Text('Keywords') + bisac = fields.Char('BISAC', size=150) + bisac_complem = fields.Char('BISAC Complement', size=150) + +class LibraryBooksMeeting(models.Model): + _name = 'library.books.meeting' + + name = fields.Char('Name', size=50, required='1') + +class LibraryBooksPublicationType(models.Model): + _name = 'library.books.publication.type' + + name = fields.Char('Name', size=50, required='1') + +class LibraryBooksLicense(models.Model): + _name = 'library.books.license' + + name = fields.Char('Name', size=150, required='1') + +class LibraryBooksAccessType(models.Model): + _name = 'library.books.access.type' + + name = fields.Char('Name', size=50, required='1') + +class LibraryBooksSeriesCollection(models.Model): + _name = 'library.books.series.collection' + + name = fields.Char('Name', size=150, required='1') + +class LibraryBooksFeedbackType(models.Model): + _name = 'library.books.feedback.type' + + name = fields.Char('Name', size=50, required='1') + +class LibraryBooksFilesFormat(models.Model): + _name = 'library.books.files.format' + + name = fields.Char('Name', size=50, required='1') + diff --git a/library_books/security/ir.model.access.csv b/library_books/security/ir.model.access.csv new file mode 100644 index 00000000..7fd33b89 --- /dev/null +++ b/library_books/security/ir.model.access.csv @@ -0,0 +1,18 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_register_book_manager,register.books.manager,model_library_books,group_manager,1,1,1,1 +access_register_meeting_manager,access.register.meeting.manager,model_library_books_meeting,group_manager,1,1,1,1 +access_register_publication_type_manager,access.register.publication.type.manager,model_library_books_publication_type,group_manager,1,1,1,1 +access_register_license_manager,access.register.license.manager,model_library_books_license,group_manager,1,1,1,1 +access_register_access_type_manager,access.register.access.type.manager,model_library_books_access_type,group_manager,1,1,1,1 +access_register_series_collection_manager,access.register.series.collection.manager,model_library_books_series_collection,group_manager,1,1,1,1 +access_register_feedback_type_manager,access.register.feedback.type.manager,model_library_books_feedback_type,group_manager,1,1,1,1 +access_register_files_format_manager,access.register.files.format.manager,model_library_books_files_format,group_manager,1,1,1,1 + +access_register_book_employee,register.books.employee,model_library_books,group_employee,1,1,1,0 +access_register_meeting_employee,access.register.meeting.employee,model_library_books_meeting,group_employee,1,1,1,0 +access_register_publication_type_employee,access.register.publication.type.employee,model_library_books_publication_type,group_employee,1,1,1,0 +access_register_license_employee,access.register.license.employee,model_library_books_license,group_employee,1,1,1,0 +access_register_access_type_employee,access.register.access.type.employee,model_library_books_access_type,group_employee,1,1,1,0 +access_register_series_collection_employee,access.register.series.collection.employee,model_library_books_series_collection,group_employee,1,1,1,0 +access_register_feedback_type_employee,access.register.feedback.type.employee,model_library_books_feedback_type,group_employee,1,1,1,0 +access_register_files_format_employee,access.register.files.format.employee,model_library_books_files_format,group_employee,1,1,1,0 diff --git a/library_books/security/library_books_security.xml b/library_books/security/library_books_security.xml new file mode 100644 index 00000000..8676adce --- /dev/null +++ b/library_books/security/library_books_security.xml @@ -0,0 +1,20 @@ + + + + Category Library Books + Category Library Books + + + + + Register Book - Manager + + + + + + Register Book - Employee + + + + \ No newline at end of file diff --git a/library_books/views/scielo_livros_menu.xml b/library_books/views/scielo_livros_menu.xml new file mode 100644 index 00000000..f5b96b25 --- /dev/null +++ b/library_books/views/scielo_livros_menu.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/library_books/views/scielo_livros_view.xml b/library_books/views/scielo_livros_view.xml new file mode 100644 index 00000000..0fd3e143 --- /dev/null +++ b/library_books/views/scielo_livros_view.xml @@ -0,0 +1,745 @@ + + + + + library.books.form + library.books + +
+ +
+
+
+
+ + + + + + + + + +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + + + + + + +
+ + + +
+
+
+
+
+ + + + + + + + + + + + + + +
+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+ + + + +
+ + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+ +
+
+
+
+ +
+ +
+
+
+
+ + + library.books.tree + library.books + + + + + + + + + + + + + + + + + + + + library.books.search + library.books + + + + + + + + + + + + + + + + + + + + + + + + Library Books + library.books + form + tree,form + +

Register the firtst book

+
+
+ + + + library.books.meeting.form + library.books.meeting + +
+ + + +
+

+
+
+
+
+
+
+
+ + + library.books.meeting.tree + library.books.meeting + + + + + + + + + library.books.meeting.search + library.books.meeting + + + + + + + + + Library Books Meeting + library.books.meeting + form + tree,form + +

Register the first meeting

+
+
+ + + + library.books.publication.type.form + library.books.publication.type + +
+ + + +
+

+
+
+
+
+
+
+
+ + + library.books.publication.type.tree + library.books.publication.type + + + + + + + + + library.books.publication.type.search + library.books.publication.type + + + + + + + + + Library Books Publication Type + library.books.publication.type + form + tree,form + +

Register the first publication type

+
+
+ + + + library.books.license.form + library.books.license + +
+ + + +
+

+
+
+
+
+
+
+
+ + + library.books.license.tree + library.books.license + + + + + + + + + library.books.license.search + library.books.license + + + + + + + + + Library Books License + library.books.license + form + tree,form + +

Register the first license

+
+
+ + + + library.books.access.type.form + library.books.access.type + +
+ + + +
+

+
+
+
+
+
+
+
+ + + library.books.access.type.tree + library.books.access.type + + + + + + + + + library.books.access.type.search + library.books.access.type + + + + + + + + + Library Books Access Type + library.books.access.type + form + tree,form + +

Register the first access type

+
+
+ + + + library.books.series.collection.form + library.books.series.collection + +
+ + + +
+

+
+
+
+
+
+
+
+ + + library.books.series.collection.tree + library.books.series.collection + + + + + + + + + library.books.series.collection.search + library.books.series.collection + + + + + + + + + Library Books Series/Collection + library.books.series.collection + form + tree,form + +

Register the first series/collection

+
+
+ + + + library.books.feedback.type.form + library.books.feedback.type + +
+ + + +
+

+
+
+
+
+
+
+
+ + + library.books.feedback.type.tree + library.books.feedback.type + + + + + + + + + library.books.feedback.type.search + library.books.feedback.type + + + + + + + + + Library Books Feedback Type + library.books.feedback.type + form + tree,form + +

Register the first feedback type

+
+
+ + + + library.books.files.format.form + library.books.files.format + +
+ + + +
+

+
+
+
+
+
+
+
+ + + library.books.files.format.tree + library.books.files.format + + + + + + + + + library.books.files.format.search + library.books.files.format + + + + + + + + + Library Books Files Format + library.books.files.format + form + tree,form + +

Register the first files format

+
+
+