[IMP]pms: improvemente invoice to agency configuration

This commit is contained in:
Darío Lodeiros
2022-06-27 08:20:48 +02:00
parent 5bb8872464
commit a531aa026a
7 changed files with 35 additions and 17 deletions

View File

@@ -37,9 +37,16 @@ class ResPartner(models.Model):
string="Apply Pricelist",
help="Indicates if agency pricelist is applied to his reservations",
)
invoice_to_agency = fields.Boolean(
invoice_to_agency = fields.Selection(
string="Invoice Agency",
help="Indicates if agency invoices partner",
selection=[
("never", "Never"),
("manual", "Manual"),
("always", "Always"),
],
default="never",
required=True,
)
pms_property_ids = fields.Many2many(
string="Properties",