Skip to content

Commit

Permalink
[UPD] l10n_it_delivery_note: aggiornata PR OCA#4184
Browse files Browse the repository at this point in the history
  • Loading branch information
Borruso committed Aug 1, 2024
1 parent 05fc28e commit 9ac2bfb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions l10n_it_delivery_note/models/res_company.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ class ResCompany(models.Model):
"Display Delivery Method in Delivery Note Report",
default=False,
)
delivery_note_group_by_quantity = fields.Boolean(
"Group Delivery note invoices by quantity",
default=False,
)
4 changes: 3 additions & 1 deletion l10n_it_delivery_note/models/res_config_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,7 @@ def _default_virtual_locations_root(self):
readonly=False,
)
delivery_note_group_by_quantity = fields.Boolean(
string="Group Delivery note invoices by quantity"
string="Group Delivery note invoices by quantity",
related = "company_id.delivery_note_group_by_quantity",
readonly = False,
)

0 comments on commit 9ac2bfb

Please sign in to comment.