[MIG] account_usability_akretion to v18

Move code from account_usability_akretion to base_usability_akretion
This commit is contained in:
Alexis de Lattre
2024-12-31 01:02:50 +01:00
parent 8e5d3b8a74
commit bdf4a527de
40 changed files with 298 additions and 567 deletions

View File

@@ -7,6 +7,10 @@
<odoo>
<!-- in v18, attachments are disabled by default
TODO see what's the editor idea about it
in the meantime, this field is disabled in manifest -->
<record id="account.account_invoices" model="ir.actions.report">
<!-- Attach only on customer invoices/refunds -->
<field name="attachment">(object.move_type in ('out_invoice', 'out_refund')) and (object.state == 'posted') and ((object.name or 'INV').replace('/','_')+'.pdf')</field>