Laurent Destailleur
d2af03856c
Merge pull request #15808 from FHenry/12.0
...
fix: colspan balance accountanty
2020-12-27 13:56:07 +01:00
Florian HENRY
7d1d588225
fix service right problem for mass action
2020-12-23 23:48:45 +01:00
Laurent Destailleur
8658f903fa
FIX Must delete extrafields before main table on product deletion.
2020-12-23 15:00:25 +01:00
Laurent Destailleur
31790e255c
Merge pull request #15756 from zuiko/patch-1
...
Update V12 fournisseurs.php to Fix #15755 Product: purchase price tab, supplier price table with list of products not "responsive"
2020-12-19 14:56:16 +01:00
Laurent Destailleur
73dfa7d44a
Try a better fix for #15770
2020-12-17 14:37:02 +01:00
zuiko
943f1022c0
Update fournisseurs.php
...
Product: purchase price tab, the supplier price table with its list of products is not "responsive", as a result, the right-clickable areas, including the "Add purchase price" button, disappear to the right of the screens that are not full HD which forces the user to drag his window with the mouse.
The solution is to change the CSS class of the table to adopt the CSS class of the equivalent table of the selling price tab, which is "responsive" to it.
We therefore replace :
print '<table class="centpercent list">';
by :
print '<table class="noborder centpercent">';
Knowing that the class is used in 24 files, there might be other places where this class poses the same ergonomic problem. I don't know enough Dolibarr to generalize the correction ...
2020-12-15 09:26:27 +01:00
Laurent Destailleur
51128c1d55
Merge pull request #15692 from ATM-Consulting/FIX/12.0_regression_basic_html_tags_no_longer_allowed_in_product_label
...
FIX 12.0 - XSS protection too stringent -> replace 'alphanohtml' with 'restricthtml'
2020-12-08 22:09:27 +01:00
Florian Mortgat
617c9f7ea9
FIX: enable HTML in product labels depending on conf MAIN_SECURITY_ALLOW_UNSECURED_LABELS_WITH_HTML
2020-12-08 09:30:31 +01:00
Laurent Destailleur
669205af1c
Update product.class.php
2020-12-07 19:02:49 +01:00
Florian Mortgat
f871ade545
FIX 12.0 - the stringent XSS prodection provided by 'alphanohtml' causes problems with some clients who used basic tags (bold, italic, underline) in product labels. Using 'restricthtml' instead could be a good compromise.
2020-12-07 15:15:41 +01:00
Frans Bosman
7ad70c7c21
Update product.class.php
...
Added Hidden Option STOCK_DEFAULT_BATCH, in order to replace the default '000000' batchnumber for the existing stock when batchnumbers are enabled for a product.
2020-12-07 14:33:44 +01:00
Laurent Destailleur
c1b6e58bbd
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
2020-12-04 19:12:22 +01:00
Francis Appels
223205cf9d
Fix volume calcution, depends on surface not surface_units
...
surface_unit can be 0 for m2
2020-12-04 16:54:40 +01:00
Laurent Destailleur
5ed2bbb204
Fix error message
2020-11-27 16:13:27 +01:00
Laurent Destailleur
ac3c129735
Clean code
2020-11-27 14:24:15 +01:00
Laurent Destailleur
faa33f2d3c
FIX #15501
2020-11-24 12:52:39 +01:00
Laurent Destailleur
9cb5673c36
Fix remove var_dump
2020-11-23 19:46:24 +01:00
Laurent Destailleur
c5278197fb
More phpunit test for price2num
2020-11-23 19:45:11 +01:00
Laurent Destailleur
e7dbc8407f
FIX formating of prices with foreign languages
2020-11-23 19:08:26 +01:00
Laurent Destailleur
4ae121d870
FIX Can't create shipment for virtual product. Add
...
STOCK_EXCLUDE_VIRTUAL_PRODUCTS as a quick hack to solve this.
2020-11-16 19:43:45 +01:00
Laurent Destailleur
6080e5335f
Minor fix
2020-11-05 12:56:20 +01:00
Laurent Destailleur
45f834cb15
FIX #15199
2020-11-01 15:20:33 +01:00
Laurent Destailleur
f02a35d398
Fix bad array when year is not defined into graph stat of products
2020-10-28 16:47:00 +01:00
Laurent Destailleur
6363a6cd60
Fix sanitize
2020-10-28 14:11:46 +01:00
Laurent Destailleur
47dfe633f9
Fix filter on date on statistics of products
2020-10-28 13:19:35 +01:00
Laurent Destailleur
f18a13b2d4
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/product/class/productcustomerprice.class.php
2020-10-26 19:08:11 +01:00
Laurent Destailleur
78a52eda96
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
...
Conflicts:
htdocs/main.inc.php
htdocs/product/class/productcustomerprice.class.php
2020-10-26 19:05:30 +01:00
Marc de Lima Lucio
3f839c2a96
FIX: product customer prices: missing triggers in CRUD class
2020-10-26 16:11:21 +01:00
Laurent Destailleur
a17c391efe
Merge branch '11.0' of git@github.com:Dolibarr/dolibarr.git into 12.0
...
Conflicts:
htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php
htdocs/product/composition/card.php
2020-10-22 17:38:48 +02:00
Laurent Destailleur
cfcac7e053
Merge branch '10.0' of git@github.com:Dolibarr/dolibarr.git into 11.0
...
Conflicts:
htdocs/core/lib/functions2.lib.php
2020-10-22 17:34:48 +02:00
Laurent Destailleur
3369379ba1
Update card.php
2020-10-22 16:34:23 +02:00
Marc de Lima Lucio
34dd486b6c
FIX: virtual products: displayed value is by unit
2020-10-22 16:18:37 +02:00
Marc de Lima Lucio
a232a19e7d
FIX: virtual products: supplier discount was not applied in component list
2020-10-22 15:16:33 +02:00
stickler-ci
e558dc3f27
Fixing style errors.
2020-10-01 07:48:24 +00:00
John Botella
c16cd91d8e
FIX default accountancy values and posted values
2020-10-01 09:40:11 +02:00
Florian Mortgat
4c6b0ed5b5
FIX 12.0 - round value of virtual stock on product stock reassort list
2020-09-14 10:49:44 +02:00
Laurent Destailleur
d0698735d6
Update product.class.php
2020-09-14 00:14:25 +02:00
DEMAREST Maxime (Indelog)
1c523abbd8
Fix: getLabelOfUnit() for Product, CommonObjectline to print long label
...
Also add $type = 'code' for return unit code in form 'unitXX' (where XX
is the code of unit).
for get return like unitXX where XX is the code of unit
2020-09-13 07:44:30 +02:00
DEMAREST Maxime (Indelog)
e41afeacf4
Fix: short label of unit in Product::getLabelOfUnit
2020-09-11 15:34:11 +02:00
Florian Mortgat
4a60725f6c
FIX: round stock value on product list
2020-09-08 16:42:41 +02:00
Laurent Destailleur
a2db403abe
Fix phpcs
2020-09-04 22:44:31 +02:00
Laurent Destailleur
2e7f588cac
FIX using decimal on stock correction
...
Conflicts:
htdocs/product/stock/product.php
2020-09-04 19:38:56 +02:00
Laurent Destailleur
e21b3f6681
FIX bad route url to delete subproduct with API
2020-09-04 13:23:11 +02:00
Alexandre SPANGARO
142ce7c03f
Fix Missing language key
2020-08-21 04:58:21 +02:00
Laurent Destailleur
68b6fdb508
Fix missing tags
2020-08-17 19:48:05 +02:00
Laurent Destailleur
0245eb102c
Fix css on fields that are not mandatory
2020-08-17 19:44:06 +02:00
Laurent Destailleur
056a503200
Merge branch '11.0' of https://github.com/dolibarr/dolibarr into 12.0
...
Conflicts:
htdocs/product/composition/card.php
2020-08-14 11:06:39 +02:00
Laurent Destailleur
b5749af5b4
Merge pull request #14379 from fappels/12_fix_search_stock_list
...
FIX filter warehouse list on status
2020-08-08 02:25:54 +02:00
Francis Appels
dec0e418e3
Convert search key status to class key statut.
...
Add comment to refactor class statut to class status
2020-08-07 15:11:36 +02:00
Laurent Destailleur
dd773d33fd
Fix phpcs
2020-08-07 14:57:52 +02:00