Merge pull request #24488 from aspangaro/18a6
FIX: Propagate vat-reverse charge information when supplier invoice is created from reception list
This commit is contained in:
commit
cd385a0605
@ -2,7 +2,8 @@
|
||||
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2010 Regis Houssin <regis.houssin@capnetworks.com>
|
||||
* Copyright (C) 2016 Ferran Marcet <fmarcet@2byte.es>
|
||||
* Copyright (C) 2016 Ferran Marcet <fmarcet@2byte.es>
|
||||
* Copyright (C) 2023 Alexandre Spangaro <aspangaro@open-dsi.fr>
|
||||
*
|
||||
* 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
|
||||
@ -345,6 +346,9 @@ if (empty($reshook)) {
|
||||
$objecttmp->remise_absolue = $remise_absolue;
|
||||
$objecttmp->transport_mode_id = $transport_mode_id;
|
||||
|
||||
// if the VAT reverse-charge is activated by default in supplier card to resume the information
|
||||
$objecttmp->vat_reverse_charge = $soc->vat_reverse_charge;
|
||||
|
||||
$objecttmp->fk_project = $rcp->fk_project;
|
||||
//$objecttmp->multicurrency_code = $rcp->multicurrency_code;
|
||||
if (empty($createbills_onebythird)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user