|
@ -26,31 +26,31 @@ class ResConfigSettings(models.TransientModel): |
|
|
"""Used to add new fields to the settings""" |
|
|
"""Used to add new fields to the settings""" |
|
|
_inherit = "res.config.settings" |
|
|
_inherit = "res.config.settings" |
|
|
|
|
|
|
|
|
customer_details = fields.Boolean(String=" Customer Details", |
|
|
customer_details = fields.Boolean(String="Customer Details", |
|
|
Help="By Enabling the customer details" |
|
|
Help="By Enabling the customer details" |
|
|
" in pos receipt", |
|
|
" in pos receipt", |
|
|
config_parameter="pos_receipt_extend.customer_details") |
|
|
config_parameter="pos_receipt_extend.customer_details") |
|
|
customer_name = fields.Boolean(String=" Customer Name", |
|
|
customer_name = fields.Boolean(String="Customer Name", |
|
|
Help="By Enabling the customer name " |
|
|
Help="By Enabling the customer name " |
|
|
"in pos receipt", |
|
|
"in pos receipt", |
|
|
config_parameter="pos_receipt_extend.customer_name") |
|
|
config_parameter="pos_receipt_extend.customer_name") |
|
|
customer_address = fields.Boolean(String=" Customer Address", |
|
|
customer_address = fields.Boolean(String="Customer Address", |
|
|
Help="By Enabling the customer Address " |
|
|
Help="By Enabling the customer Address " |
|
|
"in pos receipt", |
|
|
"in pos receipt", |
|
|
config_parameter="pos_receipt_extend.customer_address") |
|
|
config_parameter="pos_receipt_extend.customer_address") |
|
|
customer_mobile = fields.Boolean(String=" Customer Mobile", |
|
|
customer_mobile = fields.Boolean(String="Customer Mobile", |
|
|
Help="By Enabling the customer mobile " |
|
|
Help="By Enabling the customer mobile " |
|
|
"in pos receipt", |
|
|
"in pos receipt", |
|
|
config_parameter="pos_receipt_extend.customer_mobile") |
|
|
config_parameter="pos_receipt_extend.customer_mobile") |
|
|
customer_phone = fields.Boolean(String=" Customer Phone", |
|
|
customer_phone = fields.Boolean(String="Customer Phone", |
|
|
Help="By Enabling the customer phone " |
|
|
Help="By Enabling the customer phone " |
|
|
"in pos receipt", |
|
|
"in pos receipt", |
|
|
config_parameter="pos_receipt_extend.customer_phone") |
|
|
config_parameter="pos_receipt_extend.customer_phone") |
|
|
customer_email = fields.Boolean(String=" Customer Email", |
|
|
customer_email = fields.Boolean(String="Customer Email", |
|
|
Help="By Enabling the customer email " |
|
|
Help="By Enabling the customer email " |
|
|
"in pos receipt", |
|
|
"in pos receipt", |
|
|
config_parameter="pos_receipt_extend.customer_email") |
|
|
config_parameter="pos_receipt_extend.customer_email") |
|
|
customer_vat = fields.Boolean(String=" Customer Vat", |
|
|
customer_vat = fields.Boolean(String="Customer Vat", |
|
|
Help="By Enabling the customer vat details " |
|
|
Help="By Enabling the customer vat details " |
|
|
"in pos receipt", |
|
|
"in pos receipt", |
|
|
config_parameter="pos_receipt_extend.customer_vat") |
|
|
config_parameter="pos_receipt_extend.customer_vat") |
|
|