[FIX] l10n_fr_fec: follow CompAuxNum for CompAuxLib
Thos two fields shoulb be the same, following https://github.com/odoo/odoo/pull/43985 closes odoo/odoo#62788 X-original-commit: 902dbd1fe1bf50d7c3e00c8f9c6405f76d139daf Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com> Signed-off-by: wan <william-andre@users.noreply.github.com>
This commit is contained in:
@@ -253,7 +253,10 @@ class AccountFrFec(models.TransientModel):
|
||||
ELSE ''
|
||||
END
|
||||
AS CompAuxNum,
|
||||
COALESCE(replace(rp.name, '|', '/'), '') AS CompAuxLib,
|
||||
CASE WHEN aat.type IN ('receivable', 'payable')
|
||||
THEN COALESCE(replace(rp.name, '|', '/'), '')
|
||||
ELSE ''
|
||||
END AS CompAuxLib,
|
||||
'-' AS PieceRef,
|
||||
%s AS PieceDate,
|
||||
'/' AS EcritureLib,
|
||||
@@ -315,7 +318,10 @@ class AccountFrFec(models.TransientModel):
|
||||
ELSE ''
|
||||
END
|
||||
AS CompAuxNum,
|
||||
COALESCE(replace(replace(rp.name, '|', '/'), '\t', ''), '') AS CompAuxLib,
|
||||
CASE WHEN aat.type IN ('receivable', 'payable')
|
||||
THEN COALESCE(replace(replace(rp.name, '|', '/'), '\t', ''), '')
|
||||
ELSE ''
|
||||
END AS CompAuxLib,
|
||||
CASE WHEN am.ref IS null OR am.ref = ''
|
||||
THEN '-'
|
||||
ELSE replace(replace(am.ref, '|', '/'), '\t', '')
|
||||
|
||||
Reference in New Issue
Block a user