ribalta 0.4.5

Creator: railscoder56

Last updated:

0 purchases

ribalta 0.4.5 Image
ribalta 0.4.5 Images

Languages

Categories

Add to Cart

Description:

ribalta 0.4.5

This is a library for creating RiBa CBI documents starting from Odoo 12 data.
Table of contents


Installation
Usage
Known issues / Roadmap
Bug Tracker
License
Credits

Authors
Contributors





Installation
The library is available on PyPI and the suggested way of installing
it is by using pip:
pip install ribalta


Usage
Import the Document and Receipt classes:
from ribalta import Document, Receipt
Create and instance of the Document class passing the required data:
riba_doc = Document(
creditor_company = creditor_res_partner_obj,
creditor_bank_account = creditor_res_partner_bank_obj
)
Create a Receipt object for each receipt to be included in the CBI and
add it to the riba_doc:
rcpt_1 = Receipt(move_line_1, invoice_1, debtor_partner_1, debtor_bank_1)
rcpt_2 = Receipt(move_line_2, invoice_2, debtor_partner_2, debtor_bank_2)

riba_doc.add_receipt(rcpt_1)
riba_doc.add_receipt(rcpt_2)
Render the CBI document (the result of the rendering is a string):
cbi_str = riba_doc.render_cbi()
See the docstring for details about the required arguments.


Known issues / Roadmap
No known issues at the moment


Bug Tracker
Bugs are tracked on GitHub Issues.
In case of trouble, please check there if your issue has already been reported.
Do not contact contributors directly about support or help with technical issues.


License
License: LGPL-3


Credits

Authors

Didotech s.r.l.
SHS-AV s.r.l.



Contributors

Marco Tosato <[email protected]>

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.