Thibault Francois
07d255b4f1
[CLEAN] Don't need to be that strict with 80 char per line it doesn't make the code more readable, 120 is perfectly fine nowdays.
[CLEAN] use anonymous variable _ when unpacking tuple.
[CLEAN] use free_space instead of len(s)
7 years ago
Rémy Taymans
8781861d07
[IMP] website_shift: Move menu in template
The menu entry was recorded in data folder. But this folder is reserved
for buisness data. So I moved the menu entry in the views directory.
[IMP] website_shift: Responsive design
[IMP] website_shift: change rules of display
Shows only available space:
if more than 5 max worker and at least two available spaces
if less than 5 max worker and at least one available spaces
This take care of the case where no task_template is defined in the task
[IMP] website_shift: Make template CMS compliant
7 years ago
Rémy Taymans
a8b7a80ec6
[IMP] pos: Don't show customer balance
7 years ago
Thibault Francois
af97df2c57
[FIX] fix xml id of generate shift cron
7 years ago
Thibault Francois
136411b71e
[FIX] differed the send of the ticket, since it can cause crash and wkhtmltopdf deadlock, clicking on the button in the pos just tell the system to print the ticket later
7 years ago
Thibault Francois
c61a946906
[FIX] make 100% sure that revert info are erased after beeing applied
7 years ago
Thibault Francois
59615135d2
[IMP] Can make mistake in status change, the counter change get revert and only the change needed by the new stage get applied
7 years ago
Thibault Francois
789dc5018f
[ADD] cron to generate next planning + [CHANGE] shift generated are already confirmed
7 years ago
Houssine BAKKALI
8946b26a26
Merge pull request #24 from beescoop/9.0-s0030prior-remy
[ADD] beesdoo_portal_shift: Show available shift
7 years ago
Rémy Taymans
8979cf2a43
[FIX] beesdoo_portal_shift: change name
Change name from beesdoo_portal_shift to beesdoo_website_shift.
7 years ago
Thibault Francois
dcac5953e2
[REVIEW] Make the code much simplier, use groupby for irregular worker and use float_to_time for regular worker
7 years ago
Rémy Taymans
dcaa986066
[ADD] Page that show remaining space in shifts
[FIX] Allow access for unsigned user
[ADD] Add page that shows space for regular worker
[IMP] Page that shows space for regular worker
[ADD] Button in top menu
[IMP] Translation for button in menu
[IMP] Module description
[FIX] beesdoo_portal_shift: Access rights
[IMP] beesdoo_portal_shift: Add day name in report
[FIX] beesdoo_portal_shift: Typo controller name
[FIX] beesdoo_portal_shift: Trans "Task Template"
[FIX] beesdoo_portal_shift: Change access process
The access to beesdoo_shift models was given by an ir.model.access.
This is not secure as it give access to all users to the shifts.
We prefere using sudo() in the controllers that are conserned.
7 years ago
Thibault Francois
538ee6c2aa
[FIX] Make the runbot green again, remove the warning
7 years ago
Thibault Francois
c43f028504
[FIX] fix test, it breask test openerp.addons.base_import.tests.test_cases: test_shallow to give default technical feature to admin
7 years ago
Houssine BAKKALI
46beec8968
Merge pull request #23 from beescoop/houssine78-fixing-missing-import
Update task.py
7 years ago
Houssine BAKKALI
992d33b35c
Update task.py
7 years ago
Houssine BAKKALI
36f83f056a
Merge pull request #22 from beescoop/houssine78-add-dependency-on-portal
Update __openerp__.py
7 years ago
Houssine BAKKALI
1ebaa8b342
Update __openerp__.py
7 years ago
Thibault Francois
1493ff4169
[FIX] Subscription: don't have to choose a shift when choosing a work mode
7 years ago
Thibault Francois
d494acba61
[IMP] default value to true when unsubscribed to reset counter + possibility to reset compensation counter
7 years ago
Thibault Francois
f0b7969325
[ADD] Holiday wizard
7 years ago
Thibault Francois
93a6af1310
[IMP] Holiday end with and end day rater then a nb of days after the start
7 years ago
Houssine BAKKALI
681c1f614e
Merge pull request #21 from houssine78/9.0
add new fields and model for the scale integration
7 years ago
houssine
54e70572d2
[IMP] add scale category model and m2one field on product to this new
model
7 years ago
houssine
a251d1f0e3
[IMP] add computed field scale_sale_uom
7 years ago
Houssine BAKKALI
08c56d618a
Merge pull request #20 from houssine78/9.0
[IMP] add field for the scale labels
8 years ago
houssine
4cce4c6ed9
[IMP] add field for the scale labels
8 years ago
Houssine BAKKALI
2a2591c11d
Merge pull request #19 from houssine78/9.0
change for price_to_weight module
8 years ago
Houssine BAKKALI
992134ca4d
Merge branch '9.0' into 9.0
8 years ago
houssine
a69f781b28
[IMP] change the module to allow the right calculation of the weight
based on the price. We think that this module work as it with
configuration where the VAT is included in the price of the products.
8 years ago
Thibault Francois
97bb78bf29
[ADD] extension wizard + [CLEAN] Abstract class for all wizard related to action on the cooperative status
8 years ago
Thibault Francois
0d7d8a09ab
[IMP] improve order of cooperative status
8 years ago
Thibault Francois
597606ec32
[ADD] Add unsubscribe wizard
8 years ago
Thibault Francois
c4d2026cbc
[ADD] Mechanism to change counter according to presence to shift or not + Option to not launch status mechanism
8 years ago
Thibault Francois
3a90821c8f
[ADD] Compute state of cooperative based on their shift presence
8 years ago
Thibault Francois
a2b7c8bf60
[WIP]
8 years ago
Houssine BAKKALI
14163a6e11
Merge pull request #18 from beescoop/houssine78-price_to_weigth_handle_price_with_vat
Update models.js
8 years ago
Houssine BAKKALI
eba397b49f
Update models.js
8 years ago
Thibault Francois
dd158e75df
[ADD] Beescard for part B cooperator
8 years ago
Thibault Francois
9c193c1566
[IMP] Pos placement of icon and size of button, use cooperator type for constraint, remove easy_my_coop dependency
8 years ago
Rémy Taymans
b148a1e830
[ADD][TASK s0010] Eaters for owners of B share
8 years ago
Thibault Francois
f079d7addd
[FIX] [0024-Bug] cannot set two times the same responsible
8 years ago
Thibault Francois
c78b62a374
[CLEAN] Format xml file + Change position of cooperator type
8 years ago
Thibault Francois
4d02b63623
[FIX] use existing field for cooperator type + [CLEAN] hide useless tab for physical person
8 years ago
Houssine BAKKALI
1ae11e4576
Merge pull request #17 from houssine78/9.0
[IMP] remove print
8 years ago
houssine
7f94562d37
[IMP] remove print
8 years ago
Houssine BAKKALI
f945e5e473
Merge pull request #16 from houssine78/9.0
enable barcode to the pos_price_to_weight module
8 years ago
houssine
d405574c58
[IMP] implement barcode generation for price to weight barcode module of
la louve
8 years ago
houssine
d144367cd1
[ADD] add module that allows the pos to compute the weight base on the
price and the product code on the barcode
8 years ago
Houssine BAKKALI
02c7f9a582
[ADD] add tehcnical feature module
8 years ago