From 1ca42b3490ea5f7861d1f767c3405dbdf642b78a Mon Sep 17 00:00:00 2001 From: Oscar Alvarez Date: Fri, 4 Dec 2020 15:05:03 -0500 Subject: [PATCH] Minor fixes --- .gitignore | 29 +++++++++++++++++++++++++++++ booking.py | 3 +-- 2 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..63d810d --- /dev/null +++ b/.gitignore @@ -0,0 +1,29 @@ +# See https://help.github.com/ignore-files/ for more about ignoring files. + +# dependencies +/build +/dist +*egg-info + + +/node_modules + +# testing +/coverage + +# production +/build + +# misc + +.DS_Store + +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +package-lock* + +/__pycache__ +/app/__pycache__ +/app/commons/__pycache__ diff --git a/booking.py b/booking.py index 572e651..1997b64 100644 --- a/booking.py +++ b/booking.py @@ -144,8 +144,7 @@ class Booking(Workflow, ModelSQL, ModelView): contact = fields.Char('Contact', states=STATES_PROCESSING) payment_term = fields.Many2One('account.invoice.payment_term', 'Payment Term', states=STATES_PROCESSING) - booking_date = fields.DateTime('Booking Date', readonly=True, - states=STATES) + booking_date = fields.DateTime('Booking Date', readonly=False, states=STATES) person_num = fields.Integer('Person Number', states=STATES) group = fields.Boolean('Group', states=STATES) complementary = fields.Boolean('Complementary', states=STATES)