Skip to content

Commit

Permalink
TA65012 [IMP] invoice_per_delivery: Add invoice_per_delivery to comme…
Browse files Browse the repository at this point in the history
…rcial fields (#200)
  • Loading branch information
majouda authored Jul 23, 2024
1 parent 6e397bd commit b2f8b83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion invoice_per_delivery/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ msgstr "Facture"
#: model:ir.model.fields,field_description:invoice_per_delivery.field_res_partner__invoice_per_delivery
#: model:ir.model.fields,field_description:invoice_per_delivery.field_res_users__invoice_per_delivery
msgid "Invoicing per delivery"
msgstr "Factration par livraison"
msgstr "Facturation par livraison"

#. module: invoice_per_delivery
#: model:ir.model,name:invoice_per_delivery.model_account_move
Expand Down
3 changes: 3 additions & 0 deletions invoice_per_delivery/models/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ class ResPartner(models.Model):
invoice_per_delivery = fields.Boolean(
string="Invoicing per delivery",
)

def _commercial_fields(self):
return super(ResPartner, self)._commercial_fields() + ["invoice_per_delivery"]

0 comments on commit b2f8b83

Please sign in to comment.