Commit Graph
124195 Commits
Author SHA1 Message Date
tbe-odoo 7d812ebe76 [IMP] payment,website_sale/quote: Renaming a field and labels 2017-08-29 13:50:14 +02:00
Rohan Patel 81908899fc [IMP] l10n_vn: created new tags and assign them to taxes
task: https://www.odoo.com/web#id=22700&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19064
2017-08-29 13:38:50 +02:00
qsm-odoo 501f3e9b45 [FIX] web: properly clear floats in kanban records
Before the new design, floats in kanban records were cleared using the
clearfix method. Now, the kanban color requires using the ::after
element, making the clearfix method unavailable. Hopefully, forcing the
creation of a block formatting context by forcing the display of kanban
records to `inline-block` should do the trick without affecting the
main layout.
2017-08-29 13:35:35 +02:00
Christophe Matthieu e55aa95f2a [FIX] website_sale: very slow shop grid and product view
The problem is present because there are more than 1000 variants for each
product. For display, the price of each product is recalculated (instead
of looking only at the last product)

opw-766897
2017-08-29 13:27:15 +02:00
Rawish Murari e8b5d84140 [IMP] l10n_lu: created new tags and assign to taxes
task: https://www.odoo.com/web#id=22558&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19102
2017-08-29 13:25:58 +02:00
Aaron Bohy c5bf53682e [FIX] web: prevent 'load' event from being handled twice
In grouped list view, when a pager is clicked inside a group, a
'load' event is triggered to reload the data with the new offset.
The event is handled by the list's controller.

However, when the list is in the modal, the event must be stop
propagated by the controller of the modal, so that it doesn't go
up to the controller of the view displayed behind the modal. It
happens for example by reproducing the following steps:
  - go to Lunch
  - add a line
  - search more products
  - group by vendor in the modal
  - unfold a group
  - click on the pager (the group must contain more than 80 records)

Before this rev., it crashed because the controller of the form
view tried to handle the event.
2017-08-29 13:12:34 +02:00
Rawish Murari 6fcf824309 [IMP] l10n_sg: create new tags and assign to taxes
task: https://www.odoo.com/web#id=22600&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19099
2017-08-29 13:09:23 +02:00
Rawish Murari 097a7e7047 [IMP] l10n_pl: created new tags and update taxes
task: https://www.odoo.com/web#id=22598&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #19101
2017-08-29 13:02:49 +02:00
ptr-odoo 276f080638 [IMP] account: allow to archive journal, account.tag and analytic.tag
Currently there is no option to Archive / Unarchive Journal + Accounting Tag + Analytic Account Tag

task: https://www.odoo.com/web#id=27447&view_type=form&model=project.task&menu_id=4720
PR: #12864
2017-08-29 12:38:10 +02:00
Richard Mathot ccfc4e7026 [FIX] mrp: optimize computation of field "# Manufacturing Orders" 2017-08-29 12:28:41 +02:00
Akash Bhavsar 3267e76520 [IMP] account : Allow payment of 0 amount in write-off balance
The user can register a payment of 0 amount with "Mark Invoice as Paid" option and selecting an account to post the difference.

task: https://www.odoo.com/web#id=29959&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720
PR: #16429
2017-08-29 12:05:59 +02:00
Rawish Murari d2e33ba57c [IMP] sale: show invoiced and to invoice amount in sale report
Show amount to invoice and amount invoiced for each sale order lines to improve the sale report.

task: https://www.odoo.com/web?#id=21547&view_type=form&model=project.task&action=327&menu_id=4720
PR: #10280
2017-08-29 12:01:30 +02:00
Hareshkumar Shyara d686c9d5de [IMP] account: visible name field on the vendor bills
task: https://www.odoo.com/web#id=32207&view_type=form&model=project.task&menu_id=
PR: #16112
2017-08-29 11:56:22 +02:00
tbe-odoo 84e9b1137e [IMP] payment,website_payment: Change payment.option model name to payment.icon 2017-08-29 11:48:03 +02:00
Khoi Nguyen 5149e18ec7 [FIX] web: always display handle widget
Before this commit, a list containing a handle widget would only display
the handles associated with non-zero integer values. This is due to the
fact that unset fields are hidden in Odoo, while a field is by default
considered 'defined' if its value is truthy.

We override the isSet method for the handle widget to always return
true. This tells the handle widget that the associated integer value is
always defined, thereby ensuring that the handle will always be shown.
2017-08-29 11:41:32 +02:00
Christophe Simonis 5f37b8b315 Revert "[FIX] stock: delivery slip UOM"
Change unwanted in saas~17

This reverts commit b0d498c11d.
2017-08-29 10:50:16 +02:00
Aaron Bohy d93726f9ac [FIX] web,mail: only send fields in view for onchanges
The field 'display_name' is automatically added to the list of
fields to fetch when fetching a record. Before this rev., its
value was also sent alongside the fields in the view for onchange
RPCs. It shouldn't: only the fields in the view should be sent.

It produced a weird bug in the res.partner form view: open a
contact (company), add a sub-contact, save -> the display_name of
the contact was then '' (and 'Contacts' was displayed in the
breadcrumbs instead of the display_name of the opened contact).
This is because 'display_name' was sent to the onchange, which
returned '' as value (because of another bug python side). So as
it's value changed, when saving, the new display_name was sent to
the server (even if this field was actually readonly).

Before this rev., we also always fetched 'display_name' when
fetching list of records (read or search_read). This wasn't a bug
per se, but it might be a computed field, and it isn't necessary,
so we stop fetching it in that case if it isn't in the view (as
it was done in saas-15, before the new views).
2017-08-29 10:38:36 +02:00
Aaron Bohy f24c83efcc [FIX] web,mail: keep changes when scheduling an activity
The problem occurred in form view, in edit mode, when the user
did some changes in the form, and then clicked on 'Log or schedule
an activity'. When validating the activity, the fields mail_activity
and mail_thread were reloaded but all changes were discarded in the
process.

This rev. ensures to reload the requested field without discarding
the changes.
2017-08-29 10:38:36 +02:00
qdp-odoo db4f62bd11 [IMP] account: added settings for account_sepa_direct_debit module 2017-08-29 10:23:57 +02:00
qdp-odoo 69b421050a [IMP] account: revamp the sale/purchase menus' structure 2017-08-29 10:22:58 +02:00
qdp-odoo eaf71455f4 [ADD] tools: add some xml utilities
-create_xml_node()
-create_xml_nod_chain()
2017-08-29 10:17:27 +02:00
tbe-odoo efea6babbe [IMP] payment: Removed transfer button & fixed custom payment 2017-08-29 09:50:08 +02:00
Cedric Snauwaert e1cbaf7af7 [FIX] account: manual reconciliation widget was inversing debit/credit
Also add a lost functionality, when coming from payment view, pass account_move_line id to the context so that it is directly opened as a proposition in the reconciliation widget. If a matching line is found for that payment, also propose the matching line.
2017-08-29 09:45:02 +02:00
Laurent Smet ec5164510c [IMP] l10n_no: Create tags and assign them to taxes
task: https://www.odoo.com/web#id=22597&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720

PR: #19104
2017-08-29 08:47:11 +02:00
Nicolas Martinelli 4542c14513 [FIX] purchase: date rate
When creating an invoice from an PO, set the appropriate date during
currency conversion.

opw-767279
2017-08-29 08:39:38 +02:00
Christophe Simonis 38c77a5210 [FIX] point_of_sale: use correct variable name
Oversight of forward-port 657e328903

Close #19112
2017-08-28 18:24:19 +02:00
amoyaux 11244b5df7 [FIX] stock: calendar view should not be removed
I deleted calendar view from picking because I thought it was not
used anymore. However it was used in the menu item action thus it
returns a traceback when used and the picking menu was not accessible
anymore.

This commit revert commit f4f8bbaf9c
and fix the view instead by using schedule date instead of min_date
2017-08-28 17:01:05 +02:00
Goffin Simon 361a518010 [FIX] account: Automatic reconciliation button in manual reconciliation
Since 9.0, the button "Automatic reconciliation" is just used for the reconciliations
of bank statements. But the button appeared in manual reconciliation because the
qweb view "manual_reconciliation" extends "reconciliation".

The button must be invisible in this case because this feature is not implemented.

opw:767309
2017-08-28 15:49:17 +02:00
Jeremy Kersten 5d3cbf4d7a [FIX] hr_contract: fix auto pending/auto close
Before this commit, create a contract which expire in 2 months.
The cron will check all contracts that have a date_end >= tomorrow.
All contract with a end_date will be close.

Now we check all contracts that have a end_date <= yesterday and close it
2017-08-28 15:40:41 +02:00
qsm-odoo 6551c0bdd7 [FIX] web: fix kanban card color
Since the new kanban design, the cards' colors are shown as a
border-left color. Since all the cards have a small gray border,
a combination of inset box-shadow and border-left was used to display
the colored left border. There were two bugs with this system:

- The border-left was overflowing the box-shadow of 1px, making the
  border look weird
- The box shadow was always below the content (graphs, progressbar, etc)

The first problem is resolved by leaving the border-left property
untouched (the natural border is not really visible anyway), the second
problem is resolved by using the ::after element to create the border
instead of using a box-shadow.
2017-08-28 15:13:37 +02:00
tbe-odoo afeadf5d39 [IMP] website_sale: Removing dead code 2017-08-28 14:58:39 +02:00
tbe-odoo a925188360 [IMP] payment_stripe: Retrieve access token on website_quote 2017-08-28 14:50:43 +02:00
Christophe Simonis d0f132b297 [MERGE] forward port branch saas-16 up to 4ac347735d 2017-08-28 14:49:11 +02:00
qsm-odoo 55c6785c93 [FIX] event, hr: fix kanban view
Resolve two "bugs" introduced with new design:
- Events kanban dropdown position
- Employees kanban tags position
2017-08-28 14:42:50 +02:00
Lucas Perais (lpe) f32a79dd82 [FIX] web: limit amount of rows for excel export
Before this commit, when the amount of rows was above xls format threshold (>65535), the xlwt library threw an obscure Traceback to the user.

We now test the amount of rows before even calling the library, raising a more helpful message to the user

OPW 767319

closes #19035
2017-08-28 14:22:47 +02:00
Christophe Simonis 4ac347735d [MERGE] forward port branch saas-15 up to 063381e0f6 2017-08-28 14:02:35 +02:00
Pierre Masereel b3b6267cf0 [FIX] stock: add decoration muted on move cancel 2017-08-28 13:59:12 +02:00
tbe-odoo 1462751596 [IMP] payment_stripe: Compatible with the new payment form
- Stripe checkout form is now compatible with the new payment form.
- Fixed a typo on a currency code.
2017-08-28 13:57:14 +02:00
Pierre Masereel b7a84cd997 [FIX] mrp: production_id on move lines
When the move lines were created manually, there were no production_id
set on them. So we pass it through the context in the 'Register Lots' view.
2017-08-28 13:53:28 +02:00
Nicolas Martinelli c478e94450 [FIX] hr_expense: delete expense
A regular employee is allowed to delete an expense reported already
approved. This should not be possible, only an officer could do it.

Fixes #19044
opw-767549
2017-08-28 13:30:10 +02:00
qsm-odoo 50b076c033 [REF] web, *: introduce new kanban design
This merge will be the first one of a series to renew the backend
design. While this focused on kanban redesign, some elements (like
background and colors) of the main design are changed here.

This especially changes the LESS code to achieve the desired visual
result. The kanban view however needs better layout templating to
make this LESS more efficient; this will be a task for version 12.0.
2017-08-28 12:53:49 +02:00
qsm-odoo fdb38afacf [REF] *: adapt LESS changes and remove dead code
* project, sales_team, web
2017-08-28 12:53:17 +02:00
qsm-odoo dc49b8c149 [FIX] web: dashboard dropdown firefox 2017-08-28 12:53:17 +02:00
qsm-odoo bee69d3b2d [REF] *: get rid of o_visible and o_invisible in kanban
* account, hr, hr_recruitment, maintenance, mrp, point_of_sale,
  project, sales_team, stock
2017-08-28 12:53:17 +02:00
qsm-odoo 8ffc940d16 [FIX] maintenance: fix dashboard 2017-08-28 12:53:17 +02:00
qsm-odoo 236ded6343 [FIX] account: fix dashboard view 2017-08-28 12:53:17 +02:00
qsm-odoo 1919b8d62a [FIX] web: adapt JS tests to new design/layouts 2017-08-28 12:53:17 +02:00
qsm-odoo 1c40b3c34f [REF] web: hide outline of kanban dropdown buttons 2017-08-28 12:53:17 +02:00
qsm-odoo 5729b53f9a [FIX] web: fix "complex dashboard dropdown" width 2017-08-28 12:53:17 +02:00
qsm-odoo 539f66dd72 [REF] web: allow 12 kanban colors
We added 2 colors to the custom colors scheme for tags and cards' colors
but we did not adapt the possibility to set them properly in kanban.
Also adapt the related test.
2017-08-28 12:53:17 +02:00