-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of [email protected]:Dolibarr/dolibarr.git into d…
…evelop
- Loading branch information
Showing
1 changed file
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,15 @@ | |
* Copyright (C) 2007 Franky Van Liedekerke <[email protected]> | ||
* Copyright (C) 2010-2020 Juanjo Menent <[email protected]> | ||
* Copyright (C) 2010-2018 Philippe Grand <[email protected]> | ||
* Copyright (C) 2012-2015 Marcos García <[email protected]> | ||
* Copyright (C) 2013 Florian Henry <[email protected]> | ||
* Copyright (C) 2013 Cédric Salvador <[email protected]> | ||
* Copyright (C) 2018 Nicolas ZABOURI <[email protected]> | ||
* Copyright (C) 2018-2024 Frédéric France <[email protected]> | ||
* Copyright (C) 2018-2022 Ferran Marcet <[email protected]> | ||
* Copyright (C) 2021 Josep Lluís Amador <[email protected]> | ||
* Copyright (C) 2022 Gauthier VERDOL <[email protected]> | ||
* Copyright (C) 2012-2015 Marcos García <[email protected]> | ||
* Copyright (C) 2013 Florian Henry <[email protected]> | ||
* Copyright (C) 2013 Cédric Salvador <[email protected]> | ||
* Copyright (C) 2018 Nicolas ZABOURI <[email protected]> | ||
* Copyright (C) 2018-2024 Frédéric France <[email protected]> | ||
* Copyright (C) 2018-2022 Ferran Marcet <[email protected]> | ||
* Copyright (C) 2021 Josep Lluís Amador <[email protected]> | ||
* Copyright (C) 2022 Gauthier VERDOL <[email protected]> | ||
* Copyright (C) 2024 Solution Libre SAS <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
|
@@ -1863,8 +1864,10 @@ public function createFromClone(User $user, $socid = 0, $notrigger = 0) | |
// Clear fields | ||
$this->user_author_id = $user->id; | ||
$this->user_validation_id = 0; | ||
$this->date = dol_now(); | ||
$this->date_creation = 0; | ||
$this->date_validation = 0; | ||
$this->date_commande = 0; | ||
$this->ref_supplier = ''; | ||
$this->user_approve_id = 0; | ||
$this->user_approve_id2 = 0; | ||
|