[Bug #1925] "Link to order" option in supplier invoices is not working properly

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug #1925] "Link to order" option in supplier invoices is not working properly

Doliforge
[Bug #1925] "Link to order" option in supplier invoices is not working properly
Doliforge
Is this email not displaying correctly?
update email preferences.

"Link to order" option in supplier invoices is not working properly

Latest modifications

2015-07-19 15:12 (Europe/Madrid)
The bug has been corrected. Pull request send inside GIT sources
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch.
Changes:
  • Summary: 
-Link invoice to order is not working 
+"Link to order" option in supplier invoices is not working properly 
  • Assigned to: 
NoneMarcos García (marcosgdf)
  • Resolution: 
NoneFixed

Answer now

Snapshot

 Details
Submitted by:  Philippe (pheno) Submitted on:  2015-04-29 17:08
Last Modified On:  2015-04-29 17:15 
Summary:  "Link to order" option in supplier invoices is not working properly
Description:  Dolibarr displayed a blank line instead of order ref after linking an order to an invoice
Step to reproduce bug:  On an invoice, choose option link to link an order to the current invoice.

List of available orders for the third party are well displayed.

Select one order and validate.

Detected in version:  3.7.0 Category:  Module: Supplier Invoice
Severity:  5 - Major OS Type/Version:  
PHP version:   Database type and version:  sql8.modules
 Status
Status:  Open Assigned to:  Marcos García (marcosgdf)
Resolution:  Fixed 

Comments

Marcos García 2015-07-19 15:12
The bug has been corrected. Pull request send inside GIT sources
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch.
Philippe 2015-04-29 17:15
I tested this change on my own erp instance and it works.

have fun
Philippe 2015-04-29 17:13
To fix the issue, please change line#827 in htdocs\fourn\facture\card.php

from

$result = $object->add_object_linked('commande', GETPOST('linkedOrder'));

to

$result = $object->add_object_linked('order_supplier', GETPOST('linkedOrder'));
Philippe 2015-04-29 17:12
The bug has been corrected. Pull request send inside GIT sources
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch.


_______________________________________________
Dolibarr-bugtrack mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/dolibarr-bugtrack