49 lines
1.8 KiB
Python
49 lines
1.8 KiB
Python
{
|
|
'name': 'Fusion Accounting — Documents Bridge',
|
|
'version': '19.0.1.0.0',
|
|
'category': 'Accounting/Accounting',
|
|
'summary': 'Bridges the Documents app to Accounting: route scanned bills into vendor invoices.',
|
|
'description': """
|
|
Fusion Accounting — Documents Bridge
|
|
====================================
|
|
|
|
A Fusion-native replacement for Enterprise's ``documents_account`` module.
|
|
|
|
Adds:
|
|
|
|
- ``documents.document.move_id`` — Many2one to the linked accounting move.
|
|
- ``documents.document.is_invoice_candidate`` — computed flag for PDFs/images
|
|
not yet linked to a move.
|
|
- ``documents.document.action_create_invoice()`` — opens a wizard that
|
|
creates a draft vendor bill and copies the document's binary as an
|
|
attachment on the new ``account.move``.
|
|
- ``account.move.source_document_ids`` — reverse linkage with a stat button
|
|
on the invoice form.
|
|
- A ``fusion.create.invoice.from.document.wizard`` model + form view.
|
|
- A server action bound to ``documents.document`` so the workflow is
|
|
reachable from the Documents Actions menu (the Documents app uses
|
|
kanban/list views without a regular form view to inherit from).
|
|
|
|
Auto-installs when ``documents`` and ``fusion_accounting_core`` are both
|
|
present.
|
|
""",
|
|
'author': 'Nexa Systems Inc.',
|
|
'license': 'LGPL-3',
|
|
'depends': [
|
|
'fusion_accounting_core',
|
|
'account',
|
|
'documents',
|
|
],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'wizards/create_invoice_from_document_views.xml',
|
|
'views/documents_document_views.xml',
|
|
'views/account_move_views.xml',
|
|
'data/server_actions_data.xml',
|
|
],
|
|
'auto_install': ['documents', 'fusion_accounting_core'],
|
|
'installable': True,
|
|
'application': False,
|
|
'icon': '/fusion_accounting_documents/static/description/icon.png',
|
|
}
|