Skip to content

Commit f027b78

Browse files
Update addons/l10n_fr_account/models/account_move.py
Co-authored-by: malb-odoo <109144554+malb-odoo@users.noreply.github.com>
1 parent 722ba52 commit f027b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/l10n_fr_account/models/account_move.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ def _compute_show_delivery_date(self):
3030

3131
def _post(self, soft=True):
3232
for move in self:
33-
if move.l10_fr_is_company_french and move.is_sale_document() and not move.delivery_date:
33+
if show_delivery_date and not move.delivery_date:
3434
move.delivery_date = move.invoice_date or fields.Date.context_today(self)
3535
return super()._post(soft)

0 commit comments

Comments
 (0)