mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: improvemente invoice to agency configuration
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user