026205a637d953e9f3669a2dced019fe0ea20c0f
Problem --------- User want to verify (when he want) if he has bills on Peppol and the status of his customer invoices. Currently, the only option is wait for a cron that runs twice a day. Objective --------- - Add a button in the Kanban card of the customer invoices that updates the status of invoice send by Peppol. - Add a button in the Kanban card of the incoming journal that fetches received bills on the Peppol network. Solution --------- This commits does several things in order to achieve the objective: - Seperate the peppol cron function into business action and cron function - Add an interface on the journals so that they can call the peppol business functions - Add an inverse function that resets the journal `is_peppol_journal` to False and sets that field to True on the relevant journal. - Add a related field that checks whether the company has peppol active - Add the buttons on the Kandan Dashboard view that call the relevant cron function thanks to the interface. It edi users on the target companies so that only the target companies are updated when a button is pressed and not all companies. task-3531222 closes odoo/odoo#137840 Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
…
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%