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)