fcf3da325ce008da2bd2b2b77198e1542c01429b
At present the invoice can only be sent to the device from the form view. The functions involved in posting the invoice expect just one invoice. This commit adapts the functions involved in posting the invoice in such a way that multiple moves can be processed. In order for this to happen: The validation check function now creates a list of errors per move, and the error message provided lists the errors under the name of each move. The post function has been adapted to iterate over the moves provided, and construct the params passed to the javascript action as a list of dictionaries, rather than a flat dictionary. The javascript action that forwards the data to the device is adapted to iterate over the params provided to it, instead of sending just the one invoice. A sever action has been added on the account move (tree view) to allow a user to select multiple entries from the invoice tree view and send all of them to the fiscal device. closes odoo/odoo#109520 Task-id: 2950308 X-original-commit: 2b590e69310bdce9201ad54a1b14f22007098173 Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Daniel Kosky (dako) <dako@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%