Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MIG account_check_deposit_py3o, account_invoice_report_py3o and purch…
…ase_report_py3o Partial port of stock_report_py3o
- Loading branch information
1 parent
e9469e4
commit 0bb02c7
Showing
13 changed files
with
46 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
# -*- coding: utf-8 -*- | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
# -*- coding: utf-8 -*- | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,52 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<odoo> | ||
|
||
<record id="account.account_invoices" model="ir.actions.report.xml"> | ||
<!-- | ||
<record id="py3o_pdf_options_pdfa" model="py3o.pdf.options"> | ||
<field name="name">PDF/A (for Factur-X invoices)</field> | ||
<field name="pdfa" eval="True"/> | ||
</record> | ||
<record id="local_py3o_server" model="py3o.server"> | ||
<field name="url">http://localhost:8765/form</field> | ||
<field name="pdf_options_id" ref="py3o_pdf_options_pdfa"/> | ||
</record> | ||
--> | ||
|
||
|
||
<record id="account.account_invoices" model="ir.actions.report"> | ||
<field name="report_type">py3o</field> | ||
<field name="py3o_filetype">odt</field> | ||
<field name="module">account_invoice_report_py3o</field> | ||
<field name="py3o_template_fallback">account_invoice.odt</field> | ||
<!-- | ||
<field name="py3o_server_id" ref="local_py3o_server"/> | ||
<field name="py3o_filetype">pdf</field> | ||
Nota: by default: print_report_name="(object._get_report_base_filename()) | ||
--> | ||
</record> | ||
|
||
<record id="account.account_invoice_action_report_duplicate" model="ir.actions.report.xml"> | ||
<record id="account.account_invoices_without_payment" model="ir.actions.report"> | ||
<field name="report_type">py3o</field> | ||
<field name="py3o_filetype">odt</field> | ||
<field name="module">account_invoice_report_py3o</field> | ||
<field name="py3o_template_fallback">account_invoice.odt</field> | ||
<!-- | ||
<field name="py3o_server_id" ref="local_py3o_server"/> | ||
<field name="py3o_filetype">pdf</field> | ||
Nota: by default: print_report_name="(object._get_report_base_filename()) | ||
--> | ||
</record> | ||
|
||
|
||
<!-- No more duplicata inv on v12 ! | ||
<record id="account.account_invoice_action_report_duplicate" model="ir.actions.report"> | ||
<field name="report_type">py3o</field> | ||
<field name="py3o_filetype">odt</field> | ||
<field name="module">account_invoice_report_py3o</field> | ||
<field name="py3o_template_fallback">account_invoice.odt</field> | ||
</record> | ||
--> | ||
|
||
</odoo> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters