Daily updates from Odoo
Tuesday, April 30, 2019
2 changes · master
Resolved issues and error corrections
Uploading a document to a new expense now correctly passes the uploaded attachment information to the next action. This prevents a crash and endless loading spinner, allowing users to attach receipts or documents normally.
Original PR description
This commit fixes a bug introduced when migrating from jquery deferred to native JS Promises (ab56e63). Steps to reproduce: 1. Go to the Expense app 2. Create a new expense 3. Click on "Attach Document" and upload a file => crash and infinite loading spinner After loading files, the `attach_document` widget is supposed to call a callback action with attachment ids as argument. Currently, attachement ids are not correclty retrieved. They are retrieved via the `arguments` object but since ab56e63 `arguments` refers to the arguments of the Promise callback function and no longer to the handler function `_onFileLoaded` arguments. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes the layout of footer buttons on project kanban cards so they display evenly instead of appearing misaligned. The change improves the visual consistency and usability of the project overview without changing business workflows.
Original PR description
**Description of the issue/feature this PR addresses**: - Task: https://www.odoo.com/web#id=1948176&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.7551125c2dfcd67f29ff4d8a299583c7 **Description** -Previously, footer buttons on the project's kanban were not being shown properly due to improper CSS rules. -This commit fixes the issue by removing fixed width and evenly distributing available space between the buttons. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr