Commit Graph
111625 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
tbe-odoo 84e9b1137e [IMP] payment,website_payment: Change payment.option model name to payment.icon 2017-08-29 11:48:03 +02:00
tbe-odoo efea6babbe [IMP] payment: Removed transfer button & fixed custom payment 2017-08-29 09:50:08 +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
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
tbe-odoo 3d557547fb [FIX] payment_transfer: Reintroduced the button template 2017-08-28 10:34:48 +02:00
tbe-odoo 7d1f2d0c39 [IMP] payment: Fix crash on install
- Fixed a crash when installing payment module.
- Set a more specific css selector to display error on payment form where required input are empty
2017-08-25 17:51:32 +02:00
tbe-odoo 802e209105 [IMP] payment: Display error when input are empty
- Required fields are now checked, if they are empty then we make their border red and display an error dialog.
2017-08-25 16:49:11 +02:00
tbe-odoo aba509d651 [IMP] payment: UI changes & Fix 500 errors
- Fixed 500 errors when trying to display payment form because of variables partner_id/acquirer_id missing.
- Accepted credit cards are now display next to the acquirer name on the payment form
2017-08-25 15:29:20 +02:00
tbe-odoo ddfa0a7042 [IMP] payment acquirers: Cleaning the code 2017-08-25 11:06:49 +02:00
tbe-odoo 26ece11b97 [FIX] JS tours 2017-08-24 17:54:05 +02:00
tbe-odoo a0fcbd6fbe [FIX] payment: Some input were not set
- e-commerce and website_quote create a transaction with its reference when the user click on Pay.
So we need to render the inputs when the user click on pay and submit the form with the values
2017-08-24 13:48:08 +02:00
tbe-odoo ba739fcd8f [FIX] payment_authorize/paypal: Fix tests 2017-08-24 11:20:14 +02:00
tbe-odoo b25539df0d [IMP] payment: Remove ugly render() hack
- Removed an ugly hack that renders s2s forms then display them using t-raw, we're now providing the xml_id of the s2s forms and uses t-call instead.
2017-08-24 11:20:14 +02:00
tbe-odoo fab7266761 [IMP] website_quote/sale,payment: Support of the new payment form
- Online quotation and e-commerce now use the new payment form.
- Added the ability to chose on an acquirer if it uses only form/s2s or both.
(Still need some code cleaning)
2017-08-24 11:20:14 +02:00
tbe-odoo ffcd95aaa9 [IMP] website_sale: Added S2S payment with new payment form
- Added the support of form payment.
- Fixed payment form's errors not being displayed.
- Fixed a crash when paying on e-commerce with a saved token.
(dev commit, need to clean the code)
2017-08-24 11:20:14 +02:00
tbe-odoo fc17776f31 [ADD] payment: Added data for payment options
- Added the most used payment option (credit cards) in the world and assigned which payment acquirers can use them.
- Added the form templates for each payment acquirer.
2017-08-24 11:20:14 +02:00
tbe-odoo 378f4cdfec [IMP] payment: Supported payment options
- Added the ability to specify which payment option each payment acquirer supports and,
    displays those payment option on e-commerce footer.
2017-08-24 11:20:14 +02:00
Géry Debongnie 006c16198f [FIX] web: increase timeout for JS unit tests
Some runbot servers are quite slow in the midday, and they fail the unit
tests because the 3min timeout is reached.
2017-08-24 11:00:06 +02:00
Sanjay Jamod 6416d44f4c [IMP] web : add caret to statusbar buttons dropdown in mobile view 2017-08-24 10:50:51 +02:00
Richard Mathot 594ff13f58 [IMP] base: log user id triggering module (un)installations
After a few tickets with clients asking "who installed this app?", we
will be able to answer with this.
2017-08-24 09:55:38 +02:00
oco-odoo d7f75040c6 [IMP] account: reintroducing the journal items.
Was task 31306. Was PR #15547
2017-08-23 15:58:49 +02:00
qsm-odoo 0fb82ab34e [FIX] web_editor, *: allow editor dialogs in simple HTML areas
* website_forum

Summernote is instantiated as a simple text editor for 'simple' HTML
backend fields and in website_forum. In those cases, the user was not
able to open editor dialogs anymore as their opening was now handled
by the RTE widget in web_editor since the recent website refactoring.
The goal was to use `this._rpc` in these dialogs (and this required the
dialogs to be attached to the widget parenting system).

As a fix, a new component was implemented to handle these dialog
openings and this component is thus created by the RTE widget and the
other places that need the feature. The right fix would be a better
integration of the summernote editor in the parenting system but this
requires a lot more work than this commit, this will be the goal of the
future editor refactoring.
2017-08-23 11:27:55 +02:00
Thibault Delavallée c5c53c8b6d [CLN] account_payment: indentation issue 2017-08-22 14:02:21 +02:00
qsm-odoo c587c154c2 [REF] website: make better framework for animations
Since commit https://github.com/odoo/odoo/commit/0e08e653cd47e6ef00cf041d774ddec4b83431c1:
The animation 'component' feature was introduced and allowed to define
smooth animation (like the parallax one) thanks to particulary named
methods. This feature was dangerous and ugly and does not match our
convention requirements anymore (in particular adapting a regex to camel
cased method names will be subject to lots of error). Also, during the
website refactoring introduced with https://github.com/odoo/odoo/commit/2972976962617d4b8a0113bae58c640ab41cdff8,
errors were found that were due to this feature. Indeed, it happened
that some existing method names were matched by the regex (as a simple
'on_click'). This feature was also 'slowing' (by a very slow amount)
the page loadings for no good reasons.

The animation 'component' feature has been renamed to 'effect' and
instead of naming methods with particular names, all the effects'
options can now be simply described in the special 'effects' key of
snippet animations.
2017-08-22 13:03:16 +02:00
qsm-odoo f997c128c7 [REF] web, website: share modal.less file
Following https://github.com/odoo/odoo/commit/5658e337c3e0385d3d116e34404ef4086b3e94f0:
The modal.less file is now in the common assets so that the
dialogs' style is shared instead of duplicated.
2017-08-22 13:02:12 +02:00
Thibault Delavallée 69d9058cd2 [FIX] project: fix issue when not having project and default partner 2017-08-22 10:50:02 +02:00
Thibault Delavallée bce4a31ec7 [REF] various: update community to enterprise change 2017-08-22 10:42:26 +02:00
Pierre Masereel ef91c141f6 [FIX] point_of_sale: fix demo data for pricelist tour
When the pricelist tour is launched in enterprise, it fails because of
fiscal position created by the module account_taxcloud that set a
default tax on products and so change the price of products.
2017-08-21 18:20:18 +02:00
Thibault Delavallée 189cd5926e [MERGE] website_portal_purchase: move customer portal to purchase
As already done for account, sale, project and helpdesk, customer portal
for purchase is moved directly into purchase. No dependency to website
is required anymore.

This merge also removes website_portal_purchase as all its content has
been moved.
2017-08-21 14:40:21 +02:00
Thibault Delavallée 748270065f [REM] website_portal_purchase: kill the module
This module is now void since the customer portal has been moved
to purchase. Let us therefore remove the module itself.
2017-08-21 13:56:22 +02:00
Thibault Delavallée bcada50bc5 [MOV] (website_portal_)purchase: move customer portal to purchase 2017-08-21 13:54:08 +02:00
Thibault Delavallée ab00000624 [CLN] purchase: reorder some access rights to ease reading
So much badass.
2017-08-21 13:53:55 +02:00
Thibault Delavallée aaea9f3172 [FIX] purchase: remove duplicated and wrong access right
Access on purchase order lines for managers is present twice in the
security file. Once with only read access and once with full access.
I suppose the latter one is the correct one.
2017-08-21 13:52:52 +02:00
Thibault Delavallée b9ce6890f2 [REM] website_portal_purchase: remove unused less file
As this file does not seem used or imported anywhere let us get rid of
it. This way we won't have to move it. I like to not move it.
2017-08-21 13:52:17 +02:00
qsm-odoo 9af8d5e6de [IMP] web_editor: make HTML editor select2 dropdown better
In saas-15, the LESS editor was introduced alongside the use of the
select2 library to style the <select/> element which allows to choose
the view / less file to edit. The problem is that the default behavior
of the select2 library is to open a dropdown with a max-height of 200px
and a width equals to the <select/> element (with no regards to the
dropdown content). In most cases, the dropdown was then displaying
only a few results, broken over multiple lines.

Now, the dropdown is restyled so that it has no maximum height, no set
width and more readable content.
2017-08-21 10:57:28 +02:00
Laurent Smet 9a58e95edf [FIX] base,report: fix report empty pages/traceback (#18795)
When printing a report not linked to a record, a traceback appears if the
report_name is not an existing model or en empty page is generated.
2017-08-21 08:27:24 +02:00
Dhawal Limbuwala 98ceb0fd2d [IMP] crm,hr_recruitment,project: add 'Create and Edit' btn
This commit adds a 'Create and Edit' button in the footer of the
dialog opened when creating a record from the Kanban of several
models. Clicking on this button creates the record and directly
opens it in a more detailled form view in edit mode.
2017-08-18 16:53:25 +02:00
Dhawal Limbuwala 42757c120f [IMP] web: Kanban: quick create and edit feature
This commit adds an 'Edit' button to the record quick create in
grouped Kanban views. When this button is clicked, a name_create
RPC is performed and the created record is directly opened in a
form view in edit mode.
2017-08-18 16:53:25 +02:00
Chirag Vaghela b31f7786f4 [IMP] account: dynamically display invoice filters depending on the context:
When displaying only invoices, a "Credit notes" filter is useless (and
vice-versa). Filters will be called "Not draft"

When displaying both, keep filters for Invoices and Credit Notes.
2017-08-18 15:59:55 +02:00
Deep Patel f6031f617c [IMP] website_sale,point_of sale: clean "ecommerce product categories" menus and group them under "Configuration" menus 2017-08-18 15:56:44 +02:00
Haresh Shyara 1f3e13a114 [IMP] project: usability of "Merge tasks" wizard
Display "Assigned to" field only if "Create a new task" checkbox is
checked (else it has no meaning)
2017-08-18 15:53:23 +02:00
Pierre Masereel 29ee95be4e [FIX] point_of_sale: remove useless spaces and fix wrong indentation 2017-08-18 14:55:48 +02:00
Joren Van Onder 0178bf39c4 [IMP] point_of_sale: allow users to modify pricelist on customers
It's not a common use case for existing customers, but it's probably
useful to have when creating new customers.
2017-08-18 14:55:48 +02:00
Joren Van Onder 861266dce1 [FIX] point_of_sale: _symbol_set comment typo
Made it hard to grep.
2017-08-18 14:55:48 +02:00
Joren Van Onder ac89783d2f [IMP] point_of_sale: full pricelist support
Before this the POS would load product.product records with
pricelist_id defined on the pos.config in context. These unit prices
were then used everywhere in the POS as-is. The POS contained no
pricelist logic at all.

This implements the full pricelist logic in the POS and provides a way
for users to choose what pricelist to apply per order. This
implementation closely follows the behavior defined in the product and
sale modules.

This includes unit tests for the get_price function and acceptance
tests. The unit tests are done in PhantomJS and ensure that get_price
returns the same as the backend returns when reading the 'price' field
on product.product.

Prices of products are displayed according to the selected
pricelist. To accomodate this the product_cache DomCache of the
ProductListWidget is now done per pricelist.

Additionally, this feature should speed up the loading of
product.product records. Now only stored product.product fields are
loaded. Before the non-stored computed 'price' field had to be loaded
for every product.product record.
2017-08-18 14:55:48 +02:00
Joren Van Onder 80f4230a4e [FIX] point_of_sale: end lines with semicolons 2017-08-18 14:55:48 +02:00
Joren Van Onder 757bf105ef [IMP] point_of_sale: user selection code style 2017-08-18 14:55:48 +02:00
Joren Van Onder f86fd1c249 [IMP] point_of_sale: show currently selected item in selection widget
Before this the user was unable to see what value was currently
selected in the selection widget (used for selecting users and fiscal
positions). This implements support for an optional 'is_selected'
function which gets an item from 'list' as a parameter and should
return true when the item is currently selected.

This also removes the fiscal position name from the fiscal position
button because there wasn't much room on the button to fit the name
and with this feature that information is redundant.
2017-08-18 14:55:48 +02:00