Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move invoice store pdf config to noupdate data #826

Merged
merged 2 commits into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ div.back{
<field name="description">Valors de la taula de Garantia d'Origen (gdo)</field>
<field name="value">{'wind_power':151153,'photovoltaic':160497,'hydraulics':56298,'biomassa':6378,'biogas':0,'total': 374326,'year': '2023'}</field>
</record>
<record model="res.config" id="rep_boe_data">
<field name="name">rep_boe_data</field>
<field name="description">Repartiment de què es destinen els càrrecs</field>
<field name="value">{"r": 13.06, "d": 63.92, "t": 22.36, "o": 0.66}</field>
</record>
</data>
<data noupdate="1">
<record model="res.config" id="factura_pdf_cache_flags">
<field name="name">factura_pdf_cache_flags</field>
<field name="description">Flags per activar/desactivar el guardat de factures via adjunts del correus o adjunts de les factures\n - Enabled --> Activat, sense aquest flag no funciona el sistema de cache, la factura es genera i s'entrega on the fly\n - No_mongo --> No hi ha base de dades documental present, no tenim fitxers (per desenvolupar/testejar)\n - Dont_store --> No guarda la factura en pdf com adjunt directe de la factura </field>
Expand All @@ -94,10 +101,5 @@ div.back{
<field name="description">Dies que poden passar abans de que es forci guardar el PDF d'una factura que no s'ha enviat i guardat</field>
<field name="value">60</field>
</record>
<record model="res.config" id="rep_boe_data">
<field name="name">rep_boe_data</field>
<field name="description">Repartiment de què es destinen els càrrecs</field>
<field name="value">{"r": 13.06, "d": 63.92, "t": 22.36, "o": 0.66}</field>
</record>
</data>
</openerp>
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def test_som_report_comp_contract_data_20A_amb_auto(
result,
{
"power": 4.6,
"autoconsum": u"41",
"autoconsum": u"21",
"powers": [],
"renovation_date": "2021-01-01",
"cups": u"ES1234000000000001JN0F",
Expand All @@ -680,7 +680,7 @@ def test_som_report_comp_contract_data_20A_amb_auto(
"autoconsum_cau": u"ES0318363477145938GEA000",
"is_autoconsum_colectiu": False,
"cups_direction": u"carrer inventat , 1 ESC. 1 1 1 aclaridor 00001 (Poble de Prova)", # noqa: E501
"autoconsum_colectiu_repartiment": 0.0,
"autoconsum_colectiu_repartiment": 100.0,
"cnae": u"0111",
"power_invoicing_type": False,
"remote_managed_meter": True,
Expand Down
Loading