Minor fixes

This commit is contained in:
Oscar Alvarez 2020-12-04 15:05:03 -05:00
parent 2b12a7fc33
commit 1ca42b3490
2 changed files with 30 additions and 2 deletions

29
.gitignore vendored Normal file
View File

@ -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__

View File

@ -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)