Wednesday, October 9, 2024
2 changes · 17.0
Enhancements to existing features
This change makes Hungarian electronic invoicing usable for companies based outside Hungary that also hold a Hungarian VAT registration, such as an Austrian company shipping from Hungary. It loosens country-based tax setup assumptions and improves tax mapping so businesses can meet Hungarian NAV reporting obligations in more cases.
Original PR description
**Description of the issue/feature this PR addresses:** Currently the foreign_vat model does not reflect a lot of use cases...basically just one, having a fiscal position with local/national taxes (as `country_id` is limiting at least in terms of auto detection) This proof of concept is showing the minimal changes I needed to get it working that an Austrian company with an additional Hungarian VAT to make use of the NAV EDI which is an obligation to use if you sell in and out of Hungary. **Current behavior before PR:** Several blocker and narrow assumptions to make use of EDI **Desired behavior after PR is merged:** Make it possible to inherit and loosen up the constraints to be able to use the powerful and good implementation of the Hungarian NAV EDI Info: @wt-io-it --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This improvement allows subscription invoices to be generated using a custom date instead of the standard next invoice date. This gives businesses more flexibility to create invoices ahead of schedule when needed, supporting custom business processes through additional configuration options.
Original PR description
Add context key to be able to redefine the date used to select which subscription lines are invoiceable. This allows to generate invoices before the date of next invoice set on the subscription with the help of custom module.