Joren Van Onder
61d830c302
[IMP] website_quote: add option to save payment token
...
The form_save payment type is used by acquirers (currently only ogone)
to return a reusable payment token on successful payments. These can
then be used to charge the customer again.
2016-07-01 14:45:37 +02:00
Joren Van Onder
303e585371
[IMP] website_*: consolidate some duplicate payment logic
...
website_sale and website_quote both did their own
form_feedback. This causes issues because:
1. it would force upcoming features to have to be duplicated as well
2. there's a risk that improvements/bug fixes will only be applied to
one module, an example of this happening is
46c5f93b6c .
2016-06-17 13:09:18 +02:00
Damien Bouvy
654237b43c
[FIX] website_quote: test uses field that doesn't exist
...
Or at least doesn't exist anymore.
2016-06-17 08:33:07 +02:00
Christophe Simonis
dda0d3d62d
[MERGE] forward port of branch saas-10 up to baf494c
...
# Conflicts:
# addons/hr_timesheet/project_timesheet.py
# addons/sale_layout/i18n/es_PE.po
# addons/sale_layout/i18n/hu.po
# addons/sale_layout/i18n/lo.po
# addons/sale_layout/i18n/pl.po
# addons/sale_service/i18n/es_MX.po
# addons/sale_service/i18n/es_PE.po
# addons/sale_service/i18n/lo.po
# addons/stock/stock.py
# addons/stock/stock_view.xml
# addons/warning/i18n/es_PE.po
# addons/warning/i18n/lo.po
# addons/warning/i18n/ru.po
# addons/web/i18n/cs.po
# addons/web/i18n/ja.po
# addons/web/i18n/lo.po
# addons/web/i18n/th.po
2016-06-15 12:59:39 +02:00
Christophe Simonis
baf494c67b
[MERGE] forward port of branch saas-9 up to 1d81bb0
...
# Conflicts:
# addons/account_extra_reports/i18n/ca.po
# addons/account_extra_reports/i18n/fi.po
# addons/account_extra_reports/i18n/pl.po
# addons/account_extra_reports/i18n/te.po
# addons/account_extra_reports/i18n/zh_CN.po
# addons/account_full_reconcile/i18n/hu.po
# addons/account_full_reconcile/i18n/pl.po
# addons/crm/crm_lead_menu.xml
# addons/crm_claim/i18n/es_PE.po
# addons/crm_claim/i18n/hu.po
# addons/crm_claim/i18n/ja.po
# addons/crm_claim/i18n/pl.po
# addons/delivery/views/delivery_view.xml
# addons/product/product_view.xml
# addons/project_timesheet/i18n/es_PE.po
# addons/stock/stock_view.xml
2016-06-15 12:40:59 +02:00
Christophe Simonis
f9072c789d
[MERGE] forward port of branch 9.0 up to bfbe2d6
...
# Conflicts:
# addons/marketing/i18n/es_PE.po
# addons/marketing/i18n/hu.po
2016-06-14 19:27:16 +02:00
Christophe Simonis
bfbe2d6e6d
[MERGE] forward port of branch saas-6 up to df95b1f
...
The changes in `l10n_es` [1] have been ignored. They will be ported to
the new accouting later.
[1] See 730890f369 and e3e5cfe82c
2016-06-14 19:22:21 +02:00
Christophe Simonis
e35b57d6f5
[MERGE] forward port of branch 8.0 up to 26b3501
...
# Conflicts:
# addons/procurement/procurement.py
2016-06-10 12:23:34 +02:00
Goffin Simon
d0d3ba921d
[FIX] website_quote: delay in SO line
...
When creating an SO line with a quotation template, the customer
lead time must be set.
opw:678039
2016-06-08 14:17:40 +02:00
Christophe Simonis
ac5023060c
[MERGE] forward port of branch saas-10 up to 2f948c7
2016-06-08 12:19:23 +02:00
Christophe Simonis
2f948c76aa
[MERGE] forward port of branch saas-9 up to 3ed483c
2016-06-07 19:45:02 +02:00
Christophe Simonis
3ed483caa1
[MERGE] forward port of branch 9.0 up to fa4a371
2016-06-07 19:21:18 +02:00
Olivier Dony
af47009815
[FIX] website_{quote,sale}: payment tx handling consistency
...
Both website_sale and website_quote have logic to independently
confirm sales orders when a successful payment transaction is
processed.
Rev 46c5f93b6c introduced an extra
check and logging for transactions with mismatching amounts in
website_sale, but the same change was not done in website_quote.
Consequently, when both modules were installed, the tx mismatch
check was bypassed by website_quote, and a spurious logging message
was emitted by website_sale if the website_quote logic had executed
first.
This patch makes tx handling consistent in both modules, and avoids
the misleading log message when both modules are installed.
2016-06-07 16:29:52 +02:00
Christophe Simonis
2dcbdd0778
[MERGE] forward port of branch saas-10 up to bb8f0f1
2016-04-25 15:48:31 +02:00
Christophe Simonis
bb8f0f1fc3
[MERGE] forward port of branch saas-9 up to 4d337f7
2016-04-25 14:43:44 +02:00
Christophe Simonis
73fbadf8ae
[MERGE] forward port of branch 9.0 up to 7c04420
2016-04-19 12:58:55 +02:00
Goffin Simon
f8d3882173
[FIX] website_quote: _onchange_product_uom
...
on_change_product_id and product_uom_change have been removed in the
sale.quote.option views.
2016-04-13 10:09:26 +02:00
Christophe Simonis
9b5ba8b238
[MERGE] forward port of branch saas-10 up to 21c7ef8
2016-04-12 12:38:02 +02:00
Christophe Simonis
21c7ef8bf5
[MERGE] forward port of branch saas-9 up to eb44341
2016-04-12 11:56:44 +02:00
Christophe Simonis
eb443410ff
[MERGE] forward port of branch 9.0 up to afba8ce
2016-04-12 11:12:57 +02:00
Goffin Simon
0dbdbf136e
[FIX] website_quote: onchange for product with sale.quote.option
...
The on_change_product_id defined for sale.quote.option has been removed
in the form view.
opw:673285
2016-04-12 10:38:31 +02:00
Christophe Simonis
79976bd779
[MERGE] forward port of branch saas-10 up to 6e95659
2016-04-01 19:10:34 +02:00
Christophe Simonis
6e95659a08
[MERGE] forward port of branch saas-9 up to f4d1adc
2016-04-01 18:51:55 +02:00
Olivier Dony
d3c93a838b
[FIX] website_quote: spellchecking
2016-04-01 17:04:47 +02:00
Christophe Simonis
6c8141a1df
[MERGE] forward port of branch saas-10 up to 2483327
2016-04-01 16:15:35 +02:00
Denis Ledoux
d26460a96a
[MERGE] forward port of branch saas-7 up to 8397003
2016-04-01 15:54:34 +02:00
Denis Ledoux
8397003028
[MERGE] forward port of branch 9.0 up to 895e77a
2016-04-01 15:54:10 +02:00
Denis Ledoux
895e77a336
[FIX] website_quote: utility method to determine the transaction type of an order
...
The transaction `type` of an order can depend according
to the order.
For instance, if the order leads to recurring payments,
the transaction type became `form_save`
instead of `form`.
This new method allow to easily override this `type` value
for other modules, so the entire button
rendering code does not have to be
copy/pasted.
2016-04-01 14:50:10 +02:00
Julien Louette
293c1c06e6
[IMP] website_quote: adding layout categories to website quotations
2016-03-25 11:34:26 +01:00
Srushti Patel
91e8de0b05
[ADD] website_quote: Allow reordering of suggested products on quotations
...
This commit adds a sequence field on suggested products, allowing to arrange the order in which the suggested products will appear on the quotation
2016-03-25 10:26:17 +01:00
Christophe Simonis
ddb0fb2739
[MERGE] forward port of branch saas-9 up to 59d3f63
2016-03-24 16:53:45 +01:00
Christophe Simonis
59d3f63c58
[MERGE] forward port of branch saas-7 up to 9e4157b
2016-03-24 15:12:00 +01:00
Martin Trigaux
b54b888305
[MERGE] Forwardport of branch 9.0 up to revision 87578177
2016-03-22 14:30:21 +01:00
Goffin Simon
a706ada628
[FIX] sale, sale_stock, website_quote: delivery lead time with website quote
...
The related customer_lead of each product in a SO line must be set when a
quotation template is used in a SO.
opw:671938
2016-03-21 09:43:32 +01:00
qdp-odoo
7a3d63b377
[MERGE] forward port of branch saas-7 up to revision 71d16a369e
2016-03-16 10:27:19 +01:00
Denis Ledoux
6e09293b7d
[MERGE] forward port of branch 9.0 up to 8e69043
2016-03-11 11:42:43 +01:00
Damien Bouvy
161e85a1dc
[FIX] website_quote: do not force send the quotation in case of payment error
...
Mirror code, mirror fix: 84573fe
2016-03-04 15:37:39 +01:00
Damien Bouvy
48a30be234
[FIX] website_quote: set default template on new SOs
...
Commit 7270780 removed the default for the 'template_id' field,
but other modules assumes SOs are created with it. If not, you
cannot view the quote in the frontend and if you change the template
afterward, you lose all the lines currently in the quote. This commit
restores the behaviour from 9.0.
Since the commit that removed them did not mention why it did (not
even remotely), I'll assume it was unintentional and/or not thought
through.
2016-03-02 09:37:30 +01:00
Christophe Simonis
60c9cac46b
[MERGE] forward port of branch saas-9 up to 87a01c7
2016-02-17 18:07:21 +01:00
Christophe Simonis
87a01c75ef
[MERGE] forward port of branch saas-7 up to 5be43b8
2016-02-17 18:01:11 +01:00
Christophe Simonis
5be43b8d9a
[MERGE] forward port of branch 9.0 up to 27058c4
2016-02-17 17:48:03 +01:00
Damien Bouvy
36e681cbe5
[FIX] website_quote: sales order do not use workflow any longer
...
+ old message_post call with wrong kwargs.
2016-02-16 11:29:08 +01:00
Christophe Simonis
04416a5a6f
[MERGE] forward port of branch saas-9 up to 469e04e
2016-02-02 14:55:52 +01:00
Christophe Simonis
469e04e97c
[MERGE] forward port of branch saas-8 up to 2611a81
2016-02-02 14:52:15 +01:00
Christophe Simonis
2611a8198e
[MERGE] forward port of branch saas-7 up to e765569
2016-02-02 14:48:31 +01:00
Christophe Simonis
e765569d04
[MERGE] forward port of branch 9.0 up to f0a63e5
2016-02-02 14:44:39 +01:00
Damien Bouvy
a7c664fb6c
[FIX] website_quote: handling of uoms in _onchange_product_id
...
The condition self.uom_id != self.product_id.uom_id could actually
never be met, since a few lines before you could read
self.uom_id = product.product_tmpl_id.uom_id. From now on, simply
check if the uom_id on the cached record is different from the one
on the product and check the price using the pricelist (_compute_price
does not take pricelists into account) with the wonderfully explicit
with_context call.
2016-02-02 14:23:09 +01:00
Christophe Simonis
1231585df1
[MERGE] forward port of branch saas-9 up to 78d20b5
2016-01-27 12:27:01 +01:00
Christophe Simonis
78d20b552b
[MERGE] forward port of branch saas-8 up to 7e44ddc
2016-01-27 12:24:04 +01:00
Christophe Simonis
7e44ddcda3
[MERGE] forward port of branch saas-7 up to 6f923cb
2016-01-27 12:23:09 +01:00