diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2025-01-10 10:39:39 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2025-01-10 10:39:39 +0700 |
| commit | 88e5def4792743d2b3245e390f95df5a3f4be321 (patch) | |
| tree | a1d430b84f4d186d23a23f7436c4a633e612156a /indoteknik_custom/views | |
| parent | f1215bf41196a5758acfc05942fd305b166bd0bf (diff) | |
| parent | bef3ba4c18d585bc0980942d91b5fcb4d44427e1 (diff) | |
Merge branch 'feature/coretax_export_fakture' into odoo-production
# Conflicts:
# indoteknik_custom/models/__init__.py
# indoteknik_custom/security/ir.model.access.csv
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/coretax_faktur.xml | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/indoteknik_custom/views/coretax_faktur.xml b/indoteknik_custom/views/coretax_faktur.xml new file mode 100644 index 00000000..45eea23f --- /dev/null +++ b/indoteknik_custom/views/coretax_faktur.xml @@ -0,0 +1,49 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <data> + <record id="act_coretax_faktur" model="ir.actions.act_window"> + <field name="name">Export Faktur Pajak Keluaran XML Version</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">coretax.faktur</field> + <field name="view_mode">form</field> + <field name="target">new</field> + </record> + + <record id="view_coretax_faktur" model="ir.ui.view"> + <field name="name">view coretax faktur</field> + <field name="model">coretax.faktur</field> + <field name="type">form</field> + <field name="arch" type="xml"> + <form string="Export Pajak Keluaran"> + <p> + Klik tombol Export di bawah untuk mulai export Faktur Pajak Keluaran. + Data yang diexport adalah Customer Invoice yang berstatus Open dan belum diexport ke E-Faktur. + </p> + + <p> + Setelah proses export Faktur Pajak Keluaran selesai dilakukan, + download file ini: + </p> + <group> + <field name="export_file" filename="export_filename" readonly="1"/> + </group> + + <p> + Lalu import ke program E-Faktur DJP melalui menu <b>Referensi - Pajak Keluaran - Import</b> + </p> + + <footer> + <button string="Export" name="export_to_download" type="object" class="btn-primary"/> + <button string="Cancel" class="btn-default" special="cancel"/> + </footer> + </form> + </field> + </record> + + <menuitem id="coretax_faktur_export" + parent="vit_efaktur.menu_vit_efaktur_keluaran" + sequence="80" + name="Export FP. Keluaran XML" + action="act_coretax_faktur" /> + </data> +</odoo>
\ No newline at end of file |
