Add forget files last commit
This commit is contained in:
parent
6a254fd0e4
commit
8f1b03e5f3
|
@ -0,0 +1,18 @@
|
||||||
|
#This file is part sale_rule module for Tryton.
|
||||||
|
#The COPYRIGHT file at the top level of this repository contains
|
||||||
|
#the full copyright notices and license terms.
|
||||||
|
from trytond.model import fields
|
||||||
|
from trytond.pool import PoolMeta
|
||||||
|
|
||||||
|
__all__ = ['SaleShop']
|
||||||
|
__metaclass__ = PoolMeta
|
||||||
|
|
||||||
|
|
||||||
|
class SaleShop:
|
||||||
|
__name__ = 'sale.shop'
|
||||||
|
apply_rules = fields.Boolean('Apply Rules',
|
||||||
|
help='Apply rules when change draft to quotation.')
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def default_apply_rules():
|
||||||
|
return True
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!-- This file is part sale_rule module for Tryton.
|
||||||
|
The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
||||||
|
<tryton>
|
||||||
|
<data>
|
||||||
|
<record model="ir.ui.view" id="sale_shop_view_form">
|
||||||
|
<field name="model">sale.shop</field>
|
||||||
|
<field name="inherit" ref="sale_shop.sale_shop_view_form"/>
|
||||||
|
<field name="name">sale_shop_form</field>
|
||||||
|
</record>
|
||||||
|
</data>
|
||||||
|
</tryton>
|
Loading…
Reference in New Issue