Add type product/service in type of expense report

This commit is contained in:
Laurent Destailleur 2018-03-26 14:52:20 +02:00
parent 6efa1560b9
commit e9c4ae8f01
2 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,8 @@ DROP TABLE llx_c_accountingaccount;
-- For 8.0 -- For 8.0
ALTER TABLE llx_c_type_fees ADD COLUMN llx_c_type_fees integer DEFAULT 0;
ALTER TABLE llx_product_fournisseur_price DROP COLUMN unitcharges; ALTER TABLE llx_product_fournisseur_price DROP COLUMN unitcharges;
ALTER TABLE llx_societe ADD COLUMN fk_entrepot integer DEFAULT 0; ALTER TABLE llx_societe ADD COLUMN fk_entrepot integer DEFAULT 0;

View File

@ -16,6 +16,7 @@
-- You should have received a copy of the GNU General Public License -- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>. -- along with this program. If not, see <http://www.gnu.org/licenses/>.
-- --
-- Type of expense report
-- ======================================================================== -- ========================================================================
create table llx_c_type_fees create table llx_c_type_fees
@ -23,6 +24,7 @@ create table llx_c_type_fees
id integer AUTO_INCREMENT PRIMARY KEY, id integer AUTO_INCREMENT PRIMARY KEY,
code varchar(12) NOT NULL, code varchar(12) NOT NULL,
label varchar(30), label varchar(30),
type integer DEFAULT 0, -- 0=type product, 1=type service
accountancy_code varchar(32) NULL, accountancy_code varchar(32) NULL,
active tinyint DEFAULT 1 NOT NULL, active tinyint DEFAULT 1 NOT NULL,
module varchar(32) NULL, module varchar(32) NULL,