mirror of
https://github.com/OCA/pms.git
synced 2025-01-29 00:17:45 +02:00
[IMP]pms: account move not check property journal
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<odoo>
|
<odoo>
|
||||||
<data noupdate="0">
|
<data noupdate="1">
|
||||||
<!-- Set reservation like No Show if the client does not show up -->
|
<!-- Set reservation like No Show if the client does not show up -->
|
||||||
<record model="ir.cron" id="noshow_reservations">
|
<record model="ir.cron" id="noshow_reservations">
|
||||||
<field name="name">Automatic No Show Reservation</field>
|
<field name="name">Automatic No Show Reservation</field>
|
||||||
|
|||||||
@@ -29,9 +29,9 @@ class AccountMove(models.Model):
|
|||||||
compute="_compute_pms_property_id",
|
compute="_compute_pms_property_id",
|
||||||
store=True,
|
store=True,
|
||||||
readonly=False,
|
readonly=False,
|
||||||
check_pms_properties=True,
|
# check_pms_properties=True,
|
||||||
)
|
)
|
||||||
journal_id = fields.Many2one(check_pms_properties=True)
|
# journal_id = fields.Many2one(check_pms_properties=True)
|
||||||
|
|
||||||
@api.onchange("pms_property_id")
|
@api.onchange("pms_property_id")
|
||||||
def _onchange_pms_property_id(self):
|
def _onchange_pms_property_id(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user