dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [bug #18582] error when validating an order


From: Franky Van Liedekerke
Subject: [Dolibarr-bugtrack] [bug #18582] error when validating an order
Date: Sun, 24 Dec 2006 18:20:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)

URL:
  <http://savannah.nongnu.org/bugs/?18582>

                 Summary: error when validating an order
                 Project: Dolibarr
            Submitted by: liedekef
            Submitted on: Sunday 24/12/06 at 18:20
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
        Operating System: None

    _______________________________________________________

Details:

Version used: latest cvs release (also checked cvs source itself)

When creating an order and then validating it, I always got "Not available"
as order number, when it should be "COM...".
I tracked it down to a bug in commande.class.php, function getNextNumRef:

$numref = $obj->getNextValue($soc,$this);

==> for my tests, $obj was of object mod_commande_ivoire, amd that class does
not have a function called getNexValue, but it does have  commande_get_num as
a function. Upon changing the line in:

$numref = $obj->commande_get_num($soc);

everything was working ok.

Hope this helps.

Now I have another problem, that no shipping docs can be created, since the
model document can't be found, but that's another problem.

Franky




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?18582>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]