Strange logic for supplier invoice

Bug #479886 reported by Ruud Riem-Vis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Anup(SerpentCS)

Bug Description

If you create a supplier invoice using the web client (e.g. with Odoo), you first select the partner and then want to add an invoice item. However, the default icon when you want to add an invoice line is the "Save parent record" icon. So you will get the error message "Invalid form, correct red fields" because the field "Total" is undefined yet (you have not selected any invoice entry yet).
The only way to proceed is to put an amount in "Total" and then you can proceed.

It would be more logical to have the icon "Create new record" by default on the "Invoice Lines" section on the right.

Related branches

Revision history for this message
Amit Mendapara (cristatus) wrote :

The field `Total` should be readonly or should have `0.0` default value. Should be fixed in server addon.

Changed in openobject-client-web:
assignee: nobody → Anup (Open ERP) (ach-openerp)
affects: openobject-client-web → openobject-addons
Changed in openobject-addons:
assignee: Anup (Open ERP) (ach-openerp) → nobody
status: New → Confirmed
assignee: nobody → Anup (Open ERP) (ach-openerp)
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed by revision 2453 <email address hidden>.
Thank you.

Changed in openobject-addons:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.