dolibarr-bugtrack
[Top][All Lists]
Advanced

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

[Dolibarr-bugtrack] [Bug #1578] Cannot create proposal by copy of anothe


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1578] Cannot create proposal by copy of another one
Date: Sat, 23 Aug 2014 13:02:49 +0200

Doliforge
Ce message ne s'affiche pas correctement?
mettez à jour vos préférences utilisateur.

Cannot create proposal by copy of another one

État

 Détails
Last Modified On:  23/08/2014 13:02 Submitted by:  Francois Couque (fcouque)
Submitted on:  23/08/2014 13:02 
Summary:  Cannot create proposal by copy of another one
Description:  When creating the draft of a proposal by copy an old one, we get a fatal error message:
La référence utilisée pour la création existe déjà

I've "fixed" it quickly by moving the create fonction in the else part where it should probably be. Currently, in this workflow, there is a first $object->create_from($user); then $object->create($user);
The second one failed because the ref has been already created.
Step to reproduce bug:  1 Choose a customer
2 Go to proposal tab
3 Click create proposal button
4 Select "Créer proposition/devis par recopie d'un proposition existant" and an old proposal.
5 Click "create draft button"
Detected in version:  3.6.0 Category:  Module: Proposals
Severity:  5 - Major OS Type/Version:  Debian Linux 2.6.32
PHP version:  5.3.8 Database type and version:  Mysql 5.1.39
 Etat
Status:  Open Assigned to:  Aucun
Resolution:  Aucun 

Répondre



reply via email to

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