Setup Other: Difference between revisions

Jump to navigation Jump to search
MAIN_STORE_COMPUTED_EXTRAFIELDS
mNo edit summary
Tag: 2017 source edit
(MAIN_STORE_COMPUTED_EXTRAFIELDS)
Line 229: Line 229:
*'''MAIN_FREE_PRODUCT_CHECKED_BY_DEFAULT ►''' Check "product" or "service" by default on order/invoices/propal cards (set value "product" or "service")
*'''MAIN_FREE_PRODUCT_CHECKED_BY_DEFAULT ►''' Check "product" or "service" by default on order/invoices/propal cards (set value "product" or "service")
*'''MAIN_LINK_BY_REF ►''' Allow to link documents by choosing the type and ref from the object linked option
*'''MAIN_LINK_BY_REF ►''' Allow to link documents by choosing the type and ref from the object linked option
*'''MAIN_STORE_COMPUTED_EXTRAFIELDS ►''' when enabled, computed extrafields have their formula result evaluated and persisted to the database on save (instead of the default behavior where the formula is re-evaluated on the fly at each display and the column is left null).


'''Official supported option'''
'''Official supported option'''
Line 234: Line 235:
The following options are not hidden option. They are available by default from the interface.
The following options are not hidden option. They are available by default from the interface.


*'''MAIN_ONLY_LOGIN_ALLOWED ►''' Activate maintenance mode and set user that is allowed to login. Value must be user login. Available into menu Home - Admin tools - User session, it is filled with admin user when clicking on button "Block other session".
*'''MAIN_ONLY_LOGIN_ALLOWED ►''' Activate maintenance mode and set user that is allowed to login. Value must be user login. Available into menu Home - Admin tools - User session, it is filled with admin user when clicking on button "Block other session". Enable <code>MAIN_STORE_COMPUTED_EXTRAFIELDS</code> when you need to sort, filter, sum or report on a computed extrafield's value in SQL/lists: instead of recalculating the formula on every display (leaving the column null), it stores the result in the database on each save, at the cost of the value being a snapshot that only refreshes when the record is saved again.


[[#Top|(back to top)]]
[[#Top|(back to top)]]
Line 1,008: Line 1,009:


=Stripe=
=Stripe=
*'''STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION''' ► 1 is the default mode and will use the native Stripe form for the checkout (with card only), 2 will use the native Stripe form (PaymentElement complete, multi payment modes). Note that STRIPE_USE_NEW_CHECKOUT is an abandonned alternative (so no more NEW, that does not bring real added value)
*'''STRIPE_USE_INTENT_WITH_AUTOMATIC_CONFIRMATION''' ► 1 is the default mode and will use the native Stripe form for the checkout (with card only), 2 will use the native Stripe form (PaymentElement complete, multi payment modes). Note that STRIPE_USE_NEW_CHECKOUT is an abandonned alternative (so no more NEW, that does not bring real added value)


417

edits

Navigation menu